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 :-/
Thanks
Jachym
--
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub
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@gmail.com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub
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.
but i get the problem while running the configure script - how 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 it, but did not found anything similar to it. Am I
supposed to create one in /etc/ld.conf manualy?
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
thank you for the 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@gmail.com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub