红联Linux门户
Linux帮助

各位能不能看看这个运行结果的错误 怎么该,谢谢

发布时间:2013-01-22 20:10:27来源:红联作者:liubing19900501
liubing@liubing-Lenovo-G450:~/桌面/xgrafix/xgrafix$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
Using C++ compiler g++
Using C compiler gcc
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking whether time.h and sys/time.h may both be included... yes
checking for BSD-compatible nm...
install-sh/usr/bin/nm -B
Setting the flags per system and C++ compiler: g++
checking for g++... /usr/bin/g++
Serial C++ compiler is `g++'
checking g++ version... g++
configure: WARNING: Caution: version is not known to work.
checking for -fsquangle... no
checking how to build libraries... with ar cr
checking for gcc... /usr/bin/gcc
Serial C compiler is `gcc'
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether c++ compiler supports exception handling... yes
checking whether c++ compiler supports typename... yes
checking whether c++ compiler can explicitly instantiate templates... yes
checking whether c++ compiler supports RTTI... yes
checking whether c++ compiler supports namespaces... yes
checking whether c++ compiler has complex in the namespace std... yes
checking whether c++ compiler has streams in the namespace std... yes
checking whether c++ compiler can overload const type conversions... yes
checking whether c++ compiler knows mutable... yes
checking whether template friends need brackets... yes
checking whether nontype template operators are allowed... no
checking whether static variables can be declared generally... yes
configure: WARNING: Fortran libraries will be invalid.
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for ranlib... ranlib
checking what the library suffix is... .a
checking how to install libraries... with ${INSTALL} -m 644
configure: WARNING: x11.m4 is obsolete. Please use AC_PATH_X or AC_PATH_XTRA.
checking for X11/Xlib.h... /usr/include/X11/Xlib.h
checking for libX11.a... no
checking for libX11.so... no
configure: error: Unable to find libX11.a or libX11.so in /usr/lib32:/usr/X11R6/lib:/usr/lib:/usr/local/lib:/lib:/usr/X11/lib:/usr/openwin/lib:/usr/dt/lib:/usr/lib/lightdm/lightdm:/u
文章评论

共有 7 条评论

  1. yehg01 于 2013-01-23 23:02:45发表:

    libx11-dev应该有这个库,位置跟你描述的略有不一样,我是debian系统:
    root@YEHG01:/tmp# dpkg -L libx11-dev |grep libX11
    /usr/share/doc/libx11-dev/libX11.pdf.gz
    /usr/share/doc/libx11-dev/libX11.txt.gz
    /usr/lib/libX11.a
    /usr/lib/libX11.so
    你自己查一下,还有configure的时候看看有没有库的参数可选

  2. txgc_wm 于 2013-01-23 21:32:18发表:

    借助新得立看看或者重新安装一下!

  3. liubing19900501 于 2013-01-23 20:29:29发表:

    locate确实没有,但是我也确实安装了 不知到怎么回事

  4. 消失的光年 于 2013-01-23 20:01:08发表:

    那你就查找下这两个文件在哪里 libX11.a or libX11.so
    可以使用locate 命令查找

  5. liubing19900501 于 2013-01-23 15:20:04发表:

    我已经安装里libx11-dev了 还是这个问题,我用的是ubuntu12.04

  6. beautiful 于 2013-01-22 21:48:46发表:

    同楼上

  7. yehg01 于 2013-01-22 21:47:21发表:

    缺少依赖了,ubuntu或debian的话就试试sudo apt-get install libx11-dev,再重新configure