Subject: | Installing on non-system perl is not handled optimally |
The sqlt installed under /opt/perl/ looks for SQL::Translator in the system perl. I installed SQL::Translator using /opt/perl/bin/cpan, but when I attempt to invoke /opt/perl/bin/sqlt, this fails:
[user@host ~]$ /opt/perl/bin/sqlt
Can't locate SQL/Translator.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /opt/perl/bin/sqlt line 153.
BEGIN failed--compilation aborted at /opt/perl/bin/sqlt line 153.
Invoking as /opt/perl/bin/perl /opt/perl/bin/sqlt works, though, but normally scripts supplied as part of CPAN modules will access the perl installation into which they were installed.
Best regards,
Jens-Petter Salvesen