[1897] in NetBSD-Development

home help back first fref pref prev next nref lref last post

Problems building SIPB-Athena on a -current ELF system

daemon@ATHENA.MIT.EDU (Charles M. Hannum)
Fri Aug 6 02:29:17 1999

Date: Fri, 6 Aug 1999 02:29:04 -0400 (EDT)
From: "Charles M. Hannum" <root@ihack.net>
To: netbsd-dev@MIT.EDU


First, there are the problems with the build system in general.  The
documentation (such as it is) fails to mention a few important things:

1) build.sh needs a `-l' option; it loses without it.  (The `exec' on
   line 113 blows up because $logfile is empty.)

2) When building directly in a checked out CVS tree, you need to give
   `-c' to do.sh; this option is likewise not mentioned anywhere.

3) The `-b' option to do.sh is not mentioned; nor is it mentioned that
   build.sh also accepts `-s' and `-d'.

Also:

4) discuss needs to be installed before olc is built, so the configure
   script can find dspipe, but this is not the order they're done in
   normally.


Some other things I had to kluge:

5) third/afsbin has some prebuilt executables and libraries in it,
   which I had to update from my ELF AFS build tree.

6) third/bind loses due to some IPv6 structures being defined in two
   places.  I kluged this by ripping out the HAS_INET6_STRUCTS section
   in bind/src/port/netbsd/include/port_after.h, but there's probably
   a prettier way.

7) third/kpasswd decides to use /usr/include/kerberosIV, rather than
   /.srvd/usr/athena/include/kerberosIV, and loses because
   KADM_INSECURE_PW isn't defined in the NetBSD native version.  (Lots
   of other programs use the wrong include directory, but for the most
   part they seem to at least compile.)

8) third/sendmail fails to compile because everything is linked with
   libwrap.so, and {deny,allow}_severity is undefined.  Only the
   sendmail executable should link with -lwrap.

   Also, there's the make vs. gmake lossage, which I believe Greg
   knows about.


And there are the things I haven't fixed:

9) third/bash and third/ispell fail to build completely because of
   makeinfo lossage.  (third/bash fails -I the readline/doc directory,
   and can't some files.  third/ispell just has an improperly formed
   Texinfo file.)

10) The usual krb5 DB lossage, which causes at least /bin/athena/login
    to lose, because it can't read the passwd database.

11) third/ssh (gmp), third/motif, third/emacs and third/perl need
    various updates to work with ELF.  (The third/ssh failure just
    causes it to not use the assembly code, which is non-fatal.)
    These are the errors I was actually expecting and planned to fix.


Everything else built as expected, although there are almost certainly
some rpath issues that need to be addressed.


home help back first fref pref prev next nref lref last post