ubuntumakefile:Ubuntu编译时找不到Makefile的解决办法来源: 发布时间:星期四, 2008年12月4日 浏览:35次 评论:0
#如果是需要编译的环境,推荐安装"build essential"包 #sudo apt-get install "build-essential" 在用./configure ,make , makeinstall ,方法安装软件是,经常会发生发生各种错误, 而导致无法声称 makefile 现在我把我安装过程中遇到的问题以及解决办法写下来,希望对大家有点帮助 以我安装 pidgin-2.0.0为例
./configure 出现错误 :
configure: error: C compiler cannot create executables 按照错误提示安装缺少的包 sudo apt-get install libc6-dev 再次 ./configure 出现错误 checking for GLIB... no no configure: error:
You must have the GLib 2.0 development headers installed to build. 根据错误提示 用新得立 搜索 GLib 2.0 或者 用命令 apt-cache search GLib 2.0 有个包 libglib2.0-dev - Development files for the GLib library 安装 sudo apt-get install libglib2.0-dev #这里原文为libglib2.0-0-dev,似乎有误--azalea注
./configure 又出现错误 checking for X... no checking for GTK... no no configure: error:
You must have the GTK+ 2.0 development headers installed to compile Pidgin. If you _disibledevent="TEXT-INDENT: 2em">在配置过程中,config.log文件是很有帮助的。 我们可以在这里面找出错误的根源,从而寻找应对措施。 0
相关文章读者评论发表评论 |