[root@localhost /usr/local/dbd-oracle-1.74]$ tar -zxvf dbd-oracle-1.74.tar.gz
[root@localhost /usr/local/dbd-oracle-1.74]$ cd dbd-oracle-1.74/
[root@localhost /usr/local/dbd-oracle-1.74]$ perl makefile.pl
[root@localhost /usr/local/dbd-oracle-1.74]$ make
[root@localhost /usr/local/dbd-oracle-1.74]$ make install
[root@localhost /usr/local]$ cd dbd-pg-3.14.2/
[root@localhost /usr/local]$ perl makefile.pl
[root@localhost /usr/local]$ make
[root@localhost /usr/local]$ make install
[root@localhost /usr/local]$ cd ora2pg-21.0/
[root@localhost /usr/local/ora2pg-21.0]$ ls
changelog doc install lib license makefile.pl manifest packaging readme scripts
[root@localhost /usr/local/ora2pg-21.0]$ perl makefile.pl
checking if your kit is complete...
looks good
writing makefile for ora2pg
done...
------------------------------------------------------------------------------
please read documentation at http://ora2pg.darold.net/ before asking for help
------------------------------------------------------------------------------
now type: make && make install
[root@localhost /usr/local/ora2pg-21.0]$ make
cp lib/ora2pg.pm blib/lib/ora2pg.pm
cp lib/ora2pg/geom.pm blib/lib/ora2pg/geom.pm
cp lib/ora2pg/plsql.pm blib/lib/ora2pg/plsql.pm
cp lib/ora2pg/mysql.pm blib/lib/ora2pg/mysql.pm
cp scripts/ora2pg blib/script/ora2pg
/usr/bin/perl -mextutils::my -e 'my->fixin(shift)' -- blib/script/ora2pg
cp scripts/ora2pg_scanner blib/script/ora2pg_scanner
/usr/bin/perl -mextutils::my -e 'my->fixin(shift)' -- blib/script/ora2pg_scanner
manifying blib/man3/ora2pg.3
[root@localhost /usr/local/ora2pg-21.0]$ make install
installing /usr/local/share/perl5/ora2pg.pm
installing /usr/local/share/perl5/ora2pg/geom.pm
installing /usr/local/share/perl5/ora2pg/plsql.pm
installing /usr/local/share/perl5/ora2pg/mysql.pm
installing /usr/local/share/man/man3/ora2pg.3
installing /usr/local/bin/ora2pg
评论