[GRASS-dev] gdal --with-grass on solaris

Jachym Cepicky jachym.cepicky at gmail.com
Wed Jun 6 15:26:27 EDT 2007


hi,

Brad Douglas píše v Út 05. 06. 2007 v 18:18 -0700:
> A couple suggestions:

> 
> `ldd` some of the GRASS libraries to ensure that there are no missing
> library dependencies.

well, I'm having problems while running configure script - how am I
supposed to apply ldd on it?

> 
> It may be beneficial to just add $YOUR_GRASS_PATH/lib to ld.conf since
> you'll most likely have to anyway to run GRASS.

I was searching for any ld.conf file, but did not found any :-/ could
you point me to right place?

> 
> Are there any required software that has multiple versions installed?

as far as I know, no, there are not

> Solaris is pretty good at confusing stuff like that.

agree 

thanks for your reply

jachym
> 
> On Sat, 2007-06-02 at 15:51 +0000, Jachym Cepicky wrote:
> > hi,
> > 
> > I try co compile GDAL --with-grass support on
> > 
> > SunOS ul-wrk2 5.10 Generic_118833-03 sun4u sparc SUNW,A70 Solaris
> > gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
> > GNU Make 3.80
> > automake (GNU automake) 1.8.3
> > autoconf (GNU Autoconf) 2.59
> > 
> > and it does not work:
> > 
> > 1) I managed to compile gdal with
> >  ./configure
> > make
> > make install
> > 
> > 2) I managed to install grass with
> > 
> > ./configure  --with-proj-libs=/usr/local/lib/
> > --with-postgres-includes=/usr/local/pgsql/include/
> > --with-postgres-libs=/usr/local/pgsql/lib/ --without-fftw
> > --with-tcltk-includes=/usr/local/include/
> > --with-tcltk-libs=/usr/local/lib/
> > make
> > make install
> > 
> > 3) I would like to install gdal --with-grass, however
> > 
> > ./configure --with-grass=/usr/local/grass-6.2.2RC1/
> > [....]
> > checking dynamic linker characteristics... f90: Warning: Option
> > -print-search-dirs passed to ld, if ld is invoked, ignored otherwise
> > Usage: f90 [ options ] files.  Use 'f90 -flags' for details
> > solaris2.10 ld.so
> > [....]
> > checking for pg_config... no
> > checking for PostgreSQL... no
> > checking for G_asprintf in -lgrass_gis... no
> > configure: error: --with-grass=/usr/local/grass-6.2.2RC1/ requested,
> > but libraries not found!
> > 
> > but
> > 
> > ls /usr/local/grass-6.2.2RC1/
> > bin  bwidget  docs  driver  etc  fonts  include  lib  man  scripts
> > 
> > and
> > 
> > echo $LD_LIBRARY_PATH
> > /usr/local/grass-6.2.2RC1/lib/
> > 
> > could anybody give me advice, how to approach on this operating
> > system? On linux, it works :-/
> 
> 
-- 
Jachym Cepicky
e-mail: jachym.cepicky at gmail.com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20070606/0fbe70d0/attachment.bin


More information about the grass-dev mailing list