Just in case anyone bumps into this problem, only solution I can find is temperatily changing /usr/opt/perl5 to point to old installation of perl. [ in my case /usr/opt/perl5.old]. Ofcourse this required root access, I am wondering if anyone knows other solutions.
----- Original Message ----- From: [EMAIL PROTECTED] Date: Wednesday, October 20, 2004 12:14 pm Subject: Re: Multiple Perl installations > > > ----- Original Message ----- > From: "Jenda Krynicky" <[EMAIL PROTECTED]> > To: "Perl Beginners" <[EMAIL PROTECTED]> > Sent: Tuesday, October 19, 2004 4:50 PM > Subject: Re: Multiple Perl installations > > > > From: [EMAIL PROTECTED] > > > I currently have 2 Perl installations 5.6.0 and 5.8.3 > installed on one > > > of my machines. When ever I installed new modules it alway's > installs> > them under my latest Perl installation [ 5.8.3 ], but > now I have a > > > need to compile a module against my old Perl, > > > is there any documentation that describes how this can be > done ?? > > > > I believe it should be enough to make sure the Makefile.PL is > run by > > the older perl. > Aparently not, I still think Make::Maker is unable to find Perl Header > files. I tried this: > > $ export > PERL5LIB=/usr/opt/perl5.old/lib/site_perl/:/usr/opt/perl5.old/lib/5.6.0/:$PE > RL5LIB > $ bash > bash-2.05b$ echo $PERL5LIB > /usr/opt/perl5.old/lib/site_perl/:/usr/opt/perl5.old/lib/5.6.0/:/usr/opt/per > l5.old/lib > > bash-2.05b$ /usr/opt/perl5.old/bin/perl Makefile.PL > > Error: Unable to locate installed Perl libraries or Perl source code. > > It is recommended that you install perl in a standard location before > building extensions. Some precompiled versions of perl do not contain > these header files, so you cannot build extensions. In such a case, > please build and install your perl from a fresh perl distribution. It > usually solves this kind of problem. > > (You get this message, because MakeMaker could not find > "/usr/opt/perl5/lib/5.6.0/aix/CORE/perl.h") > > > > > Jenda > > ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== > > When it comes to wine, women and song, wizards are allowed > > to get drunk and croon as much as they like. > > -- Terry Pratchett in Sourcery > > > > > > -- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > > > > > > > I think I am getting closer to the root problem. In Config.pm of > my old Perl there is following line > > archlibexp='/usr/opt/perl5/lib/5.6.0/aix' > > I do not have permission to modifie this file, and I have tried a > few technics as described in http://www.script- > info.net/perl/aperl/lib/ExtUtils/MakeMaker.php, with no luck. How > Can I change this to point to '/usr/opt/perl5.old/lib/5.6.0/aix' ?? > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>
