Philippe CHARLIER a écrit :

Salut Jacques,

Si tu tapes en ligne de commande :

gtk-config --version

Est-ce que tu obtiens bien autre chose que "command not found", sinon
"gtk-config" n'est pas dans ton path.

j'ai:
[EMAIL PROTECTED]:~> gtk-config --version
1.2.10


Si tu tapes :


gtk-config --libs

Obtiens-tu quelque chose comme :

-L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext
-lX11 -lm

oui:
1.2.10
[EMAIL PROTECTED]:~> gtk-config --libs
-L/opt/gnome/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib
-ldl -l
Xi -lXext -lX11 -lm


Si tu tapes :


gtk-config --cflags

Obtiens-tu quelque chose comme :

-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include

oui:
[EMAIL PROTECTED]:~> gtk-config --cflags
-I/opt/gnome/include -I/opt/gnome/include/gtk-1.2
-I/opt/gnome/include/glib-1.2
-I/opt/gnome/lib/glib/include -I/usr/X11R6/include



Finalement, les librairies GTK doivent etre trouvees par le "dynamic linker" (ld). Verifie que "/etc/ld.so.conf" contient le path de ces librairies si il est different de "/lib" ou "/usr/lib".

Le cas echeant ajoute le et relance la commande :

j'ai rajouté:
/usr/include/gtk-1.2
/usr/include/glib-1.2
/usr/lib/glib/include
/usr/X11R6/include
/opt/gnome/bin/gtk-config
puis,ldconfig



ldconfig


Puis reessaye "gtk-config --libs"

voilà:
[EMAIL PROTECTED]:~> gtk-config --libs
-L/opt/gnome/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib
-ldl -lXi -lXext -lX11 -lm

Puis j'ai réessayé mon configure de cinepaint-0.18-1 et:

checking for gtk-config... /opt/gnome/bin/gtk-config
checking for GTK - version >= 1.2.8... no
*** Could not run GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log
for the
*** exact error that occured. This usually means GTK was incorrectly
installed
*** or that you have moved GTK since it was installed. In the latter
case, you
*** may want to edit the gtk-config script: /opt/gnome/bin/gtk-config
configure: error: Test for GTK failed. See the file 'INSTALL' for help.
[EMAIL PROTECTED]:~/telecharg/cinepaint-0.18-1>

Merci de ton aide car je ne trouve pas pourquoi?
Jacques


_______________________________________________________ Linux Mailing List - http://www.unixtech.be Subscribe/Unsubscribe: http://www.unixtech.be/mailman/listinfo/linux Archives: http://www.mail-archive.com/[EMAIL PROTECTED] IRC: efnet.unixtech.be:6667 - #unixtech



_______________________________________________________
Linux Mailing List - http://www.unixtech.be
Subscribe/Unsubscribe: http://www.unixtech.be/mailman/listinfo/linux
Archives: http://www.mail-archive.com/[EMAIL PROTECTED]
IRC: efnet.unixtech.be:6667 - #unixtech



_______________________________________________________
Linux Mailing List - http://www.unixtech.be
Subscribe/Unsubscribe: http://www.unixtech.be/mailman/listinfo/linux
Archives: http://www.mail-archive.com/[EMAIL PROTECTED]
IRC: efnet.unixtech.be:6667 - #unixtech

Répondre à