[GRASS-user] grass 6.3.0 solaris 10 install errors
Brian Clark
brclark at usgs.gov
Tue Jul 15 16:19:55 EDT 2008
Glynn Clements wrote:
> Brian Clark wrote:
>
>
>> I've included the next round of configure below.... still errors..<br>
>>
>
>
>> Ugh; please don't post HTML-only mail to the list.
>> </pre>
>> </blockquote>
>> sorry - hopefully this will be plain text...<br>
>>
>
> Alas, no.
>
try, try again...
>
>> ok - here's a new configure - (with source directory)<br>
>> <br>
>> GRASS is now configured for: sparc-sun-solaris2.10<br>
>> <br>
>> Source directory: /wattemp/GRASS/grass-6.3.0<br>
>> Build directory: /wattemp/GRASS/grass-6.3.0<br>
>>
>
> Looks okay.
>
>
>> and cd to first directory with errors and try make:<br>
>> <br>
>> make OBJ.sparc-sun-solaris2.10<br>
>> make[1]: Entering directory `/wattemp/GRASS/grass-6.3.0/db/drivers/dbf'<br>
>> make[1]: `OBJ.sparc-sun-solaris2.10' is up to date.<br>
>> make[1]: Leaving directory `/wattemp/GRASS/grass-6.3.0/db/drivers/dbf'<br>
>> gcc -I/wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/include
>> -I/usr/local/include/ncurses -g -O2 -I/usr/local/include/ncurses
>> -DPACKAGE=\"\" -I../../../lib/db/dbmi_driver
>>
>
>
>> -I/wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/include -o
>>
>
> Looks okay.
>
>
>> OBJ.sparc-sun-solaris2.10/column.o -c column.c<br>
>> column.c:20:24: grass/dbmi.h: No such file or directory<br>
>> column.c:21:23: grass/gis.h: No such file or directory<br>
>>
>
> Odd; from the top-level source directory, try:
>
> make -C lib headers
>
> That step is supposed to install the headers into the
> dist.<arch>/include/grass directory, with something like:
>
> make[1]: Entering directory `/usr/local/src/grass/svn/lib'
> if [ ! -d /usr/local/src/grass/svn/dist.i686-pc-linux-gnu/include ]; then mkdir -p /usr/local/src/grass/svn/dist.i686-pc-linux-gnu/include; fi
> if [ ! -d /usr/local/src/grass/svn/dist.i686-pc-linux-gnu/include/grass ]; then mkdir -p /usr/local/src/grass/svn/dist.i686-pc-linux-gnu/include/grass; fi
> if [ ! -d /usr/local/src/grass/svn/dist.i686-pc-linux-gnu/include/grass/vect ]; then mkdir -p /usr/local/src/grass/svn/dist.i686-pc-linux-gnu/include/grass/vect; fi
> if [ ! -d /usr/local/src/grass/svn/dist.i686-pc-linux-gnu/include/Make ]; then mkdir -p /usr/local/src/grass/svn/dist.i686-pc-linux-gnu/include/Make; fi
> for file in ../include/*.h ; do /usr/bin/install -c -m 644 $file /usr/local/src/grass/svn/dist.i686-pc-linux-gnu/include/grass/ ; done
> for file in ../include/vect/*.h ; do /usr/bin/install -c -m 644 $file /usr/local/src/grass/svn/dist.i686-pc-linux-gnu/include/grass/vect/ ; done
> for file in ../include/Make/*.make ; do /usr/bin/install -c -m 644 $file /usr/local/src/grass/svn/dist.i686-pc-linux-gnu/include/Make/ ; done
>
>
Ok, got that to work at least once.....and moved on to the next set of
errors...
and after make, then cd to first directory in error list -> make:
gcc -L/wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/lib
-Wl,-R,/wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/lib -o
/wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/driver/db/dbf
OBJ.sparc-sun-solaris2.10/column.o OBJ.sparc-sun-solaris2.10/cursor.o
OBJ.sparc-sun-solaris2.10/db.o OBJ.sparc-sun-solaris2.10/dbfexe.o
OBJ.sparc-sun-solaris2.10/describe.o OBJ.sparc-sun-solaris2.10/driver.o
OBJ.sparc-sun-solaris2.10/error.o OBJ.sparc-sun-solaris2.10/execute.o
OBJ.sparc-sun-solaris2.10/fetch.o OBJ.sparc-sun-solaris2.10/listtab.o
OBJ.sparc-sun-solaris2.10/main.o OBJ.sparc-sun-solaris2.10/select.o
OBJ.sparc-sun-solaris2.10/str.o OBJ.sparc-sun-solaris2.10/table.o
OBJ.sparc-sun-solaris2.10/create_table.o -lgrass_dbmidriver
-lgrass_dbmibase -lgrass_gis -lgrass_datetime -lnsl -lz -lsocket
-lgrass_dbstubs -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lnsl
-lz -lsocket -lgrass_gis -lgrass_datetime -lnsl -lz -lsocket
-lgrass_gis -lgrass_datetime -lnsl -lz -lsocket -lgrass_dbmibase
-lgrass_gis -lgrass_datetime -lnsl -lz -lsocket -lgrass_sqlp
-lgrass_shape -lgrass_dbstubs -lgrass_dbmibase -lgrass_gis
-lgrass_datetime -lnsl -lz -lsocket -lgrass_gis -lgrass_datetime
-lnsl -lz -lsocket -lgrass_gis -lgrass_datetime -lnsl -lz
-lsocket -lgrass_datetime -lm -lnsl -lz
/wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/lib/libgrass_gis.so:
undefined reference to `gethostname at SUNWprivate_1.1'
collect2: ld returned 1 exit status
make: ***
[/wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/driver/db/dbf]
Error 1
Problems with libgrass_gis.so??
thanks,
brc
More information about the grass-user
mailing list