Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation of Bio::Tree::Tree fails under perl-5.30.3 #344

Open
MartGro opened this issue Jun 4, 2020 · 3 comments
Open

Installation of Bio::Tree::Tree fails under perl-5.30.3 #344

MartGro opened this issue Jun 4, 2020 · 3 comments

Comments

@MartGro
Copy link

MartGro commented Jun 4, 2020

I was trying to install Bio::Tree::Tree via cpanm under perl-5.30.3, but the installation fails.
The error message is:
-> FAIL Installing XML::DOM::XPath failed. See /home/stud/ga42vor/.cpanm/work/1591284525.30081/build.log for details. Retry with --force to force install it.
-> FAIL Installing the dependencies failed: Module 'DB_File' is not installed, Module 'XML::DOM::XPath' is not installed
-> FAIL Bailing out the installation for BioPerl-1.7.7.

Here are the log files:
https://gist.github.com/MartGro/9ad44ac4c27aed002ab94f54fbbd3ca7#file-build-log
https://gist.github.com/MartGro/c3a75c59b2ad9fe0b955153e49931496#file-build-log

Do you need additional information? I'm an absolute beginner when it comes to perl and I only need to run one program.
The installation instructions of that program indicate that it was built with BioPerl-1.5.2.
If it does not work to get version 1.7.7 to run, is there a way to go back to version 1.5.2?

Thanks a lot,
Martin

@MartGro
Copy link
Author

MartGro commented Jun 4, 2020

I just saw that this is probably the same underlying issue as here:
#336

All recent builds for the XML library are failing. Is there a way of working around that? Maybe including a older version (0.13 instead of 0.14?)

@ocstx
Copy link

ocstx commented Jul 24, 2020

In my case was due to the fact that XML::DOM::XPath is outdated.
Here explanation and solution:
https://superuser.com/questions/1427147/mac-os-x-mojave-perl-5-xmldomxpath-test-non-ascii-fail
but this is a "chapuza", I believe that a correction in "XML::DOM::XPath" should be applied
I'm using perl-5.30.1 installed with perlbrew in a High sierra OSX

@cjfields
Copy link
Member

cjfields commented Aug 6, 2020

Yes this will likely need a fix in the upstream module or a change in the XML dependency (standardizing on XML::LibXML would be my suggestion).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants