Mail Index


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [ApacheGallery] apachegallery error



On a freebsd 4.3 system, actually imlib2 never ever compiled correctly, I
had to go to imlib2-1.06/src and did a make there then do a make
install..this put the libraries.

Anyone can help diagnose what my problem may be?  I successfully compile
jpeg, libpng, edb and freetype. 



I don't know why but I always get this error when compiling

cc# make
make  all-recursive
Making all in libltdl
Making all in src
Making all in filters
Making all in doc
Making all in loaders
/bin/sh ../libtool --mode=link gcc  -g -O2 -L/usr/X11R6/lib -L../src -o
jpeg.la -rpath /usr/local/lib/loaders/image -no-undefined -module
-avoid-version loader_jpeg.lo -ljpeg -L../src -lImlib2 
rm -fr .libs/jpeg.la .libs/jpeg.* .libs/jpeg.*
gcc -shared  loader_jpeg.lo  -L/usr/X11R6/lib -L../src -ljpeg -lImlib2 -lc
-Wl,-soname -Wl,jpeg.so -o .libs/jpeg.so
/usr/libexec/elf/ld: cannot find -lImlib2
*** Error code 1

Stop in /usr/home/charlesc/imlib2-1.0.6/loaders.
*** Error code 1

Stop in /usr/home/charlesc/imlib2-1.0.6.
*** Error code 1

Stop in /usr/home/charlesc/imlib2-1.0.6.

./configure
creating cache ./config.cache
checking host system type... i386-unknown-freebsd4.3
checking target system type... i386-unknown-freebsd4.3
checking build system type... i386-unknown-freebsd4.3
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found

You are not running Linux - This script cannot auto-detect mmx assembly.
You will have to enable the mmx assembly (which gives anywhere from 10%
to 300% speedups) by adding --enable-mmx on the configure command-line.

checking whether byte ordering is bigendian... no
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for working const... yes
checking for ranlib... ranlib
checking for ld used by GCC... /usr/libexec/elf/ld
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
checking for object suffix... o
checking for executable suffix... 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 if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking whether the linker (/usr/libexec/elf/ld) supports shared
libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/libexec/elf/ld option to reload object files... -r
checking dynamic linker characteristics... freebsd4.3 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
checking for dlopen in -ldl... no
checking for dlopen... yes
checking for dlfcn.h... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
creating libtool
loading cache ./config.cache
checking if malloc debugging is wanted... no
checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking whether fopen accepts b mode... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XOpenDisplay in -lX11... yes
checking for XShmAttach in -lXext... yes
checking for XShapeCombineMask in -lXext... yes
checking for TT_Init_FreeType in -lttf... yes
checking for freetype.h... no
checking for freetype/freetype.h... yes
checking for freetype.h... (cached) no
checking for freetype/freetype.h... (cached) yes
checking for freetype1/freetype/freetype.h... no
checking for dlopen in -ldl... no
checking for jpeg_destroy_decompress in -ljpeg... yes
checking for jpeglib.h... yes
checking for png_read_info in -lpng... yes
checking for png.h... yes
checking for TIFFReadScanline in -ltiff... yes
checking for tiffio.h... yes
checking for DGifOpenFileName in -lungif... yes
checking for gif_lib.h... yes
updating cache ./config.cache
creating ./config.status
creating imlib2-config
creating Makefile
creating loaders/Makefile
creating src/Makefile
creating test/Makefile
creating filters/Makefile
creating demo/Makefile
creating doc/Makefile
creating config.h
configuring in libltdl
running /bin/sh ./configure  --enable-ltdl-convenience
--cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for working const... (cached) yes
checking for inline... inline
checking host system type... i386-unknown-freebsd4.3
checking build system type... i386-unknown-freebsd4.3
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/libexec/elf/ld
checking if the linker (/usr/libexec/elf/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
updating cache .././config.cache
loading cache .././config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... 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 if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking whether the linker (/usr/libexec/elf/ld) supports shared
libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/libexec/elf/ld option to reload object files... -r
checking dynamic linker characteristics... freebsd4.3 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache .././config.cache
loading cache .././config.cache
checking which extension is used for shared libraries... .so
checking which variable specifies run-time library path... LD_LIBRARY_PATH
checking for objdir... .libs
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... yes
checking for malloc.h... no
checking for memory.h... yes
checking for stdlib.h... yes
checking for stdio.h... yes
checking for ctype.h... yes
checking for dlfcn.h... yes
checking for dl.h... no
checking for dld.h... no
checking for string.h... yes
checking for strchr... yes
checking for strrchr... yes
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for dlopen in -ldl... (cached) no
checking for dlopen... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dld_link in -ldld... no
checking for dlerror... yes
checking command to parse /usr/bin/nm -B output... yes
checking for _ prefix in compiled symbols... (cached) no
updating cache .././config.cache
creating ./config.status
creating Makefile
creating config.h




-----Original Message-----
From: Andreas Plesner Jacobsen [mailto:[email protected]] 
Sent: Monday, February 17, 2003 2:56 PM
To: [email protected]
Subject: Re: [ApacheGallery] apachegallery error

On Mon, Feb 17, 2003 at 02:51:43PM -0500, Charles Chao wrote:

> The weird thing is that everything worked fine until I upgraded to Gallery
> ver 0.6RC1

You've probably upgraded imlib2 between upgrading A::G.
Inline only recompiles inline code when it changes. I would look closely
at my imlib2 install if I were you (are include-files corresponding
properly with the correct imlib, are libjpeg and libpng installed for
the appropriate imlib?)

-- 
Andreas Plesner Jacobsen | QED.