khalidschofield wrote:Anyway install CPAN worked. My SSL module won't build probably because SSL is broken on the box.
I've revisited this problem today since we have proper openssl alternatives now:
Brent Canavan and i have made new packages for neko_openssl and i could successfully build Net-SSLeay-1.81 aka Net::SSLeay as a prerequisite for IO::Socket::SSL
CPAN module is really backwards when it comes to building modules from C libraries installed on the system, because the inclusion of nonstandard header and library location is apparently not standardized in itself and depends on how people have coded it inside Makefile.PL
I also have the feeling that the CPAN module and its shell does not incorporate environments from the parent tcsh or ksh. I tried all sorts of things like CPATH, CFLAGS, --incpath, -I, INC="-I<path" and whatnot.
So i pulled the sources and compiled it manually via this recipe:
Code: Select all
> wget http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/Net-SSLeay-1.81.tar.gz
> gunzip -c Net-SSLeay-1.81.tar.gz | tar xvf -
> cd Net-SSLeay-1.81
> /usr/nekoware/bin/perl Makefile.PL INC="-I/usr/nekoware/include"
With "gmake install" as root it should put the module into the site specific portion of nekoware perl
I'm not sure if you still need this, but i think it's good for some folks who have this problem in the future.
Now, back to Python!