-
Notifications
You must be signed in to change notification settings - Fork 822
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
get Error 22 when installing local Perl module #1432
Comments
Thanks for reporting the issue. Can you please provide an strace of the failing command? |
The strace is attached below. |
Thanks for sending out the strace! It looks like the einval error (22) is coming from the child process but the trace was only collected on the parent process: wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 22}], 0, NULL) = 176 Can you please rerun the strace with the -f option so the child process is traced as well? |
You are welcome. The strace result is listed below. Thank you for your reply. |
Thanks again! Looks like the failure is coming from an open call, but it's not obvious why it is failing since the file was reported as not existing a few lines above: 44 stat("blib/man3/SelSweepRegion::FindGene.3pm", 0x1a5a298) = -1 ENOENT (No such file or directory) I filed a task on our side so we can debug further to see what is going on. |
Thanks for your work. |
Are you installing from somewhere in the /mnt path or from ~ ? I had a similar issue and resolved it by installing from within the Ubuntu file system, not the mounted Windows file system. Also check out #186 . If that's not taken care of, perl module installations will fail. The "file not existing" line would hint towards the fact this might be related to the same issue in 186. |
@yorickdowne You are right. The module was successfully installed from the directory under ~ other than that under /mnt. Thanks very much. |
@JINPENG-WANG it sounds like the issue is resolved, but wanted to double check with you before closing out the thread. |
@stehufntdev Yes, the issue is resolved. Thanks for all of you. |
A brief description
The Perl module (e.g. Finnigan::Scan) was downloaded and saved in the Desktop. I tried to install it from local directory with
perl Makefile.PL
make
...
but got an error:
Can't write-open blib/man3/Finigan::AuditTag.3pm: Invalid argument at /usr/share/perl/5.22/ExtUtils/Command/MM.pm line147.
Makefile:643: recipe for target 'manifypods' failed
make: *** [manifypods] Error 22
I have also tried other modules but got the similar error:
Can't write-open blib/man3/SelSweepRegion::FindGene.3pm: Invalid argument at /usr/share/perl/5.22/ExtUtils/Command/MM.pm line147.
Makefile:418:: recipe for target 'manifypods' failed
make: *** [manifypods] Error 22
Your Windows build number
Windows 10 Home Insider Previewer China
Build 14971.rs_prerelease.161111-1700
Steps / All commands required to reproduce the error from a brand new installation
tar -xvf Finnigan-0.0206d.tar.gz
cd Finnigan-0.0206
perl Makefile.PL
make
See our contributing instructions for assistance.
The text was updated successfully, but these errors were encountered: