[Net-ssleay-devel] Net::SSLeay question

sampo at symlabs.com sampo at symlabs.com
Thu Jun 14 16:46:25 UTC 2007


Vitaliy Shchupak writes:
> I'm trying to install the perl Net::SSLeay module on a hosted server where 
> I
> do not have root priveledges.  I've implemented several workarounds to
> install modules as non-root by creating a local perl library path and
> prepending it to @INC (followed CPAN instructions).  That works fine, and
> I've installed other modules this way.  I also installed a local copy of
> OpenSSL 0.9.7m

Why using such an outdated version of OpenSSL? 

> and specified the correct path during the installation of
> Net::SSLeay, and that seemed to work fine.  However, where it fails is 
> after
> the 'make install' step, where I get the permission denied error:
> ERROR: Can't create '/usr/local/lib/perl/5.6.1'

You probably need to supply some argument, perhaps prefix=/your/path,
to the MakeMaker generated Makefile to change the place where it tries
to install. Or just install manually. See MakeMaker documentation at 

perldoc ExtUtils::MakeMaker 

As I am not any more active in Net::SSLeay maintenance team, you
should direct further inquiries to 

http://alioth.debian.org/projects/net-ssleay/
net-ssleay-devel at lists.alioth.debian.org 

Cheers,
 --Sampo 

> So, my question is: what and why is it trying to write to that directory,
> and is there a way to specify a different (local) installation path.  I'm
> using CPAN to install the module, and all modules should be installed to 
> my
> local perl library location that I speficied in $PERL5LIB.
> Here's some additional information:
> Linux Version: Linux infong527
> 2.6.16.33-20070131a-areca-filemon-3ware-e1000#1 SMP Wed Jan 31
> 02:48:22 CET 2007 i686 unknown
> glibc version:
> u43994699:~/myperl > ls -l /lib/libc*
> -rwxr-xr-x    1 root     root      1153784 Jan  7  2005 /lib/libc-2.2.5.so
> lrwxrwxrwx    1 root     root           13 Apr 10 05:41 /lib/libc.so.6 ->
> libc-2.2.5.so
> lrwxrwxrwx    1 root     root           14 Apr 10 05:41 /lib/libcap.so.1 
> ->
> libcap.so.1.10
> -rw-r--r--    1 root     root        11600 Dec 17  2001 
> /lib/libcap.so.1.10
> lrwxrwxrwx    1 root     root           17 Apr 10 05:41 
> /lib/libcom_err.so.2
> -> libcom_err.so.2.0
> -rw-r--r--    1 root     root         5016 Mar 21  2002
> /lib/libcom_err.so.2.0
> -rw-r--r--    1 root     root        19136 Jan  7  2005 /lib/libcrypt-
> 2.2.5.so
> lrwxrwxrwx    1 root     root           17 Apr 10 05:41 /lib/libcrypt.so.1
> -> libcrypt-2.2.5.so
> Net::SSLeay version: 1.30
> Perl Version: 5.6.1 
> 
> Please let me know if I can work around this to install Net::SSLeay 
> 
> Thanks,
> Vitaliy
__________________________________________________________________
Sym  | Sampo Kellomaki  ______| Identity Architect, Federated SSO
____ | +351-918.731.007 ______| Liberty ID-WSF DirectoryScript
labs | skype: sampo.kellomaki | LDAP SOAP PlainDoc Crypto C Perl 




More information about the Net-ssleay-devel mailing list