红联Linux门户
Linux帮助

关于软件安装问题

发布时间:2008-03-23 11:27:16来源:红联作者:badboy1201
请教一下高手 安装软件时输入完./configure后 再输入make 提示为 make: *** 没有指明目标并且找不到 makefile。 停止
遇到这样问题该如何解决:0wl;l1 :0wl;l1 :0wl;l1
文章评论

共有 4 条评论

  1. Cp. 于 2008-03-24 21:38:52发表:

    偶也遇到过和楼主一样的情况哇~~~~~~~~:0w223dc
    偶安装Linux选择的是“个人桌面”安装的,在安装源码包程序的时候,一般要用到 ./configure ,make , makeinstall 这类命令时,没gcc 这类东西呀;安装Linux要选择“工作站”才可以呀。安装Linux应该选择什么呀,应该怎么做呀?
    (6)m:b

  2. badboy1201 于 2008-03-24 21:16:24发表:

    gistjoe太感谢你指导,:0wpoi2 :0wpoi2 :0wpoi2

  3. chmg 于 2008-03-23 14:40:54发表:

    我原来也用过,就是不太明白这些都是什么含义。

  4. gistjoe 于 2008-03-23 12:35:44发表:

    编译时找不到makefile的解决办法

    在用./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-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 没有在出现错误,这次成功的声称了makefile
    然后在
    make
    make install
    成功安装软件。
    如果在./configure中还出现问题,那么要找到问题所在,安装缺失的包 即可
    在配置过程中,config.log文件是很有帮助的。 我们可以在这里面找出错误的根源,从而寻找应对措施。