LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1254|回复: 5

imlib-1.9.15出错啦^_^

[复制链接]
发表于 2005-11-28 17:11:41 | 显示全部楼层 |阅读模式
root:imlib-1.9.15#./configure --prefix=/usr/ --sysconfdir=/etc/imlib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
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... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gtk-config... no
checking for GTK - version >= 1.2.1... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: WARNING: *** gdk_imlib will not be built ***
checking whether to build gmodulized imlib... yes
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/wait.h that is POSIX.1 compatible... yes
checking return type of signal handlers... void
checking for vsnprintf... yes
checking for snprintf... yes
checking for basename... yes
checking for blumfrub... no
checking for buckets_of_erogenous_nym... no
checking for buttox... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for X... no
checking for XShmAttach in -lXext... no
checking for XShmAttach in -lXextSam... no
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking whether shmctl IPC_RMID allowes subsequent attaches... yes
checking X11/extensions/XShm.h... no
checking for jpeg_destroy_decompress in -ljpeg... no
configure: error: *** JPEG library not found ***

check就出错拉!郁闷
root:imlib-1.9.15#ls -al /usr/lib |grep jpeg
-rw-r--r--  1 root root  166456 Nov 28 16:20 libjpeg.a
-rwxr-xr-x  1 root root     470 Nov 28 16:20 libjpeg.la
lrwxrwxrwx  1 root root      17 Nov 28 16:20 libjpeg.so -> libjpeg.so.62.0.0
lrwxrwxrwx  1 root root      17 Nov 28 16:20 libjpeg.so.62 -> libjpeg.so.62.0.0
-rwxr-xr-x  1 root root  141989 Nov 28 16:20 libjpeg.so.62.0.0

这个,不知道是缺少那个JPEG library
发表于 2005-11-28 17:21:53 | 显示全部楼层
Imlib Dependencies
Required

GTK+-1.2.10, and libungif-4.1.3 or giflib-4.1.3

checking for GTK - version >= 1.2.1... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.

知道该干什么了吧:)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-28 17:33:05 | 显示全部楼层
知道了,不过gtk+1xxx要X。最后会在再弄这个吧!

BLFS的文档上怎么没说imlib以来gtk+
回复 支持 反对

使用道具 举报

发表于 2005-11-28 17:54:29 | 显示全部楼层
你看的是哪个版本的BLFS BOOK啊?我上面的是从BLFS 6.1上抄的。是不是新包有改变?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-28 19:52:54 | 显示全部楼层
我看的是svn的版本
我去瞧瞧6.1的
回复 支持 反对

使用道具 举报

发表于 2011-10-15 20:57:57 | 显示全部楼层

重新编译安装 libjpeg

configure: error: *** JPEG library not found ***

重新编译安装 libjpeg

至于 gtk 的警告,如果需要 gtk_imlib,那就安装新版的 gtk 否则就忽略这个警告。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表