monkfan has asked for the wisdom of the Perl Monks concerning the following question:
Most revered monks,
I've already installed Perl version 5.8.7 in my home directory. But it is build dynamically:
I've looked through ./Configure --help, but it doesn't seem to indicate how to build it statically.
Regards,
Edward
I've already installed Perl version 5.8.7 in my home directory. But it is build dynamically:
Is there a way to build it "statically" so that all the Perl library can be installed in my home in whole. Unlike now, those libraries has to be called from other places:bioinfo@sf3:~/.perl/bin[504]$ file perl perl: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, +not stripped
This dynamically build Perl has given me a problem, because the Apache server where my CGI script resides (needing newer Perl compiler) and those libraries are stored in different machines in my office network.bioinfo@sf3:~/.perl/bin[506]$ ldd perl libsocket.so.1 => /usr/lib/libsocket.so.1 libnsl.so.1 => /usr/lib/libnsl.so.1 libdl.so.1 => /usr/lib/libdl.so.1 libm.so.1 => /usr/lib/libm.so.1 libc.so.1 => /usr/lib/libc.so.1 libmp.so.2 => /usr/lib/libmp.so.2
I've looked through ./Configure --help, but it doesn't seem to indicate how to build it statically.
Regards,
Edward
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Howto Build Perl "Statically" Under Home Directory
by Tux (Canon) on Mar 29, 2007 at 07:54 UTC |
Back to
Seekers of Perl Wisdom