Toon posts:

glib probleempie

Pagina: 1
Acties:

Verwijderd

Topicstarter
Ik krijg de volgende foutmelding bij het compilen van een proggie:
checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.0.6, 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:
*** Glib 2.0.0 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.
Ik heb inderdaad glib2.0.6 geinstalleerd hiervoor, maar hoe wis ik de oude? Waar staat deze en kan ik deze zomaar wissen of moet ik dan nog wat bestanden aanpassen?

Verwijderd

als jij glibc veranderd dan moet je ALLES Recompilen of dit laten staan. tenzij je het goed aanpakt met symlinks enzo.. en dan maar hopen dat het compatible is met de vorige (meestal wel.. 99%)

  • _Squatt_
  • Registratie: Oktober 2000
  • Niet online
Heb je 2.0.6 zelf gecompileerd? Want dan staat die misschien in /usr/local, terwijl 2.0.1 nog in /usr staat.

Op de een of andere manier vindt het configure script nog libs en/of headers van 2.0.1
Verwijderd schreef op 13 augustus 2002 @ 18:11:
als jij glibc veranderd dan moet je ALLES Recompilen of dit laten staan. tenzij je het goed aanpakt met symlinks enzo.. en dan maar hopen dat het compatible is met de vorige (meestal wel.. 99%)
Gelukkig gaat het over Glib, en niet over glibc :).

"He took a duck in the face at two hundred and fifty knots."


Verwijderd

Never mind.. Ik moet beter lezen :)

Verwijderd

Topicstarter
ik heb hem dus zelf gecompiled (glibs)

Kan ik dan glibs wissen in /usr?
glibs 2.0.6 staat inderdaad in /usr/local

  • Tomaat
  • Registratie: November 2001
  • Laatst online: 13-05 13:50
euhm...ja, als je dan wel even in een symlink maakt naar je nieuwe glibs :)

Verwijderd

Topicstarter
Ik heb in mijn /usr/ alleen dit staan:
bin etc include lib local sbin src X11R6
dict games kerberos libexec man share tmp
Welke is van mijn oude glib?

  • _Squatt_
  • Registratie: Oktober 2000
  • Niet online
Dat zijn directories, netter is om de glib-2.0.1 rpm te verwijderen, maar dat zou problemen kunnen geven met dependencies.

Kun je anders niet met het configure script opgeven waar Glib staat? Zoiets als './configure --with-glib=/usr/local'. Met './configure --help' krijg je alle opties van configure te zien.

"He took a duck in the face at two hundred and fifty knots."


  • Buffy
  • Registratie: April 2002
  • Laatst online: 26-12-2024

Buffy

Fire bad, Tree pretty

Verwijderd schreef op 14 augustus 2002 @ 10:35:
Ik heb in mijn /usr/ alleen dit staan:
code:
1
2
bin etc include lib local sbin src X11R6
dict games kerberos libexec man share tmp

Welke is van mijn oude glib?
Hoei, het prijskaartje van je *nix kenis hangt er nog aan :)


Je kan ook even in /usr/lib/pkgconfig/glib-2.0.pc kijken of de prefix wel naar /usr/local verwijst ipv /usr. Misschien dat helpt.
(en vergeet gmodule-2.0.pc, gobject-2.0.pc en gthread-2.0.pc niet)

Denk anders dat je dit niet met een simple symlinkje kan oplossen.
Bij het compileren van je proggie heb je de develop files nodig (include, static libs, etc).
Beter is glib opnieuw te installeren maar dan in /usr ipv /usr/local.

