[GRASS-dev] Re: [GRASS-user] installation problems in user space

Abhinandan Raghavan wrote:

continuing with my woes while trying to install grass, I've managed to
install gdal but when I try and compile grass, I get this message:

------------------
checking for jpeg_start_compress in -ljpeg... yes
checking whether to use GDAL... yes
yes
checking for gdal-config... no
configure: error: *** couldn't find gdal-config
------------------

the options that I've used for the compilation are:

a) --with-proj-includes
b) --with-proj-libs
c) --with-proj-share
d) --with-gdal

I'm not sure if something is being missed out. If you are aware of anything
else that might have gone wrong, then let me know. I use --with-gdal to
point to the correct gdal-config file but I still get the message "couldn't
find gdal-config".

Contrary to the help text for --with-gdal, the argument is ignored.
The configure script locates the first executable (binary or script)
named gdal-config in $PATH.

If gdal-config exists in $PATH, and is executable, check the
config.log file for relevant error messages.

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

Abhinandan Raghavan wrote:

However, when I run make for grass, I get:

Errors in: /home/abhi/lib/grass/visualization/nviz
--
Finished compilation: Tue Jul 1 10:56:29 CEST 2008
(In case of errors please change into the directory with error and run
'make')
make: *** [default] Error 1

I tried going into "/home/abhi/lib/grass/visualization/nviz" and running
make there and I get the following error:

make[1]: *** [OBJ.x86_64-unknown-linux-gnu/nvizAppInit.o] Error 1
make[1]: Leaving directory `/home/abhi/lib/grass/visualization/nviz/src'
make: *** [nvwish] Error 2

I need to see the lines before that; everything from the last gcc
command onward.

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

Thanks for that Glynn. I added the directory with gdal-config to my path and it configured fine (relief!).

However, when I run make for grass, I get:

Errors in: /home/abhi/lib/grass/visualization/nviz

Finished compilation: Tue Jul 1 10:56:29 CEST 2008
(In case of errors please change into the directory with error and run ‘make’)
make: *** [default] Error 1

I tried going into “/home/abhi/lib/grass/visualization/nviz” and running make there and I get the following error:

make[1]: *** [OBJ.x86_64-unknown-linux-gnu/nvizAppInit.o] Error 1
make[1]: Leaving directory `/home/abhi/lib/grass/visualization/nviz/src’
make: *** [nvwish] Error 2

Any clues on what has to be done to progress to other errors :wink:

Thanks.

Abhi

On Mon, Jun 30, 2008 at 8:57 PM, Glynn Clements <glynn@gclements.plus.com> wrote:

Abhinandan Raghavan wrote:

continuing with my woes while trying to install grass, I’ve managed to
install gdal but when I try and compile grass, I get this message:


checking for jpeg_start_compress in -ljpeg… yes
checking whether to use GDAL… yes
yes
checking for gdal-config… no
configure: error: *** couldn’t find gdal-config

the options that I’ve used for the compilation are:

a) --with-proj-includes
b) --with-proj-libs
c) --with-proj-share
d) --with-gdal

I’m not sure if something is being missed out. If you are aware of anything
else that might have gone wrong, then let me know. I use --with-gdal to
point to the correct gdal-config file but I still get the message “couldn’t
find gdal-config”.

Contrary to the help text for --with-gdal, the argument is ignored.
The configure script locates the first executable (binary or script)
named gdal-config in $PATH.

If gdal-config exists in $PATH, and is executable, check the
config.log file for relevant error messages.


Glynn Clements <glynn@gclements.plus.com>