This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Problems with perl-xml-parser-2.44-4

Hello everyone! I tried to install this tool: https://github.com/zhangrengang/SubPhaser

However, when I try to install needed packages from .yaml file, I get such errors (see figure). I tried to do this by mamba, I installed perl-xml-parser-lite, and perl version is v5.22.0.

I have no idea.... Thank everyone in advance for advice.

errors

packages perl-xml-parser mamba

You have already done this in a separate thread, so I feel compelled to tell you: I can't read anything in these figure without getting within an inch of a monitor. Maybe you and others have better eyes than mine, but chances are there are other readers with a similar problem.

I suggest you paste a properly formatted text containing the error message rather than these images.

Sorry please for this format. :(

Do this. Copy and paste the text data in editor window. Then use 101010 button in the edit bar to format it as code.

So it looks like this

If you post screenshots then people are not able to grab the text if it is required to test something.

Sorry, I am new here)))

Output from conda:

  - xorg-xextproto==7.3.0=h7f98852_1002 -> libgcc-ng[version='>=9.3.0'] -> __glibc[version='>=2.17']
  - xorg-xproto==7.0.31=h7f98852_1007 -> libgcc-ng[version='>=9.3.0'] -> __glibc[version='>=2.17']
  - xz==5.2.5=h516909a_1 -> libgcc-ng[version='>=7.5.0'] -> __glibc[version='>=2.17']
  - zlib==1.2.11=h516909a_1010 -> libgcc-ng[version='>=7.5.0'] -> __glibc[version='>=2.17']
  - zstd==1.5.0=ha95c52a_0 -> libgcc-ng[version='>=9.3.0'] -> __glibc[version='>=2.17']

Your installed version is: 2.31

Output from mamba:

Could not solve for environment specs
Encountered problems while solving:
  - package perl-xml-parser-2.44-4 requires perl >=5.22.0,<5.23.0, but none of the providers can be installed

The environment can't be solved, aborting the operation

Much better, thank you. It seems pretty clear that this package requires a very narrow range of perl versions - >=5.22.0 and <5.23.0 can't be more than a couple minor versions, and it doesn't surprise me that conda can't handle it.

You may need to find the source code for this package and install it via its Makefile.PL, or find a way to solve your problem without this particular package.

Please could you explain hoe to make Makefile.PL in my case?

A general way of installing perl modules via CPAN is described here. You will have to find your exact package, but I suspect it might be here.

0 answers

No answers yet.

Log in to answer this question.