[GRASSLIST:9472] Re: Problem installing gdal-grass-1.3.1

Its still the same problem. But i'm running another Version (6.0.1). There is no "grass-6.x.x.cvs in /usr/local/grass-6.0.1/. But I don't think that this is the problem.

@Luca: It is doing good, not to be alone :stuck_out_tongue_winking_eye:
Please post it, when you get it on your own.

Luca Casagrande wrote:

Alle 17:34, martedì 13 dicembre 2005, Hernán De Angelis ha scritto:

Maik,

I did my installation last weekend. I did the following configure:

./configure --prefix=/usr/local/gdal-grass-1.3.1
--with-gdal=/usr/local/gdal/bin/gdal-config
--with-grass=/usr/local/grass-6.1.0/grass-6.1.cvs

and everything went smoothly. In my box, these two files were installed in:

/usr/local/gdal-1.3.1/lib/gdalplugins

I am not an expert but I guess that in your case something was left from a
previous failed attempt to install. I think it would be a good idea to do a
"make distclean" on the source directory of gdal-grass and start a new
build.

Good luck!

Hernán

El Martes 13 Diciembre 2005 15.49, Maik Trömel escribió:
  

I had a look on the "Makefile"

Line 49:
GLIBNAME = gdal_GRASS.so
OLIBNAME = ogr_GRASS.so

default: $(GLIBNAME) $(OLIBNAME)

install: default
      install -d $(AUTOLOAD_DIR)
      cp $(GLIBNAME) $(AUTOLOAD_DIR)
      cp $(OLIBNAME) $(AUTOLOAD_DIR)

The error occures when trying to copy gdal_GRASS.so to $(AUTOLOAD_DIR).
I can't find gdal_GRASS.so . But why isn't it where it should be. Where
should I find this file? Is it from gdal_grass-package or from another
package? Where is it initialised?

Anybody an idea?

Greetings
Maik

Maik Trömel wrote:
    

Thanks for your support,
I had a look on the "Makefile"

Line 49:
GLIBNAME = gdal_GRASS.so
OLIBNAME = ogr_GRASS.so

default: $(GLIBNAME) $(OLIBNAME)

install: default
      install -d $(AUTOLOAD_DIR)
      cp $(GLIBNAME) $(AUTOLOAD_DIR)
      cp $(OLIBNAME) $(AUTOLOAD_DIR)

The error occures when trying to copy gdal_GRASS.so to $(AUTOLOAD_DIR).
I can't find gdal_GRASS.so . But why isn't it where it should be.
Where should I find this file? Is it from gdal_grass-package or from
another package? Where is it initialised?

Anybody an idea?

Greetings
Maik

Maik Trömel wrote:
      

Thanks for your support,

Hamish wrote:
        

installing GRASS-6.0.1 from tar.gz I got a problem with
gdal-grass-1.3.1.
            
To begin with, try the gdal-grass-1.3.1.1 version. (there was a bug
in 1.3.1 release)

http://www.gdal.org/dl/gdal-grass-1.3.1.1.tar.gz
          
I tried it: Same problem.

Hamish
          
Hernán De Angelis wrote:
        
Maik,

Are your GRASS and GDAL in standard directories? If not, if you only
did
./configure
without specifying
--with-grass=/your/path/to/grass/

and

--with-gdal=/your/path/to/gdal/bin/gdal-config
          
I ran it this way. I think thats not the problem.

it will never work. In that case you might also need to make the
libraries accesible in /etc/ld.so.conf (and run "ldconfig" as root
after that)
          
I have updated /etc/ld.so.conf and run ldconfig. It has no influence
on the problem.

Hope this helps

Hernán

El Lunes 12 Diciembre 2005 11.13, Maik Trömel escribió:
          

Hello GRASS-Users,

installing GRASS-6.0.1 from tar.gz I got a problem with
gdal-grass-1.3.1.
I run:
./configure -> no problem
make -> no problem
make install (as root):

[...]

install -d /usr/lib/gdalplugins
cp gdal_GRASS.so /usr/lib/gdalplugins
cp: cannot stat `gdal_GRASS.so': No such file or directory
make: *** [install] Error 1
              
Anybody an idea what the problem could be?

Thanks for help!

Maik
            

Hamish wrote:
      

installing GRASS-6.0.1 from tar.gz I got a problem with
gdal-grass-1.3.1.
          
To begin with, try the gdal-grass-1.3.1.1 version. (there was a bug in
1.3.1 release)

http://www.gdal.org/dl/gdal-grass-1.3.1.1.tar.gz
        
I tried it: Same problem.

Hamish
        
Hernán De Angelis wrote:
      
Maik,

Are your GRASS and GDAL in standard directories? If not, if you only
did ./configure
without specifying
--with-grass=/your/path/to/grass/

and

--with-gdal=/your/path/to/gdal/bin/gdal-config
        
I ran it this way. I think thats not the problem.

it will never work. In that case you might also need to make the
libraries accesible in /etc/ld.so.conf (and run "ldconfig" as root
after that)
        
I have updated /etc/ld.so.conf and run ldconfig. It has no influence
on the problem.

Hope this helps

Hernán

El Lunes 12 Diciembre 2005 11.13, Maik Trömel escribió:
        

Hello GRASS-Users,

installing GRASS-6.0.1 from tar.gz I got a problem with
gdal-grass-1.3.1.
I run:
./configure -> no problem
make -> no problem
make install (as root):

[...]

install -d /usr/lib/gdalplugins
cp gdal_GRASS.so /usr/lib/gdalplugins
cp: cannot stat `gdal_GRASS.so': No such file or directory
make: *** [install] Error 1
            
Anybody an idea what the problem could be?

Thanks for help!

Maik
          
I tryed with your same configure and after a DEEP clean, but the error it's the same...

Thx
Luca