Building the Crypt::DES package on Solaris has seemed to stump a lot of people. After much trial and error, and reading notes, I have managed to get it compiled on a couple different versions of Solaris.
Here are the patches I have accumulated to get this stuff working (at least I think it is working). Please don't ask me to support this work, as I only know enough C to be dangerous, and lack clue when it comes to porting, endian issues, and crypt stuff. I am however curious to whether these patches work for people or not.
standard disclaimer: try this stuff on your own, if it blows up, don't blame me. if it don't work, don't blame me. etc.
Update: 30-May-04: I'm told by somebody these patches work for HP/UX too.
-- bwann [at] cwis [dot] net
Crypt::DES 1.01 patch for Solaris 7 SPARC (sun4u,Ultra)
What my latest build with this patch looked like
Note: if using perl 5.6.0, it appears you have to use
POLLUTE=1 when making the makefile, as in
perl Makefile.PL POLLUTE=1, something to do with changing
symbols.
Crypt::DES 1.01 patch for Solaris 7 x86
Crypt::DES 1.01 patch for Solaris 2.6 sparc (?) The original provided by Michael Smith
There is much discussion about Crypt::DES, including the original threads of where I was stumbling through this problem on the OpenSRS developers list, and also in USENET.