PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : GLIB - version >= 2.0.3... no



BlueFlare
03.11.03, 16:58
Hallo!

Wenn ich eine datei ./configure kommt bei mir der Fehler das mein ich keine GLIB Version mit 2.03 oder höher habe. Ich habe nachgesehen (auf CD und FTP) und festgestellt, das ich GLIB 2.2.3 Installiert habe (und auch die anderen dateien die dazu gehören). Was mache ich falsch?

Die log ist sehr lang, sorry, wird meißt benötigt um den Fehler zu finden :)


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)... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output... 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... none
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
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... /usr/bin/sed
checking for egrep... grep -E
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 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++... none
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 fl32... no
checking for af77... no
checking for fort77... 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 lf95... no
checking for g95... 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 how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i586-suse-linux/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/i586-suse-linux/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "F77" to libtool
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ranlib... (cached) ranlib
checking for strerror in -lcposix... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
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 shared library run path origin... done
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getc_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... no
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking for sed... /usr/bin/sed
checking for uname... /bin/uname
checking system type... Linux
checking for pkg-config... no
checking for GLIB - version >= 2.0.3... no
configure: error: "Cannot find glib"


bye
Blueflare

Thomas Engelke
03.11.03, 17:00
Original geschrieben von BlueFlare
Was mache ich falsch?

Du hast eine glibc-Version <= der benötigten Version oder keine glibc in den normalen Library-Suchpfaden.

AD!

BlueFlare
03.11.03, 17:16
Hmm...

Ich gehe davon aus das 2.2.3 > 2.0.x, oder? Und eine Gewisse GLIB Libary ist auch installiert, ob ich damit noch etwas machen soll oder so weiß ich allerdings nicht.
Trotzdem für die Antwort :)
bye
BlueFlare

Thomas Engelke
03.11.03, 17:24
Existiert u.U. ein Compilerflag, welches den Librarypfad übersteuern kann? ./configure --help müßte da Auskunft geben.

AD!

BlueFlare
03.11.03, 17:39
Sorry aber da komme ich nicht ganz mit. Also ich kann natürlich den Befehl eingeben aber wie ich dann nachsehe ob irgendwelche Paths preorität haben oder so erkenne ich leider nicht, da ich Linux erst seit 3 Tagen nutze.

bye
BlueFlare

Thomas Engelke
03.11.03, 17:55
Nunja, unter diesen Voraussetzungen wird eine Kompilierung einer Software schwierig. Du hast nicht zufällig vor, dir für die besagte Software ein RPM-Paket zu besorgen?

AD!

BlueFlare
03.11.03, 17:58
OK, zugegeben, das währe eine Lösung, aber so lerne ich es ja nie und komme kaum von meinem Windows *ich-mach-alles-mit-meiner-maus-ohne-was-zu-kapieren* style weg... naja trotzdem THX für die schnellen Antworten.
bye
BlueFlare

tooly
03.11.03, 19:14
Hallo BlueFlare,

prüf doch mal wo die glib installiert ist und dann sieh mal dach ob der pfad zur glib auch in /etc/ld.so.conf vorhanden ist.

Wenn ja : keine Ahnung woran es liegt
Wenn nein : Pfad zu glib in /etc/ld.so.conf eintragen und dann ldconfig ausführen

mfg
tooly

.pt
20.11.03, 13:42
Ich habe einen ähnlichen Fehler.

checking for pkg-config... /usr/local/bin/pkg-config
checking for GLIB - version >= 2.0.3...
*** 'pkg-config --modversion glib-2.0' returned 2.2.3, but GLIB (2.0.1)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error: "Cannot find glib"
debian:/home/patrick/xchat-2.0.5#


Ich habe GLIB 2.2.3 über ein tar.gz (./configure etc pp) installiert. Wie bringe ich dem jetzt bei, dass der meine 2.2.3 erkennen soll bzw wie lösche ich 2.0 ? Über apt-get geht da nicht so viel :(
Und bei 'nem locate glib krieg ich ne endloslange Liste, und weiß trotzdem nich, wo mein 2.2.3 liegt :(

thecarpy
20.11.03, 15:13
eigentlich müsste glib in /usr/bin drin sein ...

locate glib | more

die muesste wie gesagt unter /usr liegen, normalerweise - wenn ich mich richtig erinnere ...

riessi
21.11.03, 18:23
hi hatte ähnliches problem, nur dass er gemeint hat dass glib 2.2.1 gefunden wurde... hab das problem "losgebracht" indem ich die version 2.2.1 installiert hatte.... für eine Lösung bin ich da auch dankbar...

ein weiteres prioblem das ich hatte war, dass dann der paketmanaer eine fehlende glib libary reklamiert hat, welche auf einmal weg war (und wenn ich unter rpmseek suche, wo die drin ist, finde ich heraus, dass diese libary in der alten version vorhanden ist ) -glib hab ich allerdings auch nur als 1.2.4 in RPM form gefunden...

sorry dass ich nicht helfen konnte, aber ich habe ähnliches problem gehabt mit gimp kompiling (und dann kläglich aufgegeben ;) )

lg

monkey
21.11.03, 18:50
also so wie´s in der ersten fehlermeldung aussieht fehlt zuerst einmal die pkgconfig.

GonzoHH
21.11.03, 19:05
du hast in /usr/lib eine alte glib, und in /usr/local/lib die passende. mach bei der glib noch mal ein "make unistall", dann ./configure --prefix=/usr && make clean && make install

und pkg-config wirst auch brauchen, und GTK2 und pango und ATK

einfacher wärs, dass du schaust obs in deiner distri eine passende glib-devel, gtk2-devel usw findest