On Wed, 2 Feb 2000, Michael Smith wrote:
> Here are the patches need to make CPAN's Crypt::DES 1.01 compile and
> work on Solaris. Enjoy.
Michael,
Thanks for posting those patches, they seemed to do the trick;
remind me to buy you a beer or something next time I'm down at Texas.Net.
:)
I was able to get it compiled and tested on Solaris 2.5.1 and 2.6
without any problems. Tried it on a Solaris 7 x86 box, it compiled, then
failed during 'make test'. But, it really isn't a problem for us, since
all of our backend servers on which our OpenSRC stuff will be running are
some type of sparc.
Solaris 7 x86 compilation:
gcc version 2.95.2 19991024 (release)
perl version 5.005_03 built for i86pc-solaris
[bwann reactor 597:/usr/local/src/CPAN/Crypt-DES-1.01]$ make
[..snip..]
/bin/perl -I/usr/local/lib/perl5/5.00503/i86pc-solaris
-I/usr/local/lib/perl5/5.00503
/usr/local/lib/perl5/5.00503/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.00503/ExtUtils/typemap -typemap typemap DES.xs
>xstmp.c && mv xstmp.c DES.c
Please specify prototyping behavior for DES.xs (see perlxs manual)
gcc -B/usr/ccs/bin/ -c -I/usr/local/include -O -DVERSION=\"1.01\"
-DXS_VERSION=\"1.01\" -fPIC
-I/usr/local/lib/perl5/5.00503/i86pc-solaris/CORE DES.c
DES.xs: In function `XS_Crypt__DES_crypt':
DES.xs:57: warning: passing arg 1 of `des_crypt' from incompatible pointer type
DES.xs:57: warning: passing arg 2 of `des_crypt' from incompatible pointer type
gcc -B/usr/ccs/bin/ -c -I/usr/local/include -O -DVERSION=\"1.01\"
-DXS_VERSION=\"1.01\" -fPIC -I/usr/local/lib/perl5/5.00503/i86pc-solaris/CORE des.c
Running Mkbootstrap for Crypt::DES ()
chmod 644 DES.bs
LD_RUN_PATH="" gcc -B/usr/ccs/bin/ -o blib/arch/auto/Crypt/DES/DES.so -G
-L/usr/local/lib DES.o des.o
[..snip of chmod stuff..]
[bwann reactor 598:/usr/local/src/CPAN/Crypt-DES-1.01]$ make test
PERL_DL_NONLAZY=1 /bin/perl -Iblib/arch -Iblib/lib
-I/usr/local/lib/perl5/5.00503/i86pc-solaris
-I/usr/local/lib/perl5/5.00503 test.pl
1..4
ok 1
ok 2
not ok 3
not ok 4
--- Bryan Wann CWIS Internet Services http://www.cwis.net/"No, I'm not lost, Sir. I run a little Internet start-up downstairs, and I just bought the building"
This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:35:18 EDT