[GRASS-dev] compilation of grass on solaris
Jachym Cepicky
jachym.cepicky at gmail.com
Tue Aug 28 06:12:07 EDT 2007
hi,
i try to get GRASS 6.2.2. running on SunOS os-wrk2 5.10
Generic_118833-20 sun4u sparc SUNW,A70 but the compilation failes
./configure --with-postgres-includes=/usr/include/pgsql/
--with-fftw-includes=/usr/local/ --with-freetype
--with-freetype-includes=/usr/local/include/freetype2/ --with-cxx
--srcdir=`pwd` --with-fftw-libs=/usr/local/lib/ --with-fftw=no
--with-png-libs=/usr/local/lib
--with-zlib-includes=/usr/local/include/
--with-zlib-libs=/usr/local/lib/
--with-gdal=/usr/local/bin/gdal-config --with-nls --without-opendwg
make
[error in many modules]
cd lib/init
make
gcc -L/export/home/meteo/src/grass/grass-6.3.cvs_src_snapshot_2007_08_25/dist.sparc-sun-solaris2.10/lib
-Wl,-R,/export/home/meteo/src/grass/grass-6.3.cvs_src_snapshot_2007_08_25/dist.sparc-sun-solaris2.10/lib
-o /export/home/meteo/src/grass/grass-6.3.cvs_src_snapshot_2007_08_25/dist.sparc-sun-solaris2.10/etc/set_data
OBJ.sparc-sun-solaris2.10/set_data.o
OBJ.sparc-sun-solaris2.10/mke_mapset.o
OBJ.sparc-sun-solaris2.10/mke_loc.o
OBJ.sparc-sun-solaris2.10/chk_dbase.o
OBJ.sparc-sun-solaris2.10/other.o -lgrass_edit -lgrass_gis
-lgrass_datetime -lnsl -I/usr/local/include/ -L/usr/local/lib/ -lz
-lsocket -lgrass_vask -lgrass_gis -lgrass_datetime -lnsl
-I/usr/local/include/ -L/usr/local/lib/ -lz -lsocket
-lgrass_datetime -lgrass_vask -lncurses -lm -lnsl
-I/usr/local/include/ -L/usr/local/lib/ -lz
Undefined first referenced
symbol in file
initscr32
/export/home/meteo/src/grass/grass-6.3.cvs_src_snapshot_2007_08_25/dist.sparc-sun-solaris2.10/lib/libgrass_vask.so
w32addch
/export/home/meteo/src/grass/grass-6.3.cvs_src_snapshot_2007_08_25/dist.sparc-sun-solaris2.10/lib/libgrass_vask.so
ld: fatal: Symbol referencing errors. No output written to
/export/home/meteo/src/grass/grass-6.3.cvs_src_snapshot_2007_08_25/dist.sparc-sun-solaris2.10/etc/set_data
collect2: ld returned 1 exit status
make: *** [/export/home/meteo/src/grass/grass-6.3.cvs_src_snapshot_2007_08_25/dist.sparc-sun-solaris2.10/etc/set_data]
Error 1
echo $LD_LIBRARY_PATH
/usr/local/lib:/usr/sfw/lib/:/usr/lib/:/usr/xpg4/lib/
could anybody give me a hint, how to approach?
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
More information about the grass-dev
mailing list