Hello,
I've problem running r.in.gdal command, can anyone help me?
this is my comman line:
GRASS:~ > r.in.gdal input=/home/mcannata/PHL.gif output=radar
Segmentation fault
GRASS:~ >
a message in /var/mail/mcannata advice me that:
GIS ERROR: Unable to initialize GDAL bridge (check libgdal installation/LD_LIBRARY_PATH variable)
I try to reinstall r.in.gdal command:
[root@maxi r.in.gdal]# gmake5 -i
SRC = /home/mcannata/tmp/grass5.0.2/src
CMD = /home/mcannata/tmp/grass5.0.2/src/CMD
UNUSED = /home/mcannata/tmp/grass5.0.2/unused
HEADER = head.i686-pc-linux-gnu
ARCH = i686-pc-linux-gnu
GISBASE = /home/mcannata/tmp/grass5.0.2/dist.i686-pc-linux-gnu
VERSION = 5.0.2 April 2003
#################################################################
/home/mcannata/tmp/grass5.0.2/src/raster/r.in.gdal
make -f OBJ.i686-pc-linux-gnu/make.rules
make: `/home/mcannata/tmp/grass5.0.2/dist.i686-pc-linux-gnu/etc/bin/cmd/r.in.gdal' is up to date.
make -f OBJ.i686-pc-linux-gnu/make2.rules
make: `/usr/local//grass5/etc/bin/cmd/r.in.gdal' is up to date.
do I miss something in my configuration? How to check it?
Thanks a lot.
--------------------------------------
Eng. Massimiliano Cannata
Phd student
www.supsi.ch
I also check that my /etc/ld.so.conf have the /usr/local/lib in and i also run
/sbin/ldconfig but nothing changed.
Do I have to do "make distclean" and then run "./configure --with-gdal
.........." ?
"Cannata, Massimiliano" wrote:
Hello,
I've problem running r.in.gdal command, can anyone help
me?
this is my comman line:
GRASS:~ > r.in.gdal input=/home/mcannata/PHL.gif
output=radar
Segmentation fault
GRASS:~ >
a message in /var/mail/mcannata advice me that:
GIS ERROR: Unable to initialize GDAL bridge (check libgdal
installation/LD_LIBRARY_PATH variable)
I try to reinstall r.in.gdal command:
[root@maxi r.in.gdal]# gmake5 -i
SRC = /home/mcannata/tmp/grass5.0.2/src
CMD = /home/mcannata/tmp/grass5.0.2/src/CMD
UNUSED = /home/mcannata/tmp/grass5.0.2/unused
HEADER = head.i686-pc-linux-gnu
ARCH = i686-pc-linux-gnu
GISBASE =
/home/mcannata/tmp/grass5.0.2/dist.i686-pc-linux-gnu
VERSION = 5.0.2 April 2003
#################################################################
/home/mcannata/tmp/grass5.0.2/src/raster/r.in.gdal
make -f OBJ.i686-pc-linux-gnu/make.rules
make:
`/home/mcannata/tmp/grass5.0.2/dist.i686-pc-linux-gnu/etc/bin/cmd/r.in.gdal'
is up to date.
make -f OBJ.i686-pc-linux-gnu/make2.rules
make: `/usr/local//grass5/etc/bin/cmd/r.in.gdal' is up to
date.
do I miss something in my configuration? How to check it?
Thanks a lot.
--------------------------------------
Eng. Massimiliano Cannata
Phd student
www.supsi.ch
--
-------------
note: change my e-mail reference to massimiliano.cannata@supsi.ch
because the old one will be deleted soon.
-------------
Ing. Massimiliano Cannata
Istituto di Scienze della Terra - SUPSI
C.P. 72 - CH-6952 Canobbio (Ticino, Switzerland)
Tel +41 91 /935 12 25 - Fax +41 91 /935 12 09
eMail: massimiliano.cannata@supsi.ch
Internet: http://www.ist.supsi.ch
On Wed, 17 Sep 2003, Massimiliano Cannata wrote:
I also check that my /etc/ld.so.conf have the /usr/local/lib in and i also run
/sbin/ldconfig but nothing changed.
Do I have to do "make distclean" and then run "./configure --with-gdal
.........." ?
Give it a try. If you have GDAL installed before you compile GRASS there
is no reason not to do that as far as I am aware. The last person who was
going to try this never got back to the list to say how he got on and I
tried e-mailing him but it bounced, so it would be good to get feedback.
Is the file available somewhere we could download and test it (if possible)?
Paul Kelly
After i do:
- configure distclean
- configure (--with-gdal)
- make
- make install
now it works correctly.
Thanks
Paul Kelly wrote:
On Wed, 17 Sep 2003, Massimiliano Cannata wrote:
> I also check that my /etc/ld.so.conf have the /usr/local/lib in and i also run
> /sbin/ldconfig but nothing changed.
> Do I have to do "make distclean" and then run "./configure --with-gdal
> .........." ?
Give it a try. If you have GDAL installed before you compile GRASS there
is no reason not to do that as far as I am aware. The last person who was
going to try this never got back to the list to say how he got on and I
tried e-mailing him but it bounced, so it would be good to get feedback.
Is the file available somewhere we could download and test it (if possible)?
Paul Kelly
--
-------------
note: change my e-mail reference to massimiliano.cannata@supsi.ch
because the old one will be deleted soon.
-------------
Ing. Massimiliano Cannata
Istituto di Scienze della Terra - SUPSI
C.P. 72 - CH-6952 Canobbio (Ticino, Switzerland)
Tel +41 91 /935 12 25 - Fax +41 91 /935 12 09
eMail: massimiliano.cannata@supsi.ch
Internet: http://www.ist.supsi.ch