Thanks Glynn,
I'm finally getting back to this - more errors I'm afraid...


Glynn Clements wrote:
Brian Clark wrote:

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

Ack. The way that autoconf handles the install-sh script is broken. It
sets the INSTALL variable to a relative path, relative to the
directory containing the file in which INSTALL is substituted.

If you're generating each directory's Makefile from a Makefile.in,
this works fine, but GRASS' Makefiles include these definitions from
include/Make/Platform.make. So, configure defines INSTALL relative to
include/Make/Platform.make, so it doesn't work if you are more or less
than two levels deep.

You can get around this by manually setting INSTALL to an absolute
path, e.g.:

        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.
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'

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.


thanks,
brc

_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to