pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/31883: pkgsrc-2005Q3: security/PAM will not build on Slackware Linux 10.2



>Number:         31883
>Category:       pkg
>Synopsis:       pkgsrc-2005Q3: security/PAM will not build on Slackware Linux 
>10.2
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 21 19:26:00 +0000 2005
>Originator:     Dave Vollenweider
>Release:        
>Organization:
>Environment:
Linux kaworu 2.4.31 #8 Thu Oct 20 19:47:25 CDT 2005 i686 unknown unknown 
GNU/Linux
>Description:
Despite the configure process finding db.h after building and installing 
databases/db4, the build stops with the following errors:

 gcc -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align 
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow 
-Dlinux -ansi -D_POSIX_SOURCE -pedantic -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/PAM/work/Linux-PAM-0.77/libpamc/include 
-I../pammodutil/include -DPAM_DYNAMIC -c pam_userdb.c  -fPIC -DPIC -o 
.libs/pam_userdb.o
pam_userdb.c:28:18: db.h: No such file or directory
pam_userdb.c: In function `user_lookup':
pam_userdb.c:100: error: `DBM' undeclared (first use in this function)
pam_userdb.c:100: error: (Each undeclared identifier is reported only once
pam_userdb.c:100: error: for each function it appears in.)
pam_userdb.c:100: error: `dbm' undeclared (first use in this function)
pam_userdb.c:101: error: `datum' undeclared (first use in this function)
pam_userdb.c:101: error: syntax error before "key"
pam_userdb.c:104: warning: implicit declaration of function `dbm_open'
pam_userdb.c:113: error: `key' undeclared (first use in this function)
pam_userdb.c:113: warning: implicit declaration of function `dbm_firstkey'
pam_userdb.c:114: warning: implicit declaration of function `dbm_nextkey'
pam_userdb.c:115: error: `data' undeclared (first use in this function)
pam_userdb.c:115: warning: implicit declaration of function `dbm_fetch'
pam_userdb.c:149: warning: implicit declaration of function `dbm_close'
make[2]: *** [pam_userdb.lo] Error 1
make[2]: Leaving directory 
`/usr/pkgsrc/security/PAM/work/Linux-PAM-0.77/modules/pam_userdb'
make[1]: *** [all] Error 1
make[1]: Leaving directory 
`/usr/pkgsrc/security/PAM/work/Linux-PAM-0.77/modules'
make: *** [modules] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/security/PAM
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/pkgsrc/security/PAM/work/.work.log
===>
*** Error code 1

Stop.
>How-To-Repeat:
Continue to try building PAM.
>Fix:
A workaround: create symlink /usr/include/db.h that points to 
/usr/pkg/include/db/db.h




Home | Main Index | Thread Index | Old Index