[GRASSLIST:4842] RE: problem compiling Grass 5.7.0

Allard, Yannick (EXP) yannick.allard at lmco.com
Mon Nov 15 15:05:35 EST 2004


Hi Dave,

yes, i'm using gnu make...

Yannick

> -----Original Message-----
> From:	David Mahoney [SMTP:mahoneyd at unbc.ca]
> Sent:	Monday, November 15, 2004 2:10 PM
> To:	Allard, Yannick (EXP)
> Cc:	grasslist at baylor.edu
> Subject:	Re: [GRASSLIST:4816] problem compiling Grass 5.7.0
> 
> Did you make sure that you are indeed using GNU make and not the make 
> that comes with Solaris?
> 
> Dave
> 
> On Fri, 12 Nov 2004, Allard, Yannick (EXP) wrote:
> 
> > 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
> > 
> 
> -- 
> Dave
> 




More information about the grass-user mailing list