In mijn debian libglib2.0-dev package zitten bv de volgende bestanden:
/usr/include/glib-2.0/glib-object.h
/usr/include/glib-2.0/glib.h
/usr/include/glib-2.0/glib/galloca.h
/usr/include/glib-2.0/glib/garray.h
/usr/include/glib-2.0/glib/gasyncqueue.h
/usr/include/glib-2.0/glib/gbacktrace.h
/usr/include/glib-2.0/glib/gcache.h
/usr/include/glib-2.0/glib/gcompletion.h
/usr/include/glib-2.0/glib/gconvert.h
/usr/include/glib-2.0/glib/gdataset.h
/usr/include/glib-2.0/glib/gdate.h
/usr/include/glib-2.0/glib/gdir.h
/usr/include/glib-2.0/glib/gerror.h
/usr/include/glib-2.0/glib/gfileutils.h
/usr/include/glib-2.0/glib/ghash.h
/usr/include/glib-2.0/glib/ghook.h
/usr/include/glib-2.0/glib/giochannel.h
/usr/include/glib-2.0/glib/glist.h
/usr/include/glib-2.0/glib/gmacros.h
/usr/include/glib-2.0/glib/gmain.h
/usr/include/glib-2.0/glib/gmarkup.h
/usr/include/glib-2.0/glib/gmem.h
/usr/include/glib-2.0/glib/gmessages.h
/usr/include/glib-2.0/glib/gnode.h
/usr/include/glib-2.0/glib/gpattern.h
/usr/include/glib-2.0/glib/gprimes.h
/usr/include/glib-2.0/glib/gqsort.h
/usr/include/glib-2.0/glib/gquark.h
/usr/include/glib-2.0/glib/gqueue.h
/usr/include/glib-2.0/glib/grand.h
/usr/include/glib-2.0/glib/grel.h
/usr/include/glib-2.0/glib/gscanner.h
/usr/include/glib-2.0/glib/gshell.h
/usr/include/glib-2.0/glib/gslist.h
/usr/include/glib-2.0/glib/gspawn.h
/usr/include/glib-2.0/glib/gstrfuncs.h
/usr/include/glib-2.0/glib/gstring.h
/usr/include/glib-2.0/glib/gthread.h
/usr/include/glib-2.0/glib/gthreadpool.h
/usr/include/glib-2.0/glib/gtimer.h
/usr/include/glib-2.0/glib/gtree.h
/usr/include/glib-2.0/glib/gtypes.h
/usr/include/glib-2.0/glib/gunicode.h
/usr/include/glib-2.0/glib/gutils.h
/usr/include/glib-2.0/glib/gwin32.h
/usr/include/glib-2.0/gobject/gboxed.h
/usr/include/glib-2.0/gobject/gclosure.h
/usr/include/glib-2.0/gobject/genums.h
/usr/include/glib-2.0/gobject/gobject.h
/usr/include/glib-2.0/gobject/gparam.h
/usr/include/glib-2.0/gobject/gparamspecs.h
/usr/include/glib-2.0/gobject/gsignal.h
/usr/include/glib-2.0/gobject/gsourceclosure.h
/usr/include/glib-2.0/gobject/gtype.h
/usr/include/glib-2.0/gobject/gtypemodule.h
/usr/include/glib-2.0/gobject/gtypeplugin.h
/usr/include/glib-2.0/gobject/gvalue.h
/usr/include/glib-2.0/gobject/gvaluearray.h
/usr/include/glib-2.0/gobject/gvaluecollector.h
/usr/include/glib-2.0/gobject/gvaluetypes.h
/usr/include/glib-2.0/gobject/gobjectnotifyqueue.c
/usr/include/glib-2.0/gobject/gmarshal.h
/usr/include/glib-2.0/gmodule.h
/usr/lib/libglib-2.0.la
/usr/lib/libgmodule-2.0.la
/usr/lib/libgobject-2.0.la
/usr/lib/libgthread-2.0.la
/usr/lib/libglib-2.0.a
/usr/lib/libgmodule-2.0.a
/usr/lib/libgobject-2.0.a
/usr/lib/libgthread-2.0.a
/usr/lib/glib-2.0/include
/usr/lib/glib-2.0/include/glibconfig.h
/usr/lib/pkgconfig/glib-2.0.pc
/usr/lib/pkgconfig/gmodule-2.0.pc
/usr/lib/pkgconfig/gobject-2.0.pc
/usr/lib/pkgconfig/gthread-2.0.pc
/usr/share/aclocal/glib-2.0.m4
/usr/share/aclocal/glib-gettext.m4
/usr/share/glib-2.0/gettext
/usr/share/glib-2.0/gettext/po
/usr/share/glib-2.0/gettext/po/Makefile.in.in
/usr/share/glib-2.0/gettext/po/Makefile.in
/usr/share/man/man1/glib-mkenums.1.gz
/usr/share/man/man1/glib-genmarshal.1.gz
/usr/bin/glib-genmarshal
/usr/bin/glib-gettextize
/usr/bin/glib-mkenums
/usr/bin/gobject-query
/usr/lib/libglib-2.0.so
/usr/lib/libgmodule-2.0.so
/usr/lib/libgobject-2.0.so
/usr/lib/libgthread-2.0.so
/usr/share/man/man1/gobject-query.1.gz
/usr/share/man/man1/glib-gettextize.1.gz
/usr/share/doc/libglib2.0-dev

That which doesn't kill us, makes us stranger - Trevor (AEon FLux)
When a finger points at the moon, the imbecile looks at the finger (Chinese Proverb)


Verwijderd

misschien even ldconfig draaien?
Pagina: 1