arla-0.90 on linux-2.6.19 (debian)
Niels Möller
nisse at lysator.liu.se
Thu Jan 11 13:10:45 CET 2007
Hi,
it seems I get into a little trouble each time I install arla (this
time, the previous disk in my laptop crashed after less than a year,
hence a full reinstall).
Now I have linux-2.6.19, and arla-0.90 configured using
$ ./configure '--prefix=/home/arla' '--with-sys=/usr/local/src/linux-2.6.19' '--with-pthreads'
Building of nnpfs seems to work fine, but I get some userspace problems:
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../lib/roken -I../lib/roken -I../include -I. -I. -I../include -I./../include -I.. -I./.. -I../include -I/usr/include -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -g -Wall -Wmissing-prototypes -Wpointer-arith -Wmissing-declarations -Wnested-externs -c rxk_locl.c -o rxk_locl.o
In file included from rxk_locl.c:34:
rxkad_locl.h:69:17: error: des.h: No such file or directory
make[1]: *** [rxk_locl.lo] Error 1
make[1]: Leaving directory `/usr/local/src/arla-0.90/rxkad'
It turns out configure didn't define HAVE_OPENSSL; if I fix that
manually in config.h, things work better.
The logic in cf/check-kerberos.m4 is
if expr "x$KRB5_LIB_FLAGS" : ".*-lcrypto" > /dev/null ; then
AC_DEFINE(HAVE_OPENSSL, 1, [define if you have openssl])
fi
On my system, KRB5_LIB_FLAGS (in the Makefile) is
KRB5_LIB_FLAGS = -L/usr/lib -lkrb5
Probably there's some automagic dependency on the crypto library. I
think it would be better to either have an explicit check for the
openssl library, or check for the existence of openssl/des.h.
I have both heimdal and MIT kerberos installed (because both the gnome
and the openoffice packages seem to depend on MIT kerberos), but I
think the compilation picked up the heimdal libraries.
nisse at maskros:/usr/local/src/arla-0.90$ ldd arlad/arlad
linux-gate.so.1 => (0xffffe000)
libkafs.so.0 => /usr/lib/libkafs.so.0 (0xb7f66000)
libkrb5.so.17 => /usr/lib/libkrb5.so.17 (0xb7f1d000)
libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb7de2000)
libasn1.so.6 => /usr/lib/libasn1.so.6 (0xb7db0000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0xb7dad000)
libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb7d7f000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7d7b000)
libroken.so.16 => /usr/lib/libroken.so.16 (0xb7d6a000)
libdb-4.4.so => /usr/lib/libdb-4.4.so (0xb7c6e000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7c5c000)
libresolv.so.2 => /lib/tls/i686/cmov/libresolv.so.2 (0xb7c49000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7b18000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7b04000)
/lib/ld-linux.so.2 (0xb7f7c000)
libdb-4.2.so => /usr/lib/libdb-4.2.so (0xb7a2e000)
Regards,
/Niels
More information about the Arla-drinkers
mailing list