configure: line syntax error near unexpected token `win32-dll'

最近编译,多次出现类似下面错误:

./configure: line 3590: syntax error near unexpected token `win32-dll'
./configure: line 3590: `LT_INIT(win32-dll)'
make: *** [builds/unix/detect.mk:91:setup] 错误 2
make:.includefreetypefreetype.h:命令未找到
config.mk:26: builds/unix/unix-cc.mk: 没有那个文件或目录
make: *** 没有规则可制作目标“builds/unix/unix-cc.mk”。 停止。
make:.includefreetypefreetype.h:命令未找到
config.mk:26: builds/unix/unix-cc.mk: 没有那个文件或目录
make: *** 没有规则可制作目标“builds/unix/unix-cc.mk”。 停止。

经过反复研究,发现是自己擅自(!)运行了autogen.sh导致的。解决办法:删除目录,重新下载编译。

发布了2538 篇原创文章 · 获赞 308 · 访问量 186万+

猜你喜欢

转载自blog.csdn.net/quantum7/article/details/104683742