Subject: | Crypt-Cracklib Failed to Work Under x86_64 |
The make process is attached below. It failed at "make test".
imacat@rinse /tmp/Crypt-Cracklib-0.01 % uname -a
Linux rinse 2.6.16.14 #1 SMP Mon May 8 23:44:32 CST 2006 x86_64 GNU/Linux
imacat@rinse /tmp/Crypt-Cracklib-0.01 % perl Makefile.PL
Enter the directory where crack.h/packer.h is located
[/usr/local/include] /usr/include
Enter the directory where libcrack.(so|a) is located
[/usr/local/lib] /usr/lib
Checking if your kit is complete...
Looks good
Writing Makefile for Crypt::Cracklib
imacat@rinse /tmp/Crypt-Cracklib-0.01 % make
cp Cracklib.pm blib/lib/Crypt/Cracklib.pm
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.8.8/ExtUtils/typemap Cracklib.xs > Cracklib.xsc && mv
Cracklib.xsc Cracklib.c
gcc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O3
-DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC
"-I/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi-ld/CORE" -Dpacker=1
Cracklib.c
Cracklib.c: In function `XS_Crypt__Cracklib_FascistCheck':
Cracklib.c:196: warning: assignment makes pointer from integer without a
cast
Running Mkbootstrap for Crypt::Cracklib ()
chmod 644 Cracklib.bs
rm -f blib/arch/auto/Crypt/Cracklib/Cracklib.so
LD_RUN_PATH="/usr/lib" gcc -shared -L/usr/local/lib Cracklib.o -o
blib/arch/auto/Crypt/Cracklib/Cracklib.so \
-L/usr/lib -lcrack \
chmod 755 blib/arch/auto/Crypt/Cracklib/Cracklib.so
cp Cracklib.bs blib/arch/auto/Crypt/Cracklib/Cracklib.bs
chmod 644 blib/arch/auto/Crypt/Cracklib/Cracklib.bs
Manifying blib/man3/Crypt::Cracklib.3
imacat@rinse /tmp/Crypt-Cracklib-0.01 % make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
Please enter the location of your pw_dict file:
[/usr/local/share/cracklib/pw_dict] /usr/share/dict/pw_dict
1..18
ok 1
/usr/share/dict/pw_dict: size mismatch
PWOpen: Success
make: *** [test_dynamic] Error 255
imacat@rinse /tmp/Crypt-Cracklib-0.01 %