[GRASS5] GRASS 6.0.1 compilation on Suse 9.1

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:

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.

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

__________________________________
Yahoo! for Good - Make a difference this year.
http://brand.yahoo.com/cybergivingweek2005/

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@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/

I have solved the problem by installing gdal-devel package.
Thank you very much Maciek.

Best Regards
Muzaffer…

Maciek Sieczka werchowyna@epf.pl wrote:

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@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/


grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5


Yahoo! for Good - Make a difference this year.

Muzaffer Ayvaz wrote:

  --with-motif-includes=/usr/X11R6/include/Xm \

This isn't related to your problems, but the above is incorrect. It
should be --with-motif-includes=/usr/X11R6/include; the "Xm" is part
of the header name (i.e. headers are referenced as e.g. <Xm/Frame.h>).

--
Glynn Clements <glynn@gclements.plus.com>