Anyone build Authen::PAM in Panther successfully? Using OS 10.3.1, Perl
5.8.2, latest Authen::PAM.

Config + make go ok but it fails on make test. Here's my output:

perl M*L
Checking if your kit is complete...
Looks good
checking for gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cc -E
checking for pam header files in... security
checking for pam_getenv... yes
checking if pam_strerror takes a pam_handle_t argument... yes
checking for PAM_AUTHTOKEN_REQD... no
checking for PAM_NEW_AUTHTOK_REQD... yes
checking for PAM_AUTHTOK_EXPIRED... yes
checking for PAM_AUTHTOK_RECOVER... no
checking for PAM_AUTHTOK_RECOVERY... no
checking for PAM_BAD_ITEM... yes
checking for PAM_CONV_AGAIN... yes
checking for PAM_CRED_DELETE... no
checking for PAM_CRED_ESTABLISH... no
checking for PAM_CRED_REFRESH... no
checking for PAM_CRED_REINITIALIZE... no
checking for PAM_DELETE_CRED... yes
checking for PAM_ESTABLISH_CRED... yes
checking for PAM_REFRESH_CRED... yes
checking for PAM_REINITIALIZE_CRED... yes
checking for PAM_INCOMPLETE... yes
checking for PAM_MODULE_UNKNOWN... yes
checking for PAM_RADIO_TYPE... yes
configure: creating ./config.status
config.status: creating pam.cfg
config.status: creating PAM.pm
config.status: creating PAM_config.h
Note (probably harmless): No library found for -lpam
Writing Makefile for Authen::PAM
[systame:/src/Authen-PAM-0.14] randy% make
cp FAQ.pod blib/lib/Authen/FAQ.pod
cp PAM.pm blib/lib/Authen/PAM.pm
/usr/bin/perl /Library/Perl/ExtUtils/xsubpp  -typemap
/usr/local/lib/perl5/5.8.2/ExtUtils/typemap -typemap typemap  PAM.xs >
PAM.xsc && mv PAM.xsc PAM.c
cc -c  -I. -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -I/usr/local/include -Os   -DVERSION=\"0.14\"
-DXS_VERSION=\"0.14\"  "-I/Library/Perl/CORE"  -DHAVE_CONFIG_H PAM.c
Running Mkbootstrap for Authen::PAM ()
chmod 644 PAM.bs
rm -f blib/arch/auto/Authen/PAM/PAM.bundle
LD_RUN_PATH="" env MACOSX_DEPLOYMENT_TARGET=10.3 cc  -bundle -undefined
dynamic_lookup -L/usr/local/lib PAM.o  -o
blib/arch/auto/Authen/PAM/PAM.bundle
ld: warning -prebind has no effect with -bundle
chmod 755 blib/arch/auto/Authen/PAM/PAM.bundle
cp PAM.bs blib/arch/auto/Authen/PAM/PAM.bs
chmod 644 blib/arch/auto/Authen/PAM/PAM.bs
Manifying blib/man3/Authen::FAQ.3
Manifying blib/man3/Authen::PAM.3
[systame:/src/Authen-PAM-0.14] randy% make test
Running Mkbootstrap for Authen::PAM ()
chmod 644 PAM.bs
rm -f blib/arch/auto/Authen/PAM/PAM.bundle
LD_RUN_PATH="" env MACOSX_DEPLOYMENT_TARGET=10.3 cc  -bundle -undefined
dynamic_lookup -L/usr/local/lib PAM.o  -o
blib/arch/auto/Authen/PAM/PAM.bundle
ld: warning -prebind has no effect with -bundle
chmod 755 blib/arch/auto/Authen/PAM/PAM.bundle
cp PAM.bs blib/arch/auto/Authen/PAM/PAM.bs
chmod 644 blib/arch/auto/Authen/PAM/PAM.bs
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..12
dyld: /usr/bin/perl Undefined symbols:
blib/arch/auto/Authen/PAM/PAM.bundle undefined reference to _pam_acct_mgmt
expected to be defined in a dynamic image
blib/arch/auto/Authen/PAM/PAM.bundle undefined reference to
_pam_authenticate expected to be defined in a dynamic image
blib/arch/auto/Authen/PAM/PAM.bundle undefined reference to _pam_chauthtok
expected to be defined in a dynamic image

Etc.

-- 
Randall Perry
sysTame

Xserve Web Hosting/Co-location
Website Development/Promotion
Mac Consulting/Sales

http://www.systame.com/


Reply via email to