> 
> 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 have added  the following to ENV:
> 
> PERL_INC=/usr/opt/perl5.old/lib/5.6.0/aix/CORE
> PERL5LIB=/usr/opt/perl5.old/lib
> 
> and still get the following error
> 
> 
> 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")
> 
> thanks in advance,
> Mark
> 

If you are doing the installation via CPAN or by doing perl Makefile.PL
then you should be able to just make sure to point to the perl you want
to be using and it should just Do the Right Thing.  Try providing a full
path to the correct perl and see if that helps.

http://danconia.org


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to