[GRASS-user] grass 6.3.0 solaris 10 install errors

Brian Clark brclark at usgs.gov
Wed Jul 16 15:21:43 EDT 2008


Glynn Clements wrote:
> Brian Clark wrote:
>
>   
>> 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??
>>     
>
> I suspect that lib/gis/Makefile needs $(SOCKLIB) added to EXTRA_LIBS:
>
> -EXTRA_LIBS = $(XDRLIB) $(DATETIMELIB) $(INTLLIB) $(MATHLIB)
> +EXTRA_LIBS = $(XDRLIB) $(SOCKLIB) $(DATETIMELIB) $(INTLLIB) $(MATHLIB)
>
>   
Thanks Glynn -
I changed the Makefile for lib/gis/, and moved on to next error....
first in the list was /lib/db/sqlp
->make
mkdir -p /wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/docs/html
../.././install-sh -c  -m 644 description.html 
/wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/docs/html/sql.html
make: ../.././install-sh: Command not found
make: *** [default] Error 127

I've seen a previous post similar to this error, but it was in 6.0 
(http://lists.osgeo.org/pipermail/grass-dev/2005-November/020404.html)??

thanks,
brc





More information about the grass-user mailing list