[GRASSLIST:5335] Re: Compiling grass5.0.0 RedHat 8.0

H. Bowman ihatejunkyabastards at yahoo.com
Mon Jan 20 03:10:15 EST 2003


> > I'm wondering if anybody tried compilng grass5.0.0 under redhat8.0.
>
> I'm sorry, my question of yesterday seemed premature. I've compiled 
> grass5.0.0 now with postgres and ODBC on Redhat8.0 with gcc3.2 and
> it's working.



sorry if this is a bit late, but if it helps anybody else:

Redhat 8.0 with a Pentium II+ based processor:
(freetype & gdbm are now standard RPMs, need to compile fftw)

CFLAGS="-O3 -march=pentiumpro -mcpu=pentiumpro -Wall" LDFLAGS="-s" \
     ./configure \
	--with-postgres-includes=/usr/include/pgsql/server \
        --with-motif \
	--with-motif-includes=/usr/X11R6/LessTif/Motif1.2/include/ \
	--with-motif-libs=/usr/X11R6/LessTif/Motif1.2/lib/ \
        --with-blas \
        --with-lapack \
        --with-glw \
        --with-dbm \
	--with-dbm-includes=/usr/include/gdbm \
        --with-readline \
	--with-freetype \
	--with-freetype-includes=/usr/include/freetype2

make
make install


misc RH8.0 reqs:  (may not be complete)
postgresql-7.2.2-1.i386.rpm 
postgresql-odbc-7.2.2-1.i386.rpm 
postgresql-server-7.2.2-1.i386.rpm 
lesstif-0.93.18-5.i386.rpm 
blas-3.0-18.i386.rpm 
lapack-3.0-18.i386.rpm 
readline-4.3-3.i386.rpm 
libjpeg-6b-21.i386.rpm 
libjpeg-devel-6b-21.i386.rpm 
libtiff-3.5.7-7.i386.rpm 
libtiff-devel-3.5.7-7.i386.rpm 
libpng-1.2.2-6.i386.rpm 
libpng-devel-1.2.2-6.i386.rpm 
gd-1.8.4-9.i386.rpm 
gd-devel-1.8.4-9.i386.rpm 
tk-8.3.3-74.i386.rpm 
postgresql-devel-7.2.2-1.i386.rpm 
XFree86-Mesa-libGL-4.2.0-72.i386.rpm 
XFree86-Mesa-libGLU
XFree86-Mesa-libGLU-4.2.0-72.i386.rpm 
XFree86-devel-4.2.0-72.i386.rpm 
postgresql-odbc-7.2.2-1.i386.rpm 
unixODBC-2.2.2-3.i386.rpm 
unixODBC-devel-2.2.2-3.i386.rpm 
gdbm-devel-1.8.0-18.i386.rpm 
postfix-1.1.11-5.i386.rpm 
lesstif-devel-0.93.18-5.i386.rpm 
freetype-devel-2.1.2-7.i386.rpm 



g'luck.




More information about the grass-user mailing list