[GRASS5] GRASS 6.0.1 compilation on Suse 9.1

Maciek Sieczka werchowyna at epf.pl
Tue Dec 27 11:34:27 EST 2005


On wto, 2005-12-27 at 06:09 -0800, Muzaffer Ayvaz wrote:
> Hi all;
> 
> I have downloaded grass-6.0.1 sources from the
> grass.itc.it download site, and try to compile on Suse
> 9.1 with;
> 
> export CFLAGS='-g -Wall'
> 
> ./configure \
>   --with-cxx \
>   --with-gdal=/usr/local/bin/gdal-config \
>   --with-postgres-includes=/usr/include/pgsql
> --with-postgres-libs=/usr/lib \
>   --without-mysql \
>   --without-odbc \
>   --with-motif \
>   --with-motif-includes=/usr/X11R6/include/Xm \
>   --with-glw \
>   --with-nls \
>   --with-fftw --with-fftw-libs=/usr/local/lib \
>   --with-freetype
> --with-freetype-includes=/usr/include/freetype2 \
>   --enable-largefile \
>   --with-opendwg
> --with-opendwg-includes=/ssi0/ssi/neteler/software/openDWG
> \
>  
> --with-opendwg-libs=/ssi0/ssi/neteler/software/openDWG
> 
> This is the conf61_linux.sh file of Markus Neteler.
> But an error occured:

You have to customize the ./configure syntax: set --with... only for
pieces you need, put _your_ real paths to where your software is
installed. 

> 
> checking whether to use GDAL... yes
> yes
> checking for gdal-config... /usr/local/bin/gdal-config
> ./configure: line 1: /usr/local/bin/gdal-config: No
> such file or directory
> ./configure: line 1: /usr/local/bin/gdal-config: No
> such file or directory
> ./configure: line 1: /usr/local/bin/gdal-config: No
> such file or directory
> ./configure: line 1: /usr/local/bin/gdal-config: No
> such file or directory
> ./configure: line 7118: test: =: unary operator
> expected
> checking for GDALOpen... no
> checking for GDALOpen... no
> configure: error: *** Unable to locate GDAL library.
> 
> Before I had install grass 6.0.1 from the rpm packages
> and works fine.I had also download both gdal-1.3.1 and
> gadl-grass-1.3.1.1 from the rpm packes. But there is
> not a file named "gdal-config" in my computer
> anywhere.

You propably need a developement package for GDAL which is called like
libgdal-dev or similar (depending on a given linux distro). The same for
all the other software which Grass depends on - you need development
packages if you build from source.

> How can I solve this problem?
> Thank you for all...
> Muzaffer...

P.S.

Better ask on grasslist at baylor.edu which is for user support. This list
is for development issues mainly.

Good Luck
Maciek


--------------------
W polskim Internecie s± setki milionów stron. My przekazujemy Tobie tylko najlepsze z nich!
http://katalog.panoramainternetu.pl/




More information about the grass-dev mailing list