Bonjour
J'ai install� Linux Mandrake 8.0 (Kernel 2.4).
Je suis un gros d�butant.
Je d�sire installer un petit jeu (Armagetron) qui fonctionne tr�s bien sous
Windows.
Voil� ce qu'il me dit lorsque je veux le lancer:
./armagetron : error while loading shared libraries: libSDL_image-1.0.so.0:
cannot load shared object : No such file or directory
Donc j'ai d�cid� de r�installer SDL, SDL_image, et Mesa (version 3.4.2)
SDL et SDL_image �tants livr�s en RPM, il n'y avait pas de probl�me (version
1.2 de SDL_image, la version 1.0 ne veut pas s'installer)
(j'ai aussi install� les drivers NVIDIA Geforce 256)
J'essaie de compiler Mesa la premi�re fois. Il plante lorsque make veut
ouvrir X11/xlib.h.
C'est le package XFree86 qui �tait mal install�. Apr�s r�installation, la
compilation de mesa continue, mais bloque � un autre moment:
[root@localhost Mesa-3.4.2]# make
make all-recursive
make[1]: Entre dans le r�pertoire `/root/Mesa-3.4.2'
Making all in include
make[2]: Entre dans le r�pertoire `/root/Mesa-3.4.2/include'
Making all in GL
make[3]: Entre dans le r�pertoire `/root/Mesa-3.4.2/include/GL'
make[3]: Rien � faire pour `all'.
make[3]: Quitte le r�pertoire `/root/Mesa-3.4.2/include/GL'
make[3]: Entre dans le r�pertoire `/root/Mesa-3.4.2/include'
make[3]: Rien � faire pour `all-am'.
make[3]: Quitte le r�pertoire `/root/Mesa-3.4.2/include'
make[2]: Quitte le r�pertoire `/root/Mesa-3.4.2/include'
Making all in src
make[2]: Entre dans le r�pertoire `/root/Mesa-3.4.2/src'
Making all in X86
make[3]: Entre dans le r�pertoire `/root/Mesa-3.4.2/src/X86'
make[3]: Rien � faire pour `all'.
make[3]: Quitte le r�pertoire `/root/Mesa-3.4.2/src/X86'
Making all in OSmesa
make[3]: Entre dans le r�pertoire `/root/Mesa-3.4.2/src/OSmesa'
make[3]: Rien � faire pour `all'.
make[3]: Quitte le r�pertoire `/root/Mesa-3.4.2/src/OSmesa'
make[3]: Entre dans le r�pertoire `/root/Mesa-3.4.2/src'
make[3]: Rien � faire pour `all-am'.
make[3]: Quitte le r�pertoire `/root/Mesa-3.4.2/src'
make[2]: Quitte le r�pertoire `/root/Mesa-3.4.2/src'
Making all in src-glu
make[2]: Entre dans le r�pertoire `/root/Mesa-3.4.2/src-glu'
make[2]: Rien � faire pour `all'.
make[2]: Quitte le r�pertoire `/root/Mesa-3.4.2/src-glu'
Making all in src-glut
make[2]: Entre dans le r�pertoire `/root/Mesa-3.4.2/src-glut'
/bin/sh ../libtool --mode=link
gcc -g -O2 -Wall -O0 -DDEBUG -D_REENTRANT -DPTHREADS -o libglut.la -rpath
/usr/local/lib -version-info 3:7:0 glut_8x13.lo glut_9x15.lo glut_bitmap.lo
glut_bwidth.lo glut_cindex.lo glut_cmap.lo glut_cursor.lo glut_dials.lo
glut_dstr.lo glut_event.lo glut_ext.lo glut_fbc.lo glut_fullscrn.lo
glut_gamemode.lo glut_get.lo glut_glxext.lo glut_hel10.lo glut_hel12.lo
glut_hel18.lo glut_init.lo glut_input.lo glut_joy.lo glut_key.lo
glut_keyctrl.lo glut_keyup.lo glut_menu.lo glut_menu2.lo glut_mesa.lo
glut_modifier.lo glut_mroman.lo glut_overlay.lo glut_roman.lo glut_shapes.lo
glut_space.lo glut_stroke.lo glut_swap.lo glut_swidth.lo glut_tablet.lo
glut_teapot.lo glut_tr10.lo glut_tr24.lo
glut_util.lo glut_vidresize.lo glut_warp.lo glut_win.lo glut_winmisc.lo
layerutil.lo -lXext -lXi -lX11
rm -fr .libs/libglut.la .libs/libglut.* .libs/libglut.*
gcc -shared glut_8x13.lo glut_9x15.lo glut_bitmap.lo glut_bwidth.lo
glut_cindex.lo glut_cmap.lo glut_cursor.lo glut_dials.lo glut_dstr.lo
glut_event.lo glut_ext.lo glut_fbc.lo glut_fullscrn.lo glut_gamemode.lo
glut_get.lo glut_glxext.lo glut_hel10.lo glut_hel12.lo glut_hel18.lo
glut_init.lo glut_input.lo glut_joy.lo glut_key.lo glut_keyctrl.lo
glut_keyup.lo glut_menu.lo glut_menu2.lo glut_mesa.lo glut_modifier.lo
glut_mroman.lo glut_overlay.lo glut_roman.lo glut_shapes.lo glut_space.lo
glut_stroke.lo glut_swap.lo glut_swidth.lo glut_tablet.lo glut_teapot.lo
glut_tr10.lo glut_tr24.lo glut_util.lo glut_vidresize.lo glut_warp.lo
glut_win.lo glut_winmisc.lo
layerutil.lo -lXext -lXi -lX11 -lc -Wl,-soname -Wl,libglut.so.3 -o
.libs/libglut.so.3.7.0
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
make[2]: *** [libglut.la] Erreur 1
make[2]: Quitte le r�pertoire `/root/Mesa-3.4.2/src-glut'
make[1]: *** [all-recursive] Erreur 1
make[1]: Quitte le r�pertoire `/root/Mesa-3.4.2'
make: *** [all-recursive-am] Erreur 2
J'ai recherch� sur internet d'o� provenait cette erreur
/usr/bin/ld: cannot find -lXext
Je n'ai pas trouver de solution.
Et si j'essaie directement de compiler armagetron, j'obtiens:
[root@localhost armagetron]# ./configure
loading cache ./config.cache
checking for c++... (cached) 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++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking how to run the C++ preprocessor... (cached) c++ -E
checking whether make sets ${MAKE}... (cached) yes
checking for exp in -lm... (cached) yes
checking for main in -lGL... yes
checking for main in -lGLU... no
configure: error:
You need GLU to compile Armagetron; it SHOULD have come with Mesa.
Read the file LIBS.
Alors que Mesa est bien install� (version fournie avec Mandrake)
Help!
Ma configuration: Mandrake 8.0, kernel 2.4 (je crois), XWindow KDE,...
PS: juste une question susidiaire: est-ce que OpenGL est install� par d�faut
sous Mandrake???
Mesa y �tait d�ja, mais je ne sais pas s'il faut comme sous Windows une sous
couche openGL ou si Mesa=opengl
Merci beaucoup d'avance
Gaetan