[GRASSLIST:4816] problem compiling Grass 5.7.0

Allard, Yannick (EXP) yannick.allard at lmco.com
Fri Nov 12 16:43:36 EST 2004


Hi everyone,

I'm trying to compile Grass 5.7.0 on solaris2.9 intel architecture, however I have sevral problems. At first, I have many Unexpected end of line in the different Makefiles where there is some ifeq (...) or ifndef. However the syntax is correct. I have just removed those parts since they were not necessary for what I'm trying to do. Some where referring to OpenGL or checking if GRASS_LIBRARY_TYPE was stlib.


make: Fatal error in reader: ../include/Make/Grass.make, line 236: Unexpected end of line seen
Current working directory /home/yallard/GRASS/grass-5.7.0/lib
gnumake: *** [default] Error 1

~/GRASS/grass-5.7.0 % gnumake
make: Fatal error in reader: ../include/Make/Rules.make, line 9: Unexpected end of line seen
Current working directory /home/yallard/GRASS/grass-5.7.0/lib
gnumake: *** [default] Error 1

 ~/GRASS/grass-5.7.0 % gnumake
make: Fatal error in reader: Makefile, line 38: Unexpected end of line seen
Current working directory /home/yallard/GRASS/grass-5.7.0/lib

Now I have the following error : 


if [ ! -d /home/yallard/GRASS/grass-5.7.0/dist.i386-pc-solaris2.9/include ]; then mkdir -p /home/yallard/GRASS/grass-5.7.0/dist.i386-pc-solaris2.9/include; fi
if [ ! -d /home/yallard/GRASS/grass-5.7.0/dist.i386-pc-solaris2.9/include/vect ]; then mkdir -p /home/yallard/GRASS/grass-5.7.0/dist.i386-pc-solaris2.9/include/vect; fi
install -m 644 ../include/*.h /home/yallard/GRASS/grass-5.7.0/dist.i386-pc-solaris2.9/include/
find: cannot read dir /etc/inet/secret: Permission denied
find: cannot read dir /etc/sfw/private: Permission denied
install: CC.h was not found anywhere!
gnumake: *** [headers] Error 2


CC.h is in the ../include/*.h directory, but it is not finding it. I'm using gcc 3.3.2. 

Anyone knows what to do?

Thanks in advance

Yannick

Yannick Allard
Ph.D student, Universite de Sherbrooke




More information about the grass-user mailing list