红联Linux门户
Linux帮助

(急,严重的问题.)make*** 没有指明目标并且找不到 makefile。 停止。

发布时间:2008-11-01 22:44:47来源:红联作者:weikaijun
各位高手!大师!将军!斑竹!等!大家帮我解决一下这个问题!我实在是没办法了!(6)m:b (5ty( (5ty(
文章评论

共有 8 条评论

  1. 微宝贝 于 2008-11-21 23:21:07发表:

    楼主没有configure?
    configure通过才可以make(通常)
    看看你congfigure时是不是有什么错误,一般常见的是软件包的依赖问题和编译软件没有安装完整或没有安装的问题。

  2. nyyjy010 于 2008-11-21 22:02:06发表:

    [root@localhost eva]# gcc -v
    使用内建 specs。
    目标:i386-redhat-linux
    配置为:../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
    线程模型:posix
    gcc 版本 4.1.2 20071124 (Red Hat 4.1.2-42)

  3. nyyjy010 于 2008-11-21 22:01:12发表:

    我的和你一样!
    ./configure
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    checking for a BSD-compatible install... /usr/bin/install -c
    checking for -p flag to install... yes
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking dependency style of gcc... gcc3
    checking how to run the C preprocessor... gcc -E
    checking for g++... no
    checking for c++... no
    checking for gpp... no
    checking for aCC... no
    checking for CC... no
    checking for cxx... no
    checking for cc++... no
    checking for cl... no
    checking for FCC... no
    checking for KCC... no
    checking for RCC... no
    checking for xlC_r... no
    checking for xlC... no
    checking whether we are using the GNU C++ compiler... no
    checking whether g++ accepts -g... no
    checking dependency style of g++... none
    checking whether g++ supports -Wmissing-format-attribute... no
    checking whether g++ supports -Wundef... no
    checking whether g++ supports -Wno-long-long... no
    checking whether g++ supports -Wnon-virtual-dtor... no
    checking how to run the C++ preprocessor... /lib/cpp
    configure: error: C++ preprocessor "/lib/cpp" fails sanity check
    See `config.log' for more details.

  4. weikaijun 于 2008-11-01 23:53:56发表:

    用configure生成makefile 这个什么意思啊?

  5. 黑精灵 于 2008-11-01 23:21:12发表:

    你没用configure生成makefile吧

  6. lktlks 于 2008-11-01 23:19:03发表:

    搜一下

  7. weikaijun 于 2008-11-01 23:12:25发表:

    装什么软件都这样!

  8. 黑精灵 于 2008-11-01 22:57:15发表:

    什么软件,你configure没?