en testant le code d'un ami (récemment converti) je me suis rendu compte qu'il y a avait un problème avec OpenGL sur mon ordinateur :
Code : Tout sélectionner
$ asy -V -render=4 test.asy
/usr/local/share/asymptote/three.asy: 2976.13: runtime: to support onscreen rendering, please install glut library, run ./configure, and recompile
[maurice@localhost Fred]$
Je fais donc ce qu'on me dit et ./configure me renvoie les erreurs :
checking gsl/gsl_sf.h usability... no
checking gsl/gsl_sf.h presence... no
checking for gsl/gsl_sf.h... no
configure: *** Header file gsl_sf.h not found: will compile without optional special functions. ***
checking fftw3.h usability... no
checking fftw3.h presence... no
checking for fftw3.h... no
configure: *** Header file fftw3.h not found: will compile without optional fast Fourier transforms. ***
checking for glDepthMask in -lGL... no
checking for gluNewNurbsRenderer in -lGLU... no
configure: *** Could not find libGLU: will compile without OpenGL support ***
checking for glutMainLoop in -lglut... no
configure: *** Could not find libglut: will compile without GLUT support ***
checking for pid_t... yes
Poutant gsl, freeglut et libGLU sont installés :
Code : Tout sélectionner
$ yum list mesa-libGLU*
Loaded plugins: langpacks, presto, refresh-packagekit
Installed Packages
mesa-libGLU.x86_64 7.11.2-1.fc16 @updates
Available Packages
mesa-libGLU.i686 7.11.2-1.fc16 updates
mesa-libGLU-devel.i686 7.11.2-1.fc16 updates
mesa-libGLU-devel.x86_64 7.11.2-1.fc16 updates
Code : Tout sélectionner
$ yum list freeglut
Loaded plugins: langpacks, presto, refresh-packagekit
Installed Packages
freeglut.x86_64 2.6.0-6.fc15 @fedora
Code : Tout sélectionner
$ yum list gsl
Loaded plugins: langpacks, presto, refresh-packagekit
Installed Packages
gsl.x86_64 1.15-3.fc16 @fedora
C'est la première fois que j'ai des problèmes pour compiler les sources....
Maurice