msk_0984 has asked for the wisdom of the Perl Monks concerning the following question:
On Solaris 8 the initial version of Perl was 5.8.6 and it has been upgraded with Active Perl 5.8.8 version. Now when we try to install any other perl module we are facing the following errors :
perl Makefile.PL Set up gcc environment - 3.3.2 Unable to find a perl 5 (by these names: perl perl perl5 perl5.8.8 min +iperl, in these dirs: /usr/sbin /usr/bin /opt/Omnibus707/bin /bin /op +t/Omnibus707/probes /opt/Omnibus707/install /bin /opt/netcool/ism/pla +tform/solaris2/lib /usr/ccs/bin /usr/bin/bash /opt/Omni706/bin/solari +s2 /opt/Omni706/platform/solaris2/merant-4.1/merant/lib /opt/Omnibus7 +07/platform/solaris2/lib /opt/Omnibus707/bin/solaris2 /opt/netcool/IS +M24/platform/solaris2/lib /usr/local/apache/apache-2.0.58/lib /usr/li +b/sparcv9 /usr/local/bin /usr/local/perl-5.8.7 /usr/local/mysql/bin / +usr/local/apache/apache-2.0.58/openssl/lib /usr/local/apache2/lib /us +r/local/ssl/lib /usr/local/bin /usr/local/mysql/bin/ /usr/local/mysql +/lib/mysql/ /usr/local/lib /usr/local/lib/perl5/site_perl/5.8.7/sun4- +solaris/auto/DBD/mysql/mysql.so /usr/ccs/bin /usr/lib/sparcv9 /usr/lo +cal/lib/perl5/site_perl/5.8.6/sun4-solaris/auto/DBD/mysql /opt/netcoo +l/TWC_OMNI71/omnibus/bin /opt/ActivePerl-5.8/lib/ /opt/ActivePerl-5.8 +/bin/ /opt/ActivePerl-5.8/bin) Writing Makefile for Net::Telnet
Also in order to refer to the upgraded version of Perl we have created a soft link at location /usr/bin/perl
bash-2.03# which perl /usr/bin/perl bash-2.03# ls -l /usr/bin/perl lrwxrwxrwx 1 root other 28 Jul 25 00:18 /usr/bin/perl -> /opt/Activ +ePerl-5.8/bin/perl
Also set the environmental variable PATH with the upgraded version ( /opt/ActivePerl-5.8/bin/ )
Please let me know if I am doing any thing wrong or guide me with a possible solution. Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem installing Perl modules
by adamk (Chaplain) on Aug 02, 2007 at 12:13 UTC | |
|
Re: Problem installing Perl modules
by syphilis (Archbishop) on Aug 02, 2007 at 11:39 UTC | |
by msk_0984 (Friar) on Aug 02, 2007 at 11:50 UTC | |
|
Re: Problem installing Perl modules
by almut (Canon) on Aug 02, 2007 at 12:40 UTC | |
by msk_0984 (Friar) on Aug 02, 2007 at 13:26 UTC | |
by Corion (Patriarch) on Aug 02, 2007 at 13:40 UTC | |
by almut (Canon) on Aug 02, 2007 at 13:42 UTC | |
|
Re: Problem installing Perl modules
by syphilis (Archbishop) on Aug 02, 2007 at 13:41 UTC | |
|
Re: Problem installing Perl modules
by archfool (Monk) on Aug 02, 2007 at 11:29 UTC |