1

I'm trying to install the SQL::Translator module. Everything runs fine until it gets to this test:

DBD::SQLite::db do failed: not an error at t/sqlite-rename-field.t line 62.
#   Failed test '-- Convert schema '' to '':;'
#   at t/sqlite-rename-field.t line 62.
# died: Died at t/sqlite-rename-field.t line 62.
# Looks like you failed 1 test of 16.
Failed 1/72 test programs. 1/1901 subtests failed.
make: *** [test_dynamic] Error 1

Any help is much appreciated, I was not able to find any similar questions. Thanks.

cpan link: http://search.cpan.org/~ilmari/SQL-Translator-0.11021/lib/SQL/Translator.pm

3
  • Suggest contacting the module author. Commented May 27, 2015 at 22:04
  • 1
    I'm seeing all tests pass. Are you using up-to-date versions of Perl, DBI, and DBD::SQLite? Commented May 27, 2015 at 22:05
  • Hi rutter, the server I'm working with is running Perl 5.10.1, DBI 1.609, and DBD::SQLite 1.27. I am a bit wary about updating to the latest versions since I'm not sure if it would mess with anything else on the server. Commented May 27, 2015 at 22:13

3 Answers 3

1

It could be because of missing dependencies and/or mismatch in version of other perl modules. Try using CPANM to install your desired package. It will take care of dependencies for you.

Sign up to request clarification or add additional context in comments.

Comments

0

You can also try to install libsql-translator-perl library if you are on debian based systems. I am sure there will be a compatible library on red hat based systems too.

Also if you want to install from cpan then use CPANM to install the module.

Personally i prefer to use distro libraries in place of installing modules.

Comments

0

In case anyone stumbles across this question, my solution was:

  • install perlbrew
  • install latest version of perl via perlbrew
  • download required libraries
  • install module

It was much easier than dealing with the older system

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.