Ora2pg를 설치해보세요

Ora2pg를 설치해보세요

저는 RHEL을 실행하는 Amazon EC2 서버를 사용하고 있습니다. 버전은 다음과 같습니다:

NAME="Red Hat Enterprise Linux"
VERSION="8.3 (Ootpa)"

노력하고있어Ora2pg 설치(펄 기반입니다.) 하지만 처음 몇 가지 지침, 특히 make && make install.

다음 메시지가 나타납니다.

[oracle@ip-10-0-26-247 ora2pg-21.1]$ perl Makefile.PL
Invalid LICENSE value 'GPLv3' ignored
Generating a Unix-style Makefile
Writing Makefile for Ora2Pg
Invalid LICENSE value 'GPLv3' ignored
Writing MYMETA.yml and MYMETA.json

Done...
------------------------------------------------------------------------------
Please read documentation at http://ora2pg.darold.net/ before asking for help
------------------------------------------------------------------------------
Now type: make && make install
[oracle@ip-10-0-26-247 ora2pg-21.1]$ sudo make && make install
[sudo] password for oracle:
Skip blib/lib/Ora2Pg/GEOM.pm (unchanged)
Skip blib/lib/Ora2Pg/PLSQL.pm (unchanged)
Skip blib/lib/Ora2Pg.pm (unchanged)
Skip blib/lib/Ora2Pg/MySQL.pm (unchanged)
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 1 pod document
Manifying 1 pod document
Installing default configuration file (ora2pg.conf.dist) to /etc/ora2pg
mkdir /etc/ora2pg: Permission denied at /usr/share/perl5/vendor_perl/ExtUtils/Command.pm line 299.
make: *** [Makefile:931: install_all] Error 255
[oracle@ip-10-0-26-247 ora2pg-21.1]$

Permission denied으로 실행해도 오류가 발생합니다 sudo. 내가 무엇을 놓치고 있나요?

답변1

안타깝지만 sudo make && sudo make install제대로 작동하도록 만들어야 했어요.

관련 정보