Help ...



Hi, 

i'm trying to compile gtk+ on a mandrake 8.0, kernel 2.4.3 !

I have downloaded gtk+-1.2.10 and when i try to install it, i obtain :

after a ./configure : 

...
checking for catalogs to be installed...  az ca cs da de el es et eu fi
fr ga gl hr hu it ja ko lt nl no nn pl pt pt_BR ro ru sk sl sp sr sv tr
uk vi wa zh_CN.GB2312 zh_TW.Big5
checking for extra flags to get ANSI library prototypes... none needed
checking for extra flags for POSIX compliance... none needed
checking for glib-config... /usr/local/bin/glib-config
checking for GLIB - version >= 1.2.8... yes
checking for X... no
configure: error:
*** X libraries or include files not found. Check 'config.log' for
*** more details.

then i tried : ./configure --x-includes=/usr/X11R6/include/ --x-lib
raries=/usr/X11R6/lib/ 


checking for catalogs to be installed...  az ca cs da de el es et eu fi
fr ga gl hr hu it ja ko lt nl no nn pl pt pt_BR ro ru sk sl sp sr sv tr
uk vi wa zh_CN.GB2312 zh_TW.Big5
checking for extra flags to get ANSI library prototypes... none needed
checking for extra flags for POSIX compliance... none needed
checking for glib-config... /usr/local/bin/glib-config
checking for GLIB - version >= 1.2.8... yes
checking for X... libraries /usr/X11R6/lib/, headers /usr/X11R6/include/
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for XOpenDisplay in -lX11... yes
checking for XShmAttach in -lXext... no
checking for XShmAttach in -lXextSam... no
checking for XShapeCombineMask in -lXext... no
checking for XConvertCase in -lX11... yes
checking for XUnregisterIMInstantiateCallback in -lX11... yes
checking for sys/ipc.h... yes
checking for sys/shm.h... yes
checking X11/extensions/XShm.h... no
checking need -DX_LOCALE... no
checking for ANSI C header files... (cached) yes
checking for working const... (cached) yes
checking return type of signal handlers... void
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for getresuid... yes
checking for uid_t in sys/types.h... yes
checking for fd_set... yes, found in sys/types.h
checking for wchar.h... yes
checking for wctype.h... yes
checking for iswalnum... yes
checking if iswalnum() and friends are properly defined... yes
updating cache ./config.cache
creating ./config.status
creating gtk+.spec
creating docs/gtk-config.1
creating Makefile
creating gtk-config
creating po/Makefile.in
creating docs/Makefile
creating gdk/Makefile
creating gtk/Makefile
creating gtk/gtkfeatures.h
creating gdk.pc
creating gtk+.pc
creating config.h
config.h is unchanged

it apparently worked but after a make i got :


make  all-recursive
make[1]: Entre dans le répertoire `/home/rx/gtk/gtk+-1.2.10'
Making all in po
make[2]: Entre dans le répertoire `/home/rx/gtk/gtk+-1.2.10/po'
make[2]: Rien à faire pour `all'.
make[2]: Quitte le répertoire `/home/rx/gtk/gtk+-1.2.10/po'
Making all in gdk
make[2]: Entre dans le répertoire `/home/rx/gtk/gtk+-1.2.10/gdk'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-DG_LOG_DOMAIN=\"Gdk\" -I.. -DGTK_NO_CHECK_CASTS -DUSE_XIM
-I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -D_REENTRANT
-I/usr/X11R6/include/    -g -O2 -Wall -c
gdk.c
rm -f .libs/gdk.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gdk\" -I..
-DGTK_NO_CHECK_CASTS -DUSE_XIM -I/usr/local/include/glib-1.2
-I/usr/local/lib/glib/include -D_REENTRANT -I/usr/X11R6/include/ -g -O2
-Wall -c gdk.c  -fPIC -DPIC -o .libs/gdk.lo
gdk.c:41:23: X11/Xatom.h: Aucun fichier ou répertoire de ce type
gdk.c:42:22: X11/Xlib.h: Aucun fichier ou répertoire de ce type
gdk.c:43:21: X11/Xos.h: Aucun fichier ou répertoire de ce type
gdk.c:44:23: X11/Xutil.h: Aucun fichier ou répertoire de ce type
gdk.c:45:28: X11/cursorfont.h: Aucun fichier ou répertoire de ce type
In file included from gdk.c:47:
gdkprivate.h:31:22: X11/Xlib.h: Aucun fichier ou répertoire de ce type
gdkprivate.h:32:23: X11/Xutil.h: Aucun fichier ou répertoire de ce type
make[2]: *** [gdk.lo] Erreur 1
make[2]: Quitte le répertoire `/home/rx/gtk/gtk+-1.2.10/gdk'
make[1]: *** [all-recursive] Erreur 1
make[1]: Quitte le répertoire `/home/rx/gtk/gtk+-1.2.10'
make: *** [all-recursive-am] Erreur 2

Is it normal i have only that thing in : 

ll /usr/X11R6/include/X11 

drwxr-xr-x    2 root     root         4096 sep  3 11:10 bitmaps/  

Please help me to find the way to install these missing Xlibs or other
.h files !!!!

Thanks anyway for all answer :o)


-- 
"Work to become, not to acquire." 
-- Confucius

(°|°) Eric P (-|-)
 (-)	      (°)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]