bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

afs detection in findutils-4.1.7


From: Martin MOKREJŠ
Subject: afs detection in findutils-4.1.7
Date: Tue, 14 Jan 2003 18:02:51 +0100 (CET)

Hi,
 I'm compiling findutils on Tru64 where afs is running. It seems configure
did not addd to LD_FLAGS "-lafsauthent -lrx -llwp" nor path to headers.
The docs should be updated to list those NEEDED afs libs. ;) I use IBM AFS
version 3.6, but I believe names of libs haven't changed.

  I'm reporting this mainly because README states:

  --with-afs
  Make find support "-fstype afs".  Requires /afs, /usr/afsws/lib, and
  /usr/afsws/include.  configure doesn't add AFS support
  automatically because it adds considerably to find's size, and the
  AFS libraries need -lucb on Solaris, which breaks find.

That's not true. I've configured using:

./configure --prefix=/software/@sys/usr

First, I got error that AFS headers where missing (so afs was
defined,but no -I/usr/afsws/include was included automatically) Same for
libdir.

cc  -O2 -arch ev56   -o find  find.o fstype.o parser.o pred.o tree.o util.o 
version.o ../lib/libfind.a  -lintl -L/usr/local/lib -L/software/@sys/usr/lib 
-L/usr/local/openssl/lib -L/usr/lib
ld:
Unresolved:
pioctl
make[3]: *** [find] Error 1
make[3]: Leaving directory `/afs/gsf.de/sources/findutils-4.1.7/find'

This command links fine:

cc  -O2 -arch ev56   -o find  find.o fstype.o parser.o pred.o tree.o \
util.o version.o ../lib/libfind.a  -lintl -L/usr/local/lib \
-L/software/@sys/usr/lib -L/usr/local/openssl/lib -L/usr/lib \
-L/usr/afsws/lib -lafsauthent -lrx -llwp


My config.status contains:
${ac_dA}AFS${ac_dB}AFS${ac_dC}1${ac_dD}

Hope this helps.
-- 
Martin Mokrejs <address@hidden>, <address@hidden>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics <http://mips.gsf.de>
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585




reply via email to

[Prev in Thread] Current Thread [Next in Thread]