[GRASS5] Solaris2.8 compile problems

Andreas Lange Andreas.Lange at Rhein-Main.de
Tue Jan 22 11:18:42 EST 2002


Markus Neteler wrote:
> 
> Hi,
> 
> Palle Haastrup <palle.haastrup at jrc.it>, who kindly prepared
> SUN/Solaris binaries for the GRASS community (today), faces
> a few compile problems. Eventually they are GRASS code
> related?
> 
> Here the needed info, I have no idea about this. Due to
> this these modules are not included in the binary package.
> 
> Markus
> 

Hi Markus, hi others,

i remember that i had those errors too with Solaris8/SPARC and gcc 3.0.x
(search the archive of this list).
The bottom line is IMHO that gcc 3.0.x from the Solaris companion CD is
buggy, and as i am not into compiler programming i just installed gcc
2.7.x from the SMC distribution. 
This worked out of the box.

NB. I checked in a makefile for creating the pkg package on solaris in
the directory pkg. 
There you can find a discription on how to build a pkg file. I decided
to install under /opt/GNUgrass, as i think that the policy with Sun
Solaris is that all packages not belonging to the system should install
under /opt. One should strip the binaries before packaging, so that the
size goes down to ~35 MB rather than 85 MB. I have provided other files
too, e. g. a copyright file, checkinst scripts (that check that one does
not accidently install a x86 package on SPARC or vice versa). If you
need help, please contact me via pm.

NB2. The pkginst binary distribution is IMHO linked statically with
FFTW, so if you do not want to compile anything locally, one does not
need: fftw, autoconf, automake, binutils, bison, flex, gcc, m4, make,
mysql, tar, tkinfo. Not sure about gdbm and perl, if everything is built
against Postgresql and unixODBC (nviz) one needs these. What about the
libraries for nviz? I remember that one has to install some libraries
for openGL (may depend on the installation). 

HTH,

Andreas

-- 
Andreas Lange, 65187 Wiesbaden, Germany, Tel. +49 611 807850
url: http://mitglied.tripod.de/AndreasLange
mail: Andreas.Lange_at_Rhein-Main.de - A.C.Lange_at_GMX.net



More information about the grass-dev mailing list