Subject: Can't build squid because of PAM
To: None <tech-pkg@netbsd.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: tech-pkg
Date: 06/16/2005 11:02:51
Hi!
I'm trying to update squid on NetBSD/i386 2.0.2 and it fails
while building pkgsrc/security/PAM:
gcc -Dnetbsd -I./include
-I/usr/pkgsrc/security/PAM/work/Linux-PAM-0.77/libpam/
include -I/usr/pkgsrc/security/PAM/work/Linux-PAM-0.77
-I/usr/pkgsrc/security/PA
M/work/Linux-PAM-0.77/libpamc/include -DUSE_LCKPWDF -DNEED_LCKPWDF
-DCHKPWD_HELP
ER=\"/usr/pkg/sbin/unix_chkpwd\" -DPAM_DYNAMIC -c support.c -fPIC -DPIC
-o .lib
s/support.o
support.c: In function `PAM_getlogin':
support.c:128: error: structure has no member named `ut_user'
support.c:138: warning: assignment makes pointer from integer without a cast
support.c:139: error: structure has no member named `ut_user'
support.c:139: error: structure has no member named `ut_user'
gmake[2]: *** [support.lo] Error 1
gmake[2]: Leaving directory
`/usr/pkgsrc/security/PAM/work/Linux-PAM-0.77/module
s/pam_unix'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory
`/usr/pkgsrc/security/PAM/work/Linux-PAM-0.77/module
s'
gmake: *** [modules] Error 2
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/security/PAM