[GRASS-user] Installing GRASS on Ubuntu: compilation error

Rashad M mohammedrashadkm at gmail.com
Thu Jun 13 09:47:17 PDT 2013


Hi Richard,

I had the same problem sometime ago it was due to multiple gdal version
installed:
/usr/lib/
/usr/local/lib/

please see this thread -
http://lists.osgeo.org/pipermail/grass-dev/2013-May/063755.html


On Thu, Jun 13, 2013 at 9:23 PM, RichardC <richtcooper at hotmail.com> wrote:

> Configure proceeds without error after removing
> --with-gdal=/home/rcooper/grass7/bin/gdal-config
>
> However, I receive the following error re running configure for
> gdal-grass-1.4.3 $ ./configure \
> >  --prefix=/home/rcooper/grass7 \
> >  --with-gdal=/home/rcooper/grass7/bin/gdal-config \
> >  --with-grass=/home/rcooper/grass7/grass7_trunk/ \
> >  --with-autoload="/usr/local/lib/gdalplugins/" \
> >  --with-ld-shared="g++ -shared"
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking for ranlib... ranlib
> using user supplied .so link command ... g++ -shared
> user supplied gdal-config (/home/rcooper/grass7/bin/gdal-config)
> using /usr/local/lib/gdalplugins/ as GDAL shared library autoload directory
> checking for G_asprintf in -lgrass_gis... no
> configure: error: --with-grass=/home/rcooper/grass7/grass7_trunk/
> requested,
> but libraries not found!  Perhaps you need to set LD_LIBRARY_PATH to
> include
> /home/rcooper/grass7/grass7_trunk//lib?
>
>
> I believe I can set the PATH by modifying .profile in Ubuntu.
>
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Installing-GRASS-on-Ubuntu-compilation-error-tp5059904p5059973.html
> Sent from the Grass - Users mailing list archive at Nabble.com.
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>



-- 
Regards,
   Rashad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20130613/fe1c5252/attachment.html>


More information about the grass-user mailing list