0

我正在尝试在 CentOS 7 VM 上安装 tin。./configure 运行良好,然后当我运行 make build 时,我得到...

[user@db3 tin-2.4.5]$ make build
make[1]: Entering directory `/home/user/tin-2.4.5/src'
expect 6 shift/reduce conflicts ...
./parsdate.y
./parsdate.y: line 1: fg: no job control
./parsdate.y: line 2: /bin: Is a directory
./parsdate.y: line 3: active.c: command not found
./parsdate.y: line 4: active.c: command not found
./parsdate.y: line 5: active.c: command not found
./parsdate.y: line 6: active.c: command not found
./parsdate.y: line 7: active.c: command not found
./parsdate.y: line 8: active.c: command not found
./parsdate.y: line 9: syntax error near unexpected token `newline'
./parsdate.y: line 9: ` *              Originally written by Steven M. Bellovin <smb@research.att.com>'
make[1]: *** [parsdate.o] Error 2
make[1]: Leaving directory `/home/user/tin-2.4.5/src'
make: [build] Error 2 (ignored)

有人可以告诉我我做错了什么吗?

谢谢。

4

1 回答 1

0

我在相同的环境中遇到了完全相同的问题。

据我所知,此时您可能只需要:

./configure
make clean
make build

在安装 bison 和 chmod 777'ing parsdate.y 后重新运行 ./configure 是我修复编译错误的方法,但似乎你已经完成了 bison 部分和 chmod 部分。

于 2021-06-14T10:00:18.327 回答