compile (and other) problems on redhat 6.1


Subject: compile (and other) problems on redhat 6.1
From: Alexander Fordyce (alex@ax-im.com)
Date: Mon Apr 24 2000 - 05:51:50 EDT


Hi all.

Gawd... who would have thought this would be so difficult? I haven't
had this much trouble with anything in years.

I'm trying to install netatalk-1.42b2+asun2.1.3-7 on my Linux (Intel
RedHat 6.1) box, and I get compile errors. I have installed DES,
tcpwrappers, PAM, etc. and I have R'd all the FMs I can find. I have
appended the last chunk of the output from "make" below. I have
tried every conceivable combination of flags with no success.

In the meantime, I'm using a precompiled binary of
netatalk+asun2.1.1. I can login as guest, but for any registered
user, it says the password is incorrect. I am using shadow passwords
on my system, so I downloaded and installed the version for shadow
passwords. After coming across this problem in the faq, I actually
tried the non-shadow version just in case, but it does the same
thing.

Btw, I have also checked out the afpd getusershell problem mentioned
in the faq on the netatalk site, but I can't actually find anything
from LOG_DAEMON on my system (I'm not sure that I know what to look
for... I've been through everything in /var/log). /etc/shells has a
perfectly reasonable list of possible shells in it. I should note
that this faq answer stops here -- it doesn't actually say what to do
to fix the problem!

Ideally, I'd like to get the new version compiled and installed, so
that's the higher priority. However, any thoughts about the other
question would be greatly appreciated as the same problem may well
crop up if I do get it to compile and install successfully.

Thanks much,
Alex
- - - - - - - - - - - - -
Alexander Fordyce
alex@ax-im.com

Output from make:

make -w CC="gcc " ADDLIBS="" DEFS="-DSENDFILE_FLAVOR_LINUX -DSHADOWPW
-DUSE_PAM" \
     OPTOPTS="-O2 -fomit-frame-pointer -fsigned-char -Wunused
-Wuninitialized" DESTDIR="/usr/local/atalk" DESDIR="/usr/local" \
     SBINDIR="/usr/local/atalk/etc" BINDIR="/usr/local/atalk/bin"
RESDIR="/usr/local/atalk/etc" \
     ETCDIR="/usr/local/atalk/etc" LIBDIR="/usr/local/atalk/lib"
INCDIR="/usr/local/atalk/include" \
     PAMDIR="/usr" TCPWRAPDIR="/usr" \
     DB2DIR="" \
     KRBLIBS="${KRBLIBS}" KRBLIBDIRS="${KRBLIBDIRS}" \
     KRBINCPATH="${KRBINCPATH}" KRBDEFS="${KRBDEFS}" \
     AFSLIBS="${AFSLIBS}" AFSLIBDIRS="${AFSLIBDIRS}" \
     DESLIBS="${DESLIBS}" DESLIBDIRS="${DESLIBDIRS}" \
     PAMLIBS="${PAMLIBS}" PAMLIBDIRS="${PAMLIBDIRS}" \
     TCPWRAPLIBS="${TCPWRAPLIBS}" TCPWRAPLIBDIRS="${TCPWRAPLIBDIRS}" \
     DB2LIBS="${DB2LIBS}" DB2LIBDIRS="${DB2LIBDIRS}" \
     DESINCPATH="${DESINCPATH}" DESDEFS="${DESDEFS}" \
     PAMINCPATH="${PAMINCPATH}" PAMDEFS="${PAMDEFS}" \
     AFSINCPATH="${AFSINCPATH}" AFSDEFS="${AFSDEFS}" \
     DB2INCPATH="${DB2INCPATH}" \
     afpd
make[4]: Entering directory `/usr/local/src/netatalk-1.4b2+asun2.1.3/etc/afpd'
gcc -DSENDFILE_FLAVOR_LINUX -DSHADOWPW -DUSE_PAM -DUAM_RNDNUM -O2
-fomit-frame-pointer -fsigned-char -Wunused -Wuninitialized
-I../../include -I/usr/local/include -DUSE_PAM -DAPPLCNAME -o
afpd unix.o afs.o kuam.o send_to_kdc.o lifetime.o ofork.o main.o
switch.o auth.o volume.o directory.o file.o enumerate.o desktop.o
filedir.o fork.o appl.o gettok.o bprint.o status.o afp_options.o
afp_asp.o afp_dsi.o messages.o config.o nfsquota.o codepage.o
-L../../libatalk -L/usr/local/lib -latalk -ldes -lwrap -lpam
-ldl
nfsquota.o: In function `getnfsquota':
nfsquota.o(.text+0x153): undefined reference to `xdr_getquota_rslt'
nfsquota.o(.text+0x15c): undefined reference to `xdr_getquota_args'
/usr/lib/libwrap.a(hosts_access.o): In function `host_match':
hosts_access.o(.text+0x400): undefined reference to `yp_get_default_domain'
collect2: ld returned 1 exit status
make[4]: *** [afpd] Error 1
make[4]: Leaving directory `/usr/local/src/netatalk-1.4b2+asun2.1.3/etc/afpd'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/local/src/netatalk-1.4b2+asun2.1.3/etc/afpd'
make[2]: *** [afpd] Error 2
make[2]: Leaving directory `/usr/local/src/netatalk-1.4b2+asun2.1.3/etc'
make[1]: *** [../../etc] Error 2
make[1]: Leaving directory `/usr/local/src/netatalk-1.4b2+asun2.1.3/sys/linux'
make: *** [all] Error 2
- - - - - - - - - - - - -



This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:30:30 EST