[GRASS-dev] compile gdal plugin

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all.
I recompiled today's grass-6.1beta1, then recompiled the gdal-grass
plugin with:
./configure --with-grass=/usr/local/grass-6.1.0beta1
- --with-autoload=/usr/local/lib/gdalplugins --with-ld-shared="g++ -shared"
but I get this error:
checking for G_asprintf in -lgrass_gis... no
configure: error: --with-grass=/usr/local/grass-6.1.0beta1 requested,
but libraries not found!
but:
# ls -l /usr/local/grass-6.1.0beta1/
totale 64
drwxr-xr-x 2 root root 16384 2006-07-20 16:18 bin
drwxr-xr-x 4 root root 4096 2006-07-20 16:18 bwidget
drwxr-xr-x 3 root root 4096 2006-06-11 07:27 docs
drwxr-xr-x 3 root root 4096 2006-07-20 16:18 driver
drwxr-xr-x 24 root root 4096 2006-07-20 16:18 etc
drwxr-xr-x 2 root root 4096 2006-07-20 16:18 fonts
drwxr-xr-x 3 root root 4096 2006-07-20 16:18 include
drwxr-xr-x 2 root root 12288 2006-07-20 16:18 lib
drwxr-xr-x 19 root root 4096 2006-06-11 07:56 locale
drwxr-xr-x 3 root root 4096 2006-06-11 07:55 man
drwxr-xr-x 2 root root 4096 2006-07-20 16:18 scripts
Any hints?
All the best, and many thanks.
pc
- --
Paolo Cavallini
email+jabber: cavallini@faunalia.it
www.faunalia.it
Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy Tel: (+39)348-3801953
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEv6Yg/NedwLUzIr4RAjLoAJ4ic6DjBsxGku9buzawVe9Ok2XrGwCfV4JO
kvuViErZiVr99hHVoSDw+0o=
=/0+F
-----END PGP SIGNATURE-----

Paolo Cavallini wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all.
I recompiled today's grass-6.1beta1, then recompiled the gdal-grass
plugin with:
./configure --with-grass=/usr/local/grass-6.1.0beta1
- --with-autoload=/usr/local/lib/gdalplugins --with-ld-shared="g++ -shared"
but I get this error:
checking for G_asprintf in -lgrass_gis... no
configure: error: --with-grass=/usr/local/grass-6.1.0beta1 requested,
but libraries not found!

Paolo,

I did:

configure --with-gdal=/usr/local/bin/gdal-config
           --with-grass=/usr/local/grass-6.1.0beta1

and it seemed to work fine on my machine.

I think you will need to scan config.log to see what went wrong. If you
want, you can forward it to me, and I'll take a look.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGF, http://osgeo.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I confirm, even after recompiling grassand using
configure --with-gdal=/usr/local/bin/gdal-config
          --with-grass=/usr/local/grass-6.1.0beta1
I get the same error. Also, qgis does not load grass plugin:
ERROR 1: libgrass_I.so: cannot open shared object file: No such file or
directory

Thanks for your interest.
pc

Frank Warmerdam wrote:

Paolo Cavallini wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all.
I recompiled today's grass-6.1beta1, then recompiled the gdal-grass
plugin with:
./configure --with-grass=/usr/local/grass-6.1.0beta1
- --with-autoload=/usr/local/lib/gdalplugins --with-ld-shared="g++
-shared"
but I get this error:
checking for G_asprintf in -lgrass_gis... no
configure: error: --with-grass=/usr/local/grass-6.1.0beta1 requested,
but libraries not found!

Paolo,

I did:

configure --with-gdal=/usr/local/bin/gdal-config
          --with-grass=/usr/local/grass-6.1.0beta1

and it seemed to work fine on my machine.

I think you will need to scan config.log to see what went wrong. If you
want, you can forward it to me, and I'll take a look.

Best regards,

- --
Paolo Cavallini
email+jabber: cavallini@faunalia.it
www.faunalia.it
Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy Tel: (+39)348-3801953
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEv71i/NedwLUzIr4RAlfyAJ9b0zehpEvyaxl8qSc/h2a9opEosACfYGm/
KxAAUS/YIJeAK5/nocrrW4s=
=IALC
-----END PGP SIGNATURE-----

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sorry - my fault: I forgot to update /etc/ld.so.conf.
Now it works well.
All the best.
pc

Paolo Cavallini wrote:

I confirm, even after recompiling grassand using
configure --with-gdal=/usr/local/bin/gdal-config
          --with-grass=/usr/local/grass-6.1.0beta1
I get the same error. Also, qgis does not load grass plugin:
ERROR 1: libgrass_I.so: cannot open shared object file: No such file or
directory

Thanks for your interest.
pc

- --
Paolo Cavallini
email+jabber: cavallini@faunalia.it
www.faunalia.it
Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy Tel: (+39)348-3801953
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEv79X/NedwLUzIr4RAjlvAJ9oL8B5zUEhazKOnJtVvMbuJUM5cACgq4eY
ciumJeDFG/QnGK8yngKVcTQ=
=GbAN
-----END PGP SIGNATURE-----

ciao Paolo,

as Frank wrote:
"you will need to scan config.log to see what went wrong"

no other way...

Markus

On Thu, Jul 20, 2006 at 07:29:06PM +0200, Paolo Cavallini wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I confirm, even after recompiling grassand using
configure --with-gdal=/usr/local/bin/gdal-config
          --with-grass=/usr/local/grass-6.1.0beta1
I get the same error. Also, qgis does not load grass plugin:
ERROR 1: libgrass_I.so: cannot open shared object file: No such file or
directory

Thanks for your interest.
pc

Frank Warmerdam wrote:
> Paolo Cavallini wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hi all.
>> I recompiled today's grass-6.1beta1, then recompiled the gdal-grass
>> plugin with:
>> ./configure --with-grass=/usr/local/grass-6.1.0beta1
>> - --with-autoload=/usr/local/lib/gdalplugins --with-ld-shared="g++
>> -shared"
>> but I get this error:
>> checking for G_asprintf in -lgrass_gis... no
>> configure: error: --with-grass=/usr/local/grass-6.1.0beta1 requested,
>> but libraries not found!
>
> Paolo,
>
> I did:
>
> configure --with-gdal=/usr/local/bin/gdal-config
> --with-grass=/usr/local/grass-6.1.0beta1
>
> and it seemed to work fine on my machine.
>
> I think you will need to scan config.log to see what went wrong. If you
> want, you can forward it to me, and I'll take a look.
>
> Best regards,

- --
Paolo Cavallini
email+jabber: cavallini@faunalia.it
www.faunalia.it
Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy Tel: (+39)348-3801953
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEv71i/NedwLUzIr4RAlfyAJ9b0zehpEvyaxl8qSc/h2a9opEosACfYGm/
KxAAUS/YIJeAK5/nocrrW4s=
=IALC
-----END PGP SIGNATURE-----

_______________________________________________
grass-dev mailing list
grass-dev@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass-dev

--
Markus Neteler <neteler itc it> http://mpa.itc.it/markus/
ITC-irst - Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18 - 38050 Povo (Trento), Italy