Re: [netatalk-admins] Adding a sun's patches to Redhat 5.0


Subject: Re: [netatalk-admins] Adding a sun's patches to Redhat 5.0
From: Sak Wathanasin (sw@nan.co.uk)
Date: Tue Jan 27 1998 - 18:42:22 EST


In reply to Marc Matteo's message of the 27/01/98 at 14:14 -0800,

> I just got a vanilla 1.4b2 versions and patched away :). You do have to add:
>
> AFPLIBS= -lcrypt
>
> to your system/Linux/Makefile cuz RH 5.0 apperently doesn't do something
> right with the PAM libs... but other than that it works great for me.

The linux makefile in 1.4b2+asun assume that the PAM include and lib files have
a common root or rather that they only differ in the last component of the
path: it expects to find them in $PAMDIR/lib and $PAMDIR/include respectively.
On my RH 5.0 at any rate, the PAM libs are in /lib and the includes are in
/usr/include/security, so this strategywon't work. You can either create the
appr links in /usr/lib and /usr/include or edit the makefile. I chose the
latter. As far as I can tell, only etc/afpd/Makefile is affected. The Makefile
sets up two further variables, PAMLIBDIRS and PAMINCPATH which I changed. It
would probably be better if these were defined in the top-level makefile.

Sak Wathanasin
Network Analysis Limited
178 Wainbody Ave South, Coventry CV3 6BX, UK

Internet: sw@nan.co.uk
Phone: (+44) 1203 419996 Fax: (+44) 1203 690690



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:30:34 EST