Correct me if i'm wrong, but XS and Dynaloader based modules are those who use C/C++ shared objects (.so) and which are not PP (Pure Perl)?
Now assuming I have a machine, which does not have web-connectivity whatsoever (Solaris 10) and I want, for instance, to install Crypt::OpenSSL::AES
(XS based module), copying the AES.pm
file to the relevant path in @INC wont do any good since my system does not have libssl
installed.
My second and most important question is, how do I install such modules when I don't have CPAN? my approach is:
- first get
libssl
for my platform, compile it, but where should I put that shard object file so that perl can find it? - when I have libssl installed and compiled and located where it should be, is it enough now to just copy the
AES.pm
to the relevant path in @INC, or do I need to configure / make it?
Crypt::OpenSSL::AES
needs to be compiled and linked to libssl inorder work properly. 1. Download and compile and install libssl 2. Download and compile and installCrypt::OpenSSL::AES
– Elevator