On Jan 3, 2008 12:50 PM, Shilpi Harpavat <[EMAIL PROTECTED]> wrote:
> Hi,
> I  am trying to use h2xs to create a module called Utilities.pm to put
> some common function sthat my perl scripts call under one module. I ran
> the folliwng command to generate the module skeleton  and it failed with
> the following errors. I am totally new to perl and any help would be
> highly appreciated.
> Thanks
> Shilpi
>
>
>  >> h2xs -b 5.6.1 -AX Utilities
>
> Perl lib version (v5.8.8) doesn't match executable version (v5.6.1) at
> /homes/dp
> ower/dp/dp736/informix9/RHEL3/lib/perl5lib/Config.pm line 46.
> Compilation failed in require at /usr/bin/h2xs line 439.
> BEGIN failed--compilation aborted at /usr/bin/h2xs line 439.

It sounds like you have two versions of Perl installed (5.8.8 and
5.6.1) and have a screwed up set of environmental variables.  Check to
see that PERL5LIB and PATH refer to the same installation of Perl.

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


Reply via email to