>
> Yes, provide us the exact error message you get, and the
> exact command you gave that produced the error. I just
> installed PAM and a reinstall of Shadow not too long ago
> and I had no problems.
>
> It is important: the *exact* command you gave, and the *exact*
> error message.
>
> --
> Randy
>
Thank you, here it goes:
this is for PAM:
./configure --sbindir=/lib/security \
--docdir=/usr/share/doc/Linux-PAM-1.1.3 \
--enable-read-both-confs
make
I did the post installation operations as it is
said in the book.
this is for shadow:
sed -i 's/groups$(EXEEXT) //' src/Makefile.in
find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \;
sed -i -e 's/ ko//' -e 's/ zh_CN zh_TW//' man/Makefile.in
sed -i -e 's...@#encrypt_method d...@encrypt_method MD5@' \
-e 's@/var/spool/mail@/var/mail@' etc/login.defs
./configure --prefix=/usr --sysconfdir=/etc --disable-nls --with-libpam
make
after ./cofigure:
shadow will be compiled with the following features:
auditing support: no
CrackLib support: no
PAM support: yes
suid account management tools: yes
SELinux support: no
shadow group support: yes
S/Key support: no
SHA passwords encryption: yes
nscd support: yes
after make:
gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../libmisc
-DLOCALEDIR=\"/usr/share/locale\"
-g -O2 -MT login_nopam.o -MD -MP -MF .deps/login_nopam.Tpo -c -o login_nopam.o
login_nopam.c
mv -f .deps/login_nopam.Tpo .deps/login_nopam.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o login login.o
login_nopam.o
../libmisc/libmisc.a ../lib/libshadow.la -lpam -lpam_misc
libtool: link: warning: library `/usr/lib/libpam.la' was moved.
libtool: link: warning: library `/usr/lib/libpam_misc.la' was moved.
libtool: link: warning: library `/usr/lib/libpam.la' was moved.
libtool: link: warning: library `/usr/lib/libpam_misc.la' was moved.
libtool: link: cannot find the library `/lib/libpam.la' or unhandled argument
`/lib/libpam.la'
make[2]: *** [login] Error 1
make[2]: Leaving directory `/home/hauser/cucc/!buhera/shadow-4.1.4.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hauser/cucc/!buhera/shadow-4.1.4.2'
make: *** [all] Error 2
regards,
bendeguz
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page