_TT_ Skrevet 28. oktober 2004 Del Skrevet 28. oktober 2004 Eg prøver å installere imlib2 fra kildekode. (På SuSE Pro 9.1) Eg lastet ned siste versjon fra sourceforge, pakket filen ut og kjørte configure: linux:/usr/src/packages/SOURCES/imlib2-1.1.2 # ./configure Som for meg ser ut til å fungere helt fint: checking build system type... i686-pc-linux-gnuchecking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-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 for strerror in -lcposix... no 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-1.4... missing checking for working autoconf... missing checking for working automake-1.4... missing checking for working autoheader... missing checking for working makeinfo... missing checking whether byte ordering is bigendian... no 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 ANSI C... (cached) none needed checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for a sed that does not truncate output... /usr/bin/sed checking for ld used by gcc... /usr/i586-suse-linux/bin/ld checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes checking for /usr/i586-suse-linux/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 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++... 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 how to run the C++ preprocessor... /lib/cpp 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/i586-suse-linux/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 whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes libtool.m4: error: problem compiling CXX test program checking for g++ option to produce PIC... checking if g++ supports -c -o file.o... no checking whether the g++ linker (/usr/i586-suse-linux/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 for freetype-config... /usr/bin/freetype-config checking whether fopen accepts "b" mode... yes checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include 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 dlopen in -ldl... yes checking for lt_dlopen in -lltdl... 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 checking for uncompress in -lz... yes checking for zlib.h... yes checking for BZ2_bzRead in -lbz2... yes checking for bzlib.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating loaders/Makefile config.status: creating src/Makefile config.status: creating test/Makefile config.status: creating filters/Makefile config.status: creating demo/Makefile config.status: creating doc/Makefile config.status: creating imlib2-config config.status: creating imlib2.pc config.status: creating config.h config.status: config.h is unchanged config.status: executing default-1 commands config.status: executing default commands Men når eg kjører make kommandoen: linux:/usr/src/packages/SOURCES/imlib2-1.1.2 # make Får eg følgende feilmelding: make all-recursive make[1]: Entering directory `/usr/src/packages/SOURCES/imlib2-1.1.2' Making all in src make[2]: Entering directory `/usr/src/packages/SOURCES/imlib2-1.1.2/src' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../src -I../src -I../loaders -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include -g -O2 -c scale.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../src -I../src -I../loaders -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include -g -O2 -c scale.c -fPIC -DPIC -o .libs/scale.o In file included from colormod.h:12, from scale.c:2: image.h:9:65: ltdl.h: No such file or directory In file included from colormod.h:12, from scale.c:2: image.h:117: error: parse error before "lt_dlhandle" image.h:117: warning: no semicolon at end of struct or union image.h:125: error: parse error before '}' token make[2]: *** [scale.lo] Error 1 make[2]: Leaving directory `/usr/src/packages/SOURCES/imlib2-1.1.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/packages/SOURCES/imlib2-1.1.2' make: *** [all-recursive-am] Error 2 Er det noen som kanskje kan fortelle meg hva denne feilmeldingen betyr? Lenke til kommentar
slime mold Skrevet 28. oktober 2004 Del Skrevet 28. oktober 2004 image.h:9:65: ltdl.h: No such file or directory Er det noen som kanskje kan fortelle meg hva denne feilmeldingen betyr? Installér libtool. Pakken heter simpelthen "libtool" på mitt system, men jeg vet ikke hva den heter på SUSE. Lenke til kommentar
_TT_ Skrevet 28. oktober 2004 Forfatter Del Skrevet 28. oktober 2004 Det funket fint etter eg installerte libtools, og pakken installeres uten problemer. Men har problemer med at en annen pakke eg skal installere sier den ikke finner imlib2-devel pakken. Skal ikke devel pakken bli installert og når eg kompilerer imlib2 ? Lenke til kommentar
Cronius Skrevet 28. oktober 2004 Del Skrevet 28. oktober 2004 På mitt system (archlinux) er det ikke noe som heter imlib2-devel eller lignende. Husket du å kjøre ldconfig? Lenke til kommentar
drall Skrevet 28. oktober 2004 Del Skrevet 28. oktober 2004 Om du installerer fra source selv, kan ikke pakkesystemet vite at du har installert noe som helst, og kan ikke finne programvaren. Konklusjon: Ikke bland pakkesystem og custom source install. Lenke til kommentar
_TT_ Skrevet 29. oktober 2004 Forfatter Del Skrevet 29. oktober 2004 (endret) Hmmm. Forstod ikke så mye av dette... Kjørte ldconfig ja, uten hell... Problemet er at eg skal installere ett annet program, som sier at den trenger imlib2-devel for å kunne installeres... Hvor i all verden finner eg denne da? Når eg sa pakken, så mente eg ikke rpm pakke, men mente eg brukte source. Er litt ny i linux, beklager missforståelsen. Endret 29. oktober 2004 av _TT_ Lenke til kommentar
Anbefalte innlegg
Opprett en konto eller logg inn for å kommentere
Du må være et medlem for å kunne skrive en kommentar
Opprett konto
Det er enkelt å melde seg inn for å starte en ny konto!
Start en kontoLogg inn
Har du allerede en konto? Logg inn her.
Logg inn nå