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

CPAN dependencies of Treex::Core #59

Closed
dan-zeman opened this issue Sep 4, 2016 · 3 comments
Closed

CPAN dependencies of Treex::Core #59

dan-zeman opened this issue Sep 4, 2016 · 3 comments

Comments

@dan-zeman
Copy link
Member

PerlIO::Util failed to install under Strawberry Perl in Windows. That means Treex::Core cannot be installed, which in turn means that Tred cannot use the Easytreex extension and cannot work with treex files.

Is it possible to get rid of this module?

(I tried this twice but neither worked. First with Perl 5.16, which comes with Tred and reportedly is needed for Tred. And then also with the newest 64bit Perl 5.24 – if this worked, Tred might still not like it because of the unsupported Perl version, but it did not work anyway. It was not my computer so I do not know whether I can repeat it; but anyway, I had to install Tred+Treex for out-of-ÚFAL colleagues several times in the past, and the fight with CPAN was always extremely frustrating.)

@martinpopel
Copy link
Member

PerlIO::Util installation tests are known to fail on Windows or on Perl > 5.14. I agree it's frustrating, but obviously not frustrating enough to force someone to substitute PerlIO::via::gzip with PerlIO::gzip (or something that works also on Windows) in Treex (or to fix the problems in source).

This is the reason why the Treex installation guide suggest to skip test for this module with cpanm -n PerlIO::Util. Have you followed the guide? If you just clicked on EasyTreex extension in TrEd, it should also skip the tests.

@dan-zeman
Copy link
Member Author

Thanks @martinpopel, I actually know the guide but forgot to look at it, since Treex was not the main thing I was trying to install this time.

Running cpanm -n PerlIO::Util helped (before reading the guide I thought that the --force option to cpanm would do the same job but apparently it didn't).

After installing PerlIO::Util the rest went almost smoothly, I only had to hack a bit one other issue, ExtUtils/PL2Bat.pm was needed to "configure" Module::Build::Tiny but it was not identified as its dependency, so I had to figure this out from build.log and install it with a separate call to cpanm. You may want to include this info in the guide (for the users who don't forget to read it :)).

@martinpopel
Copy link
Member

OK, thanks for reporting. I've filled an issue for this Windows-specific problem.

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

No branches or pull requests

2 participants