[GRASS-user] grass 6.3.0 solaris 10 install errors

Brian Clark brclark at usgs.gov
Tue Aug 12 10:47:01 EDT 2008


Glynn Clements wrote:
> Brian Clark wrote:
>
>   
>>>>> 	make INSTALL=`pwd`/install-sh
>>>>>
>>>>> Also, the Makefile was setting incorrect permissions on install-sh
>>>>> (744 instead of 755), so it was only executable for the owner.
>>>>>       
>>>>>           
>>>> After chmod 755 install-sh
>>>> then make INSTALL=/wattemp/GRASS/grass-6.3.0/install-sh
>>>> I get a bunch of complaints like:
>>>>
>>>> make[1]: *** No rule to make target `../include/Make/Dir.make'.  Stop.
>>>>     
>>>>         
>>> Does the file exist? If not, you need to extract the source code and
>>> try again. If you get similar errors, try to note the point at which
>>> they start.
>>>
>>>   
>>>       
>>>> ideas on what I may have done wrong?
>>>> I also noticed that just before I tried make INSTALL, Platform.make did 
>>>> exist in include/Make/
>>>> After the make, Platform.make.in existed, but not Platform.make.
>>>>     
>>>>         
>>> From the errors, it looks as if something is deleting the include/Make
>>> directory or its contents.
>>>
>>>       
>> The files are deleted during make, but I'm not sure exactly when it 
>> happens..
>>     
>
> Well, it's bound to be happening before the first "No rule to make
> target ... Dir.make" error, and after the last time that a Makefile
> which included Dir.make worked.
>
> Yor original list of errors starts with:
>
> 	make[1]: *** No rule to make target `../include/Make/Dir.make'.  Stop.
> 	make[1]: Leaving directory `/wattemp/GRASS/grass-6.3.0/sites'
>
> which implies that it's been deleted by the time that the "sites"
> directory is built. The directory before that is "scripts"; does that
> build okay, or do you get errors?
>
>   
>> Is this common?
>>     
>
> No.
>
>   
>> I've tried a few older versions of GRASS with similar results. Would
>> this be fixed in 6.4?
>>     
>
> That's highly unlikely.
>
>   
>> Starting to get desperate....
>>     
>
> Redirect the "make" output to a file:
>
> 	make >& build.log
>
> and send it to me.
>
>   
Awesome, thanks - I'll continue trying some of the things from Hamish's 
email as well. In the mean time, I've attached the build log. I did 
verify again that the make files exist after configure. I have been 
running with C shell, rather than bash, though I get similar results 
using 'make SHELL=/bin/bash'


-------------- next part --------------
mkdir -p /wattemp/GRASS/grass-6.3.0/bin.sparc-sun-solaris2.10
mkdir -p /wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/lib
mkdir -p /wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/bin
mkdir -p /wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/etc
mkdir -p /wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/driver
mkdir -p /wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/driver/db
mkdir -p /wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/fonts
test -d /wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10 || mkdir -p -m 755 /wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10
tar cBf - demolocation | (cd /wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/ ; tar xBfo - ) 2>/dev/null
chmod 744 install-sh
make[1]: Entering directory `/wattemp/GRASS/grass-6.3.0/lib'
if [ ! -d /wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/include/grass ]; then mkdir -p /wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/include/grass; fi
if [ ! -d /wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/include/grass/vect ]; then mkdir -p /wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/include/grass/vect; fi
if [ ! -d /wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/include/Make ]; then mkdir -p /wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/include/Make; fi
for file in ../include/*.h ; do /wattemp/GRASS/grass-6.3.0/install-sh -m 644 $file /wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/include/grass/ ; done
for file in ../include/vect/*.h ; do /wattemp/GRASS/grass-6.3.0/install-sh -m 644 $file /wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/include/grass/vect/ ; done
for file in ../include/Make/*.make ; do /wattemp/GRASS/grass-6.3.0/install-sh -m 644 $file /wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/include/Make/ ; done
make subdirs
make[2]: Entering directory `/wattemp/GRASS/grass-6.3.0/lib'
Makefile:38: ../include/Make/Platform.make: No such file or directory
Makefile:54: ../include/Make/Dir.make: No such file or directory
Makefile:55: ../include/Make/Doxygen.make: No such file or directory
make[2]: *** No rule to make target `../include/Make/Doxygen.make'.  Stop.
make[2]: Leaving directory `/wattemp/GRASS/grass-6.3.0/lib'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/wattemp/GRASS/grass-6.3.0/lib'
make[1]: Entering directory `/wattemp/GRASS/grass-6.3.0/db'
Makefile:11: ../include/Make/Dir.make: No such file or directory
make[1]: *** No rule to make target `../include/Make/Dir.make'.  Stop.
make[1]: Leaving directory `/wattemp/GRASS/grass-6.3.0/db'
make[1]: Entering directory `/wattemp/GRASS/grass-6.3.0/display'
Makefile:47: ../include/Make/Dir.make: No such file or directory
make[1]: *** No rule to make target `../include/Make/Dir.make'.  Stop.
make[1]: Leaving directory `/wattemp/GRASS/grass-6.3.0/display'
make[1]: Entering directory `/wattemp/GRASS/grass-6.3.0/doc'
Makefile:5: ../include/Make/Dir.make: No such file or directory
make[1]: *** No rule to make target `../include/Make/Dir.make'.  Stop.
make[1]: Leaving directory `/wattemp/GRASS/grass-6.3.0/doc'
make[1]: Entering directory `/wattemp/GRASS/grass-6.3.0/gem'
gcc -g -Wall -pedantic -Werror-implicit-function-declaration -fno-common  -o at_exit_funcs.o -c at_exit_funcs.c
gcc -g -Wall -pedantic -Werror-implicit-function-declaration -fno-common  -o error.o -c error.c
gcc -g -Wall -pedantic -Werror-implicit-function-declaration -fno-common  -o tools.o -c tools.c
gcc -g -Wall -pedantic -Werror-implicit-function-declaration -fno-common  -o reg_deps.o -c reg_deps.c
gcc -g -Wall -pedantic -Werror-implicit-function-declaration -fno-common  -o reg_entries.o -c reg_entries.c
gcc -g -Wall -pedantic -Werror-implicit-function-declaration -fno-common  -o reg_html.o -c reg_html.c
gcc -g -Wall -pedantic -Werror-implicit-function-declaration -fno-common  -o actions.o -c actions.c
gcc -g -Wall -pedantic -Werror-implicit-function-declaration -fno-common  -o main.o -c main.c
gcc at_exit_funcs.o error.o tools.o reg_deps.o reg_entries.o reg_html.o actions.o main.o -o gem6 -g -Wall -pedantic -Werror-implicit-function-declaration -fno-common  
make[1]: Leaving directory `/wattemp/GRASS/grass-6.3.0/gem'
make[1]: Entering directory `/wattemp/GRASS/grass-6.3.0/general'
Makefile:27: ../include/Make/Dir.make: No such file or directory
make[1]: *** No rule to make target `../include/Make/Dir.make'.  Stop.
make[1]: Leaving directory `/wattemp/GRASS/grass-6.3.0/general'
make[1]: Entering directory `/wattemp/GRASS/grass-6.3.0/gui'
Makefile:5: ../include/Make/Platform.make: No such file or directory
Makefile:7: ../include/Make/Dir.make: No such file or directory
make[1]: *** No rule to make target `../include/Make/Dir.make'.  Stop.
make[1]: Leaving directory `/wattemp/GRASS/grass-6.3.0/gui'
make[1]: Entering directory `/wattemp/GRASS/grass-6.3.0/imagery'
Makefile:20: ../include/Make/Platform.make: No such file or directory
Makefile:38: ../include/Make/Dir.make: No such file or directory
make[1]: *** No rule to make target `../include/Make/Dir.make'.  Stop.
make[1]: Leaving directory `/wattemp/GRASS/grass-6.3.0/imagery'
make[1]: Entering directory `/wattemp/GRASS/grass-6.3.0/misc'
Makefile:6: ../include/Make/Dir.make: No such file or directory
make[1]: *** No rule to make target `../include/Make/Dir.make'.  Stop.
make[1]: Leaving directory `/wattemp/GRASS/grass-6.3.0/misc'
make[1]: Entering directory `/wattemp/GRASS/grass-6.3.0/ps'
Makefile:7: ../include/Make/Dir.make: No such file or directory
make[1]: *** No rule to make target `../include/Make/Dir.make'.  Stop.
make[1]: Leaving directory `/wattemp/GRASS/grass-6.3.0/ps'
make[1]: Entering directory `/wattemp/GRASS/grass-6.3.0/raster'
Makefile:124: ../include/Make/Platform.make: No such file or directory
Makefile:153: ../include/Make/Dir.make: No such file or directory
make[1]: *** No rule to make target `../include/Make/Dir.make'.  Stop.
make[1]: Leaving directory `/wattemp/GRASS/grass-6.3.0/raster'
make[1]: Entering directory `/wattemp/GRASS/grass-6.3.0/raster3d'
Makefile:17: ../include/Make/Platform.make: No such file or directory
Makefile:26: ../include/Make/Dir.make: No such file or directory
make[1]: *** No rule to make target `../include/Make/Dir.make'.  Stop.
make[1]: Leaving directory `/wattemp/GRASS/grass-6.3.0/raster3d'
make[1]: Entering directory `/wattemp/GRASS/grass-6.3.0/scripts'
Makefile:79: ../include/Make/Dir.make: No such file or directory
make[1]: *** No rule to make target `../include/Make/Dir.make'.  Stop.
make[1]: Leaving directory `/wattemp/GRASS/grass-6.3.0/scripts'
make[1]: Entering directory `/wattemp/GRASS/grass-6.3.0/sites'
Makefile:9: ../include/Make/Dir.make: No such file or directory
make[1]: *** No rule to make target `../include/Make/Dir.make'.  Stop.
make[1]: Leaving directory `/wattemp/GRASS/grass-6.3.0/sites'
make[1]: Entering directory `/wattemp/GRASS/grass-6.3.0/tools'
Makefile:5: ../include/Make/Dir.make: No such file or directory
make[1]: *** No rule to make target `../include/Make/Dir.make'.  Stop.
make[1]: Leaving directory `/wattemp/GRASS/grass-6.3.0/tools'
make[1]: Entering directory `/wattemp/GRASS/grass-6.3.0/vector'
Makefile:73: ../include/Make/Platform.make: No such file or directory
Makefile:99: ../include/Make/Dir.make: No such file or directory
make[1]: *** No rule to make target `../include/Make/Dir.make'.  Stop.
make[1]: Leaving directory `/wattemp/GRASS/grass-6.3.0/vector'
make[1]: Entering directory `/wattemp/GRASS/grass-6.3.0/visualization'
Makefile:8: ../include/Make/Platform.make: No such file or directory
Makefile:20: ../include/Make/Dir.make: No such file or directory
make[1]: *** No rule to make target `../include/Make/Dir.make'.  Stop.
make[1]: Leaving directory `/wattemp/GRASS/grass-6.3.0/visualization'
make[1]: Entering directory `/wattemp/GRASS/grass-6.3.0/man'
Makefile:3: ../include/Make/Dir.make: No such file or directory
make[1]: *** No rule to make target `../include/Make/Dir.make'.  Stop.
make[1]: Leaving directory `/wattemp/GRASS/grass-6.3.0/man'
make[1]: Entering directory `/wattemp/GRASS/grass-6.3.0/macosx'
Makefile:3: ../include/Make/Platform.make: No such file or directory
Makefile:33: ../include/Make/Dir.make: No such file or directory
make[1]: *** No rule to make target `../include/Make/Dir.make'.  Stop.
make[1]: Leaving directory `/wattemp/GRASS/grass-6.3.0/macosx'
make: *** [default] Error 2


More information about the grass-user mailing list