failing to build 0.35.2 on Linux 2.4.{0,1}

Emil Egerfjord mille at e.kth.se
Fri Feb 16 12:44:32 CET 2001



Hi all,

I am failing to build the 0.35.2 on a debian/gnu linux-box running either
of 2.4.{0,1} linux kernels. Fwiw I do not have my kth-krb4 and heimdal
directories in the /etc/ld.so.conf file.

Two shoots to show my failures:

1) Running without specifying any LDFLAGS or CPPFLAGS for kth-krb4 or heimdal.

cd /scratch/mille/mpkg-work/arla-0.35.2//arla-0.35.2 && CPPFLAGS=" " \
PREFIX=/mpkg/arla/0.35.2 X11BASE=/usr/X11R6 \
 /scratch/mille/mpkg-work/arla-0.35.2//arla-0.35.2/configure \
  --with-krb4=/mpkg/krb4/1.0.6 \
  --with-krb5=/mpkg/heimdal/0.3e \
  --prefix=/mpkg/arla/0.35.2

cd /scratch/mille/mpkg-work/arla-0.35.2//arla-0.35.2 && env CPPFLAGS=" " \
PREFIX=/mpkg/arla/0.35.2 X11BASE=/usr/X11R6 MAKEFLAGS= \
BSD_INSTALL_PROGRAM="install   -o  -g  -m " \
BSD_INSTALL_SCRIPT="install  -o  -g  -m " \
BSD_INSTALL_DATA="install  -o  -g  -m " \
BSD_INSTALL_MAN="install  -o  -g  -m " \
BSD_INSTALL_PROGRAM_DIR="install -d -o  -g  -m " \
BSD_INSTALL_SCRIPT_DIR="install -d -o  -g  -m " \
BSD_INSTALL_DATA_DIR="install -d -o  -g  -m " \
BSD_INSTALL_MAN_DIR="install -d -o  -g  -m " \
      make  -f Makefile all

Generates the following error in lib/ko:

--cut--
./gensysname -c > sysname.c
./gensysname: error while loading shared libraries: libkrb.so.1: cannot load sha
red object file: No such file or directory
make[3]: *** [sysname.c] Error 127
make[3]: Leaving directory `/scratch/mille/mpkg-work/arla-0.35.2/arla-0.35.2/lib/ko'
--cut--

2) Running while specifying LDFLAGS and CPPFLAGS for kth-krb4 or
   heimdal. Do not come as far as the above.

cd /scratch/mille/mpkg-work/arla-0.35.2//arla-0.35.2 && \
 CPPFLAGS=" -I/mpkg/heimdal/0.3e/include -I/mpkg/krb4/1.0.6/include" \
 LDFLAGS=" -Wl,-rpath,/mpkg/heimdal/0.3e/lib -Wl,-rpath,/mpkg/krb4/1.0.6/lib -L/mpkg/heimdal/0.3e/lib -L/mpkg/krb4/1.0.6/lib" \
 PREFIX=/mpkg/arla/0.35.2 X11BASE=/usr/X11R6 \
 /scratch/mille/mpkg-work/arla-0.35.2//arla-0.35.2/configure \
   --with-krb4=/mpkg/krb4/1.0.6 \
   --with-krb5=/mpkg/heimdal/0.3e \
   --prefix=/mpkg/arla/0.35.2

cd /scratch/mille/mpkg-work/arla-0.35.2//arla-0.35.2 && \
 env CPPFLAGS=" -I/mpkg/heimdal/0.3e/include -I/mpkg/krb4/1.0.6/include" \
 LDFLAGS=" -Wl,-rpath,/mpkg/heimdal/0.3e/lib -Wl,-rpath,/mpkg/krb4/1.0.6/lib -L/mpkg/heimdal/0.3e/lib -L/mpkg/krb4/1.0.6/lib" \
 PREFIX=/mpkg/arla/0.35.2 X11BASE=/usr/X11R6 MAKEFLAGS= \
 BSD_INSTALL_PROGRAM="install   -o  -g  -m " \
 BSD_INSTALL_SCRIPT="install  -o  -g  -m " \
 BSD_INSTALL_DATA="install  -o  -g  -m " \
 BSD_INSTALL_MAN="install  -o  -g  -m " \
 BSD_INSTALL_PROGRAM_DIR="install -d -o  -g  -m " \
 BSD_INSTALL_SCRIPT_DIR="install -d -o  -g  -m " \
 BSD_INSTALL_DATA_DIR="install -d -o  -g  -m " \
 BSD_INSTALL_MAN_DIR="install -d -o  -g  -m " \
 make  -f Makefile all


Generates the following error in lib/roken:

--cut--
gcc -c  -I/mpkg/heimdal/0.3e/include -I/mpkg/krb4/1.0.6/include -DHAVE_CONFIG_H -I../../include -I/scratch/mille/mpkg-work/arla-0.35.2//arla-0.35.2/lib/roken -g  -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs   eefile.c
eefile.c:48: parse error before `fileblob'
eefile.c:49: warning: no previous prototype for `eefopen'
eefile.c: In function `eefopen':
--cut--

This seems seems to be bacause of the existens of name-space collision in
the header-file-names, e.g. somefile.h exists in heimdal and/or krb4
include-directories, 'cause putting the "-I/mpkg/heimdal/0.3e/include
-I/mpkg/krb4/1.0.6/include" last instead of at the begining seems to solve
the problem. That is to put the extra CPPFLAGS at the end of each compile
command.

--end of failure descriptions

This ought to be it, but since I am on this list just post any request for
further information and I will try to supply the information.

Regards
/Emil Egerfjord
-- 
+----------------------------------+---------------------------------+
| Emil Egerfjord                   | All opinions in this letter are |
| Url: http://www.e.kth.se/~mille/ | mine, if not stated otherwise!  |
| Email: mille(at)e.kth.se         | /Emil Egerfjord                 |
+----------------------------------+---------------------------------+





More information about the Arla-drinkers mailing list