CopyRighter Installation Help Needed

49 views
Skip to first unread message

Paul Naphtali

unread,
Nov 17, 2015, 5:39:53 PM11/17/15
to CopyRighter
Hello,

I'm new to CopyRighter, having just downloaded the necessary files from the Github page. I'm currently trying to install CopyRighter into my committee member's Unix server system, but have encountered a number of errors in trying to do so.

First, the system tells me that there's a string found where an operator is expected where "author_requires 'Module::Install' " is and asks me to predeclare author_requires. Once I cut out the component of the script containing the author_requires lines and rerun the script, I get asked to auto-install the 3 mandatory modules (Bio::Community, Getopt::Euclid, and Method::Signatures), to which I type "y" and enter. When I do so, all I'm told is that the pre-requisites the script asks me to autoinstall are not found and then the script ends, as follows:

include /net/infofile2/2/scratch/gradstd5/AmpliCopyrighter-master/inc/Module/Install.pm
include inc/Module/Install/Metadata.pm
include inc/Module/Install/Base.pm
include inc/Module/Install/AutoInstall.pm
include inc/Module/Install/Include.pm
include inc/Module/AutoInstall.pm
*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
[Core Features]
- Test::More         ...loaded. (1.001003)
- Test::Exception    ...loaded. (0.32)
- Bio::Community     ...missing.
- Getopt::Euclid     ...missing. (would need 0.4.3)
- Method::Signatures ...missing.
- Scalar::Util       ...loaded. (1.21)
==> Auto-install the 3 mandatory module(s) from CPAN? [y] y
*** Dependencies will be installed the next time you type 'make'.
    (You may need to do that as the 'root' user.)
*** Module::AutoInstall configuration finished.
include inc/Module/Install/Makefile.pm
include inc/Module/Install/Scripts.pm
include inc/Module/Install/WriteAll.pm
include inc/Module/Install/Win32.pm
include inc/Module/Install/Can.pm
include inc/Module/Install/Fetch.pm
Warning: prerequisite Bio::Community 0 not found.
Warning: prerequisite Getopt::Euclid 0.4.3 not found.
Warning: prerequisite Method::Signatures 0 not found.
Generating a Unix-style Makefile
Writing Makefile for Copyrighter
Writing MYMETA.yml and MYMETA.json
Writing META.yml
Warning: prerequisite Bio::Community 0 not found.
Warning: prerequisite Getopt::Euclid 0.4.3 not found.
Warning: prerequisite Method::Signatures 0 not found.
Generating a Unix-style Makefile
Writing Makefile for Copyrighter
Writing MYMETA.yml and MYMETA.json
Writing META.yml
*** Building doc...
Can't locate Bio/Community/IO.pm in @INC (@INC contains: lib /usr/local/ensembl/current/bioperl-1.2.3 /usr/local/ensembl/current/ensembl/modules /usr/local/ensembl/current/ensembl-compara/modules /usr/local/ensembl/current/ensembl-variation/modules /usr/local/ensembl/current/ensembl-funcgen/modules /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at scripts/copyrighter line 190.
BEGIN failed--compilation aborted at scripts/copyrighter line 190.
System call to '/usr/bin/perl -Ilib scripts/copyrighter --podfile' failed:
512

I've already installed the pre-requisite files at a separate location away from the home directory as my committee member asked, but I don't think the script recognizes that. I'm just wondering where I went wrong with the installation and how I can install CopyRighter into my own bin folder instead of inside the home directory if possible.

Thank you!

Reply all
Reply to author
Forward
0 new messages