Hello,
I'm triing to compil Gem on Mandrake 8.2 linux with PD 35.0 I think I have installed all needed lib. but I still have a compilation error.
What can I do? what's the way to compile it?
thank's
cheers
Cyrille henry
P.S : here is the compilation log :
[root@schaeffer Gnu]# ./makeauxlibs ./makeauxlibs: test: =: unary operator expected Building Auxilliary Libraries =============================
BUILDING LIBORB
./makeauxlibs: cd: ../../../GemLibs/liborb: Aucun fichier ou répertoire de
ce type
for d in ../Manips ../Particles ../Base ../MarkEx ../Pixes ../Controls
../Nongeos ../Geos ../tv; do
echo ""
echo "----------$d----------";
cd $d && make || exit -1;
done
echo ----------../Manips----------
make[1]: Entre dans le répertoire /home/pd/pds/gem-0.87/src/Manips' make[1]: Rien à faire pour
all'.
make[1]: Quitte le répertoire /home/pd/pds/gem-0.87/src/Manips' echo ----------../Particles---------- make[1]: Entre dans le répertoire
/home/pd/pds/gem-0.87/src/Particles'
c++ -c -g -fPIC -I../ -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/u
sr/include/gltt -I../../../gem-0.84/src/AuxLibs/particle -I../../../gem-0.84
/src/AuxLibs/liborb -I../../../GemLibs/glm -I/usr/local/include -I..
part_color.cpp -o part_color.o
In file included from part_color.h:18,
from part_color.cpp:15:
../Base/GemBase.h:27:8: warning: extra tokens at end of #endif directive
part_color.cpp:17:18: papi.h: Aucun fichier ou répertoire de ce type
make[1]: *** [part_color.o] Erreur 1
make[1]: Quitte le répertoire /home/pd/pds/gem-0.87/src/Particles' make: *** [subdirs] Erreur 255 BUILDING PARTICLE ./makeauxlibs: cd: ../../../GemLibs/particle: Aucun fichier ou répertoire de ce type make: Makefile.linux: Aucun fichier ou répertoire de ce type make: *** Pas de règle pour fabriquer la cible
Makefile.linux'. Arrêt.
BUILDING GLM
./makeauxlibs: cd: ../../../GemLibs/glm: Aucun fichier ou répertoire de ce
type for d in ../Manips ../Particles ../Base ../MarkEx ../Pixes ../Controls
../Nongeos ../Geos ../tv; do
echo ""
echo "----------$d----------";
cd $d && make || exit -1;
done
echo ----------../Manips----------
make[1]: Entre dans le répertoire /home/pd/pds/gem-0.87/src/Manips' make[1]: Rien à faire pour
all'.
make[1]: Quitte le répertoire /home/pd/pds/gem-0.87/src/Manips' echo ----------../Particles---------- make[1]: Entre dans le répertoire
/home/pd/pds/gem-0.87/src/Particles'
c++ -c -g -fPIC -I../ -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/u
sr/include/gltt -I../../../gem-0.84/src/AuxLibs/particle -I../../../gem-0.84
/src/AuxLibs/liborb -I../../../GemLibs/glm -I/usr/local/include -I..
part_color.cpp -o part_color.o
In file included from part_color.h:18,
from part_color.cpp:15:
../Base/GemBase.h:27:8: warning: extra tokens at end of #endif directive
part_color.cpp:17:18: papi.h: Aucun fichier ou répertoire de ce type
make[1]: *** [part_color.o] Erreur 1
make[1]: Quitte le répertoire `/home/pd/pds/gem-0.87/src/Particles'
make: *** [subdirs] Erreur 255
[root@schaeffer Gnu]# ./configure ./configure: : command not found ./configure: : command not found loading cache ./config.cache Sources for ../Manips Sources for ../Particles Sources for ../Base Sources for ../MarkEx Sources for ../Pixes Sources for ../Controls Sources for ../Nongeos Sources for ../Geos Sources for ../tv checking host system type... i686-pc-linux-gnu Configuring for Gem.pd_linux checking for gnu make... yes 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 for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether make sets ${MAKE}... (cached) yes checking for sh... (cached) sh checking how to run the C preprocessor... (cached) gcc -E checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for dnet_ntoa in -ldnet... (cached) no checking for dnet_ntoa in -ldnet_stub... (cached) no checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for main in -lX11... (cached) yes checking for main in -lXext... (cached) yes checking for XF86VidModeGetAllModeLines in -lXxf86vm... (cached) yes checking for sin in -lm... (cached) yes checking for glInitNames in -lGL... (cached) yes checking for gluLookAt in -lGLU... (cached) yes checking for glutSolidTeapot in -lglut... (cached) yes checking for quicktime_open in -lquicktime... (cached) yes checking for png_set_compression_level in -lpng... (cached) yes checking for main in -lglib... (cached) yes checking for OpenMPEG in -lmpeg... (cached) yes checking for mpeg3_open in -lmpeg3... (cached) yes checking for main in -lglm... (cached) no checking alternate -lglm in ../../../ ... (cached) ../../../GemLibs/glm configure: warning: Trying to use glm library in ../../../GemLibs/glm checking for main in -ltiff... (cached) yes checking for main in -ljpeg... (cached) yes checking for main in -lttf... (cached) yes checking for main in -lgltt... (cached) yes checking for main in -lorb... (cached) no checking alternate -lorb in ../../../ ... (cached) ../../../gem-0.84/src/AuxLibs/liborb configure: warning: Trying to use orb library in ../../../gem-0.84/src/AuxLibs/liborb checking for main in -lparticle... (cached) no checking alternate -lparticle in ../../../ ... (cached) ../../../gem-0.84/src/AuxLibs/particle configure: warning: Trying to use particle library in ../../../gem-0.84/src/AuxLibs/particle checking for main in -lvl... (cached) no checking for main in -lz... (cached) yes checking for m_pd.h path... /usr/local/include checking for glm.h path... dirname: too few arguments Try `dirname --help' for more information. configure: error: can't find path to glm.h [root@schaeffer Gnu]#