glib 1.2.2

Post Reply
Message
Author
Hal

glib 1.2.2

#1 Post by Hal »

Hi, was ist glib 1.2.2??!! wollte gerade ein programm installieren, da wurde mir freundlich mitgeteilt, dass dieses glib fehlt und ich es doch bitte erst installieren solle!!! - mfg

Sebastian Ude

Re: glib 1.2.2

#2 Post by Sebastian Ude »

glib (nicht mit glibc verwechseln !) ist eine Library mit diversen C-Routinen, die dem C-Programmierer (dem C++-Programmierer natürlich auch <img src="http://www.pl-forum.de/UltraBoard/Images/Happy.gif" border="0" align="middle">) die Verarbeitung von strings, Listen, trees und hashes sowie die modularisierung von Programmen erleichtern.

Die glib war mal ein fester Bestandteil des GTK-Toolkits, heute werden aber glib und GTK in zwei Verschiedenen Paketen bereitgestellt.

In eigenen Programmen kann man die glib-Routinen von daher auch unabhängig von der GTK-Library benutzen. Außer dem GTK-Toolkit selber tun das auch viele andere Applikationen / Libraries.

Die glib bekommst du hier:

ftp://ftp.gimp.org/pub/gtk/v1.2/

Die akuelle stabile Version ist 1.2.10.

hal

Re: glib 1.2.2

#3 Post by hal »

Hab jetz glib installiert, nun kommt folgende fehlermeldung wenn ich das programm installieren will! HILFE!!!!!!

loading cache ./config.cache
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... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
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 c++... c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /usr/bin/install -c
checking for glib-config... /usr/local/bin/glib-config
checking for GLIB - version >= 1.2.2...
*** 'glib-config --version' returned 1.2.2, but GLIB (1.2.8)
*** was found! If glib-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 glib-config was wrong, set the environment variable GLIB_CONFIG
*** to point to the correct copy of glib-config, and remove the file config.cache
*** before re-running configure

Sebastian Ude

Re: glib 1.2.2

#4 Post by Sebastian Ude »

Da sind zwei verschiedene glib-Versionen an zwei verschiedenen Prefixes im System installiert.

Höchstwahrscheinlich war zuvor nur das "glib"-Paket, aber nicht das "glib-devel"-Paket (mit den Header-Files) deiner Distribution installiert.
Nun hast du noch einmal eine neuere glib-Version installiert und hast nun zwei verschiedene glib-Versionen auf dem System rumliegen - ein mal in /usr (Distribution) und ein mal in /usr/local (nachinstalliert).

Deinstalliere mal bitte das alte glib-Paket, das mit deiner Distribution kam und das configure-Script dürfte zufrieden sein.

Post Reply