[GRASS-user] grass 6.3.0 solaris 10 install errors

Brian Clark brclark at usgs.gov
Wed Aug 13 10:22:29 EDT 2008

Glynn Clements wrote:
> Brian Clark wrote:
>>>>> The files are deleted during make, but I'm not sure exactly when
>>>>> it happens..
>>>> while make runs, can you monitor the directory structure in another
>>>> terminal window and track down when it happens that way?
>>>> perhaps: 
>>>>   watch ls -l include/Make/
>>>> then quickly ^C make, back up a little, and see where in the build it
>>>> got up to? timing may have to be fast....
>>>> or chmod one of the vanishing files to be read-only then see if `make`
>>>> stops with an error at some point when it can't remove it?
>>> To delete a file, you need write permission on the directory. You
>>> don't need any permissions on the file itself.
>>> But running "chmod a-w include/Make" after "configure" but before
>>> "make" may well provide useful information.
>> Here's another partial build log (the entire log is >1 Meg) after I 
>> finally changed permissions for the error to show up as a 'mv' command.
>> mv: cannot rename ../include/Make/Dir.make to /wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/include/Make//#inst.747#: Permission denied
> Oops; you need to use:
> 	make INSTALL="`pwd`/install-sh -c"
> Without -c, the install-sh script moves the files instead of copying
> them.
Ah. thanks!... but still... errors.. after make, I cd'd to the first 
directory in error.log (lib/vector/diglib) and tried 'make' -

make OBJ.sparc-sun-solaris2.10/test
make[1]: Entering directory `/wattemp/GRASS/grass-6.3.0/lib/vector/diglib'
echo "==============TEST============="
gcc -L/wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/lib  
-I/usr/local/include/ncurses -g -O2  -I/usr/local/include/ncurses 
-I/wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/include  -o 
OBJ.sparc-sun-solaris2.10/test test.c -lgrass_dig2 -lgrass_gis 
-lgrass_datetime -lnsl    -lz  -lsocket   -lgrass_rtree  -lgrass_rtree \
                        -lgrass_gis -lgrass_datetime -lnsl    -lz  
-lsocket   -lgrass_datetime -lm  -lnsl    -lz 
undefined reference to `gethostname at SUNWprivate_1.1'
collect2: ld returned 1 exit status
make[1]: *** [OBJ.sparc-sun-solaris2.10/test] Error 1
make[1]: Leaving directory `/wattemp/GRASS/grass-6.3.0/lib/vector/diglib'
make: *** [default] Error 2

This looks familiar - before we added $(SOCKLIB) to /lib/gis/Makefile 
(which is still there). Is this a similar situation?

More information about the grass-user mailing list