[gps-devel] RE: Problems building gps-1.4.0-academic on FreeBSD 5.1 using
gnat 3.15p
T. Kurt Bond
tkb@tkb.mpl.com
Thu, 27 Nov 2003 22:01:28 -0500
T. Kurt Bond the following wrote in an e-mail to gps-users:
> The first problem is that apparently the locations of the glib and atk
> include files are *not* found using pkg-config, causing files which
> use them to fail to compile. (I manually added -I options to
> Makefile.common's CC definition as a quick hack-around, and the build
> continued from there.)
>
> The second problem is that it dies while trying to build libtcl81.a:
>
> Making all in tcl8.1
> gmake[6]: *** No rule to make target `libtcl81.a', needed by `all'.
> Stop.
> gmake[5]: *** [all] Error 2
> gmake[4]: *** [all-recursive] Error 1
> gmake[3]: *** [snsrc] Error 2
> gmake[2]: *** [internal-build] Error 2
> gmake[1]: ***
> [compile_/sw/src/gps-1.4.0-academic/glide/../gvd/../kernel/src_info/sn/sn]
> Error 2
> gmake: *** [default] Error 2
>
> Has anyone else seen these problems?
Looking at the contents of the directory hierarchy at
gps-1.4.0-academic/kernel/src_info/sn/snsrc/tcl8.1/
showed that it didn't contain a complete tcl8.1 distribution
so it wasn't surprising that it couldn't build libtcl81.a.
As a quick fix I extracted a tcl distribution into that directory and
retried the build, and the build continued beyond that point.
The next error that occured was:
adagcc -c -g -o /sw/src/gps-1.4.0-academic/obj/g-os_lib.o -gnatecGNAT-gGGYuZ -gnatn -gnatpg -O2 -gnatws -gnatA /sw/src/gps-1.4.0-academic/gnat/g-os_lib.adb
g-os_lib.adb:34:06: "SYSTEM.CASE_UTIL" is not a predefined library unit
gnatmake: "/sw/src/gps-1.4.0-academic/gnat/g-os_lib.adb" compilation error
gmake[1]: *** [internal-build] Error 4
gmake: *** [default] Error 2
There are links in gps-1.4.0-academic/gnat/:
s-casuti.adb -> ../gnat_src/s-casuti.adb
s-casuti.ads -> ../gnat_src/s-casuti.ads
However, there are no such files in ../gnat_src.
--
T. Kurt Bond, tkb@tkb.mpl.com