在Ubuntu 上编译qt4.8.6,提示“You don't seem to have 'make' or 'gmake' in your PATH. cannot proceed".”

来源:互联网 发布:连云港 核废料 知乎 编辑:程序博客网 时间:2024/06/06 03:14
在Ubuntu 上编译qt4.8.6,提示“You don't seem to have 'make' or 'gmake' in your PATH. cannot proceed".”

用env看,make所在的路径的确已经包含在了PATH里了?
而且平时编译用MAKE都是好用的。
使用which能够看到make

$which make  返回
/usr/bin/make

后来在stackoverflow上看到了解决方法,原来是需要解压缩的时候,提供-a 选项:

It not the problem of make or gmake, nor PATH, Just because you unzip the tarball without -a option. so, to solve this problem, just use 'unzip -a *.zip', it will be fine.

按照这个办法处理后,顺利的解决了。stackoverflow上的链接在这儿 http://stackoverflow.com/questions/7353703/error-while-configuring-qt-4-6-2-on-ubuntu-you-dont-seem-to-have-make-or
0 0
原创粉丝点击