Skip site navigation (1) Skip section navigation (2)

Re: Using ora2pg Perl Script

From: Bob McConnell <rmcconne(at)lightlink(dot)com>
To: Doug Pisarek <dgp(at)strata-group(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Using ora2pg Perl Script
Date: 2009-09-10 21:28:57
Message-ID: 4AA96F99.3020008@lightlink.com (view raw or flat)
Thread:
Lists: pgsql-novice
Doug Pisarek wrote:
> Trying to run ora2pg Perl Script. I would like to know what site I can
> go to get the perl modules to run this ora2pg script.
> I am receiving this error:
> perl ora2pg.pl
> Can't locate IO/Compress/Base/Common.pm in @INC (@INC contains:
> /oracle10g/OraHome1/perl/lib/site_perl/5.8.3/HTTP/Request
> /usr/perl5/5.8.4/lib/sun4-solaris-64int /usr/perl5/5.8.4/lib
> /usr/perl5/site_perl/5.8.4/sun4-solaris-64int /usr/perl5/site_perl/5.8.4
> /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int
> /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .) at
> /usr/perl5/site_perl/5.8.4/Compress/Zlib.pm line 11.
> BEGIN failed--compilation aborted at
> /usr/perl5/site_perl/5.8.4/Compress/Zlib.pm line 11.
> Compilation failed in require at Ora2Pg.pm line 429.
> BEGIN failed--compilation aborted at Ora2Pg.pm line 429.
> Compilation failed in require at ./ora2pg.pl line 12.
> BEGIN failed--compilation aborted at ./ora2pg.pl line 12.

What happens when you try 'cpan -h'?

At first glance I would say that if it can't find the base compression 
modules then Perl wasn't installed correctly on that system. They are 
core components. But you will need a Perl mailing list for help with 
that. I would suggest looking at <http://www.perl.org/> for starters.

Bob McConnell
N2SPP


In response to

pgsql-novice by date

Next:From: Devrim GÜNDÜZDate: 2009-09-10 23:06:49
Subject: Re: Using ora2pg Perl Script
Previous:From: Steve CrawfordDate: 2009-09-10 21:24:35
Subject: Re: Download postgresql 7.4.1 windows

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group