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.

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

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

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 :

ldconfig

Puis reessaye "gtk-config --libs"

A+

Philippe

Le lun 10/11/2003 � 11:58, Jacques Tiberghien a �crit :
> Pascal Bleser a �crit :
> 
> > Jacques Tiberghien wrote:
> >
> > > Je cherche � installer cinepaint-0.18-1 .tar.gz apr�s extraction je 
> > fais ./configure et j'ai le probl�me � la fin :
> > > checking dependency style of g++... none
> > > checking for gtk-config... no
> > > checking for GTK - version >= 1.2.8... no
> > > *** The gtk-config script installed by GTK could not be found
> > > *** If GTK was installed in PREFIX, make sure PREFIX/bin is in
> > > *** your path, or set the GTK_CONFIG environment variable to the
> > > *** full path to gtk-config.
> > > configure: error: Test for GTK failed. See the file 'INSTALL' for help.
> > > Que dois je faire pour que GTK qui est install� soit reconnu ?
> >
> >
> > Tu dois installer les packages de d�veloppement.
> > Dans ce cas glib-devel et gtk-devel
> 
> Fait glib-devel est install�e et gtk 1.2.10 et gtk2 les  devel sont
> install�s.
> 
> >
> >
> > Tu auras peut-�tre encore besoin de quelques autres.
> > Tu utilises quelle distribution ?
> 
> Je suis sous Suse 9 et au ./configure j'ai toujours:
> checking dependency style of g++... none
> 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.
> J'ai pourtant bien un /opt/gnome/gtk-config !
> Comprend pas :-\
> Jacques
> 
> >
> >
> > --   -o) Pascal Bleser        http://guru.unixtech.be
> >   /\\ <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
> >  _\_v The more things change, the more they stay insane.
> 
> 
> _______________________________________________________
> 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

_______________________________________________________
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 à