Fernando de Oliveira wrote:
> $ uname -a
> Linux VMWLFS70 3.2.0 #1 SMP Sun Jan 8 22:25:33 BRT 2012 i686 i686 i386 
> GNU/Linux
> 
> These packages were successfully installed:
> 
> $ paco -dd openssl gnutls sudo Linux-PAM | sort
> 07-Jan-2012 00:35  openssl-1.0.0f
> 07-Jan-2012 20:55  gnutls-3.0.10
> 09-Jan-2012 13:34  Linux-PAM-1.1.5
> 09-Jan-2012 15:14  sudo-1.8.3p1
> 
> Three of them are more recent than the book's ones, 

It's really hard to keep up with every package.  The packages were 
current when updated:

         Last update
openssl 2011-10-21
gnutls  2011-11-10 (four updates in 2 months!) actually current is
                    gnutls-3.0.11.tar.xz
sudo    2011-10-19

however,
Linux-PAM-1.1.5 cannot be installed by the book, without modification,
as has been already discussed in blfs-support.

I did not remember
exactly the posts, thus, by trial and error, changing .config
parameters, I finally arrived to:
> 
> ./configure --sbindir=/lib/security \
>             --docdir=/usr/share/doc/Linux-PAM-1.1.5 --with-gnu-ld \
>             --enable-read-both-confs --enable-shared --disable-static \
>             --disable-nis

> While "--enable-shared --disable-static" where not essential, make
failed without "--disable-nis". I did not wish to install libtirpc just
for that.

Did you try with the changes at 
http://www.linuxfromscratch.org/lfs/errata/stable/

When I did PAM, I did have libtirpc installed, but I generally don't 
like or install PAM.  I really don't see any value added unless you are 
using ldap to replace /etc/{passwd,shadow}.

> I would like to know if the choice "--enable-shared --disable-static"
> is safe, and what are the consequences of "--disable-nis".

Some here advocate --enable-shared and --disable-static.  It's a 
personal choice.  I doubt --with-gnu-ld does anything.

I'm not sure --disable-static is needed if the glibc nis headers have 
been installed.  That does need to be rechecked.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to