[GRASS-dev] compiling gdal-grass plugin with GRASS 7.0

Hi,

I am trying to compile the gdal-grass plugin with GRASS 7.0, using:

./configure --with-gdal=/usr/local/gdal1.9/bin/gdal-config --with-grass=/usr/local/grass7/grass-7.0.svn

However, I am getting the error message that

“configure: error: --with-grass=/usr/local/grass7/grass-7.0.svn requested, but libraries not found! Perhaps you need to set LD_LIBRARY_PATH to include /usr/local/grass7/grass-7.0.svn/lib?”

I have set the library path though, using the below

echo “/usr/local/grass7/grass-7.0.svn/lib” > grass7.conf
sudo mv grass7.conf /etc/ld.so.conf.d
cd /etc/ld.so.conf.d
sudo ldconfig

Also, when configuring with grass6.4:

./configure --with-gdal=/usr/local/gdal1.9/bin/gdal-config --with-grass=/usr/local/grass6.4/grass-6.4.2svn

the gdal-grass plugin compiles without problems.

Rgds,

Paulo

On Tue, Apr 24, 2012 at 11:14 AM, Paulo van Breugel
<p.vanbreugel@gmail.com> wrote:

Hi,

I am trying to compile the gdal-grass plugin with GRASS 7.0, using:

./configure --with-gdal=/usr/local/gdal1.9/bin/gdal-config
--with-grass=/usr/local/grass7/grass-7.0.svn

I guess that GDAL is not ready for GRASS 7. There is a ticket
for that which has been closed (wrongly IMHO):

http://trac.osgeo.org/gdal/ticket/2953

Perhaps that gives some insights.

Markus

Hi,

Same problem here, I was trying to close a ticket about this and seems that it is not possible at this moment...
https://bugzilla.novell.com/show_bug.cgi?id=723890

I agree that gdal ticket should be reopened.

Cheers,
Angelos

On 04/24/2012 11:28 PM, Markus Neteler wrote:

On Tue, Apr 24, 2012 at 11:14 AM, Paulo van Breugel
<p.vanbreugel@gmail.com> wrote:

Hi,

I am trying to compile the gdal-grass plugin with GRASS 7.0, using:

./configure --with-gdal=/usr/local/gdal1.9/bin/gdal-config
--with-grass=/usr/local/grass7/grass-7.0.svn

I guess that GDAL is not ready for GRASS 7. There is a ticket
for that which has been closed (wrongly IMHO):

http://trac.osgeo.org/gdal/ticket/2953

Perhaps that gives some insights.

Markus
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

--
Angelos Tzotsos
Remote Sensing Laboratory
National Technical University of Athens
http://users.ntua.gr/tzotsos