[GRASS-user] Error in compilation of GRASS 7 in Ubuntu 12.10

Hello,

In the step of configure GDAL-GRASS plugin for point to GRASS installation/binaries (http://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu#GRASS_GIS) appeared this error:

“configure: error: --with-grass=/usr/local/src/grass_trunk/dist.x86_64-unknown-linux-gnu/ requested, but libraries not found! Perhaps you need to set LD_LIBRARY_PATH to include /usr/local/src/grass_trunk/dist.x86_64-unknown-linux-gnu//lib?”

Then, i tried to solve this error with:

  1. Creation of a new file grass7.conf (with editor) and copy this file to etc/ld.so.conf.d

grass7.conf contain:

sudo
/usr/local/src/grass_trunk
/usr/local/src/grass_trunk/dist.x86_64-unknown-linux-gnu/lib
ldconfig
exit

  1. and i’m running the configure again
    ./configure
    –prefix=/usr/local
    –with-gdal=/usr/local/bin/gdal-config
    –with-grass=/usr/local/src/grass_trunk/dist.x86_64-unknown-linux-gnu/
    –with-autoload=“/usr/lib/gdalplugins/”
    –with-ld-shared=“g++ -shared”

What I’m doing wrong?

Thanks

Carla Rebelo

On Thu, Apr 4, 2013 at 5:56 PM, Carla Rebelo <crrebelo@gmail.com> wrote:

In the step of configure GDAL-GRASS plugin for point to GRASS
installation/binaries
(http://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu#GRASS_GIS)
appeared this error:

"configure: error:
--with-grass=/usr/local/src/grass_trunk/dist.x86_64-unknown-linux-gnu/

                                          ^^^^^^^^^^^^^... trunk!

requested, but libraries not found! Perhaps you need to set LD_LIBRARY_PATH
to include /usr/local/src/grass_trunk/dist.x86_64-unknown-linux-gnu//lib?"

To my knowledge, the GDAL-GRASS plugin is still for GRASS 6 only...

Maybe you need to express your interest to get GDAL ticket #2953
http://trac.osgeo.org/gdal/ticket/2953

closed... Or try the patch attached to it (likely it needs an update and to be
updated in the ticket).

Markus