Linux下./configure错误详解
依赖:
sudo apt-get install libgtk2.0-dev libxml2-dev gettext libnss-dev libnspr-dev 3. 解压源代码包 tar jxvf pidgin-2.1.1.tar.bz2 cd pidgin-2.1.1 4. 编译 ./configure (建议使用 –help 查询需要用到的参数) make sudo make install 如果在 ./configure 这一步出现错误 错误一: configure: error: You must have the GTK 2.0 development headers installed to compile Pidgin. If you only want to build Finch then specify –disable-gtkui when running configure. 解决: sudo apt-get install libgtk2.0-dev 错误二: configure: error: You must have libxml2 >= 2.6.0 development headers installed to build. 解决: sudo apt-get install libxml2-dev 错误三: configure: error: The msgfmt command is required to build libpurple. If it is installed on your system, ensure that it is in your path. If it is not, install GNU gettext to continue. 解决: sudo apt-get install gettext 如果在使用 GTalk 或 MSN 时出现错误 错误: SSL Library/Libraries……… : None (MSN and Google Talk will not work without SSL!) 解决: sudo apt-get install libnss-dev libnspr-dev Ubuntu编译时找不到Makefile的解决办法ZDNet 软件频道 更新时间:2007-09-26作者: korn 来源:赛迪网 本文关键词: Ubuntu Proftp 如果是需要编译的环境,推荐安装"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 或者 用命令 #sudo 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,似乎有误. #./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 only want to build Finch then specify --disable-gtkui when running configure. 用如上同样的方法查找到缺少的包 并安装 sudo apt-get install libgtkmm2.0-dev ./configure 出现错误 checking for LIBXML... no no configure: error: You must have libxml2 >= 2.6.0 development headers installed to build. 于是安装 sudo apt-get install libxml2-dev 经过上面包的安装,在次./configure 没有再出 |
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |