Question: MuSiC installation on Mac, Module Genome error
1
gravatar for TriS
3.6 years ago by
TriS3.5k
United States, Buffalo
TriS3.5k wrote:

I followed the guide Installation of the MuSiC suite on unsupported Linux distributions and I was able to get almost to the end of the installation.

 

a the point where I have to install the Genome module with 

sudo `which cpanm` -n http://apt.genome.wustl.edu/ubuntu/pool/main/g/genome/genome_0.80.1-3.tar.gz

I get the following error (from the log.file):

Checking dependencies from MYMETA.json ...
Checking if you have IO::String 0 ... Yes (1.08)
Checking if you have IO::File 0 ... Yes (1.16)
Checking if you have Getopt::Complete 0 ... Yes (0.26)
Checking if you have Carp 0 ... Yes (1.29)
Checking if you have File::Temp 0 ... Yes (0.23)
Checking if you have File::Basename 0 ... Yes (2.84)
Checking if you have UR 0.29 ... Yes (0.43)
Checking if you have Sys::Hostname 0 ... Yes (1.17)
Building Genome-0.080001
Building Genome
failed to extract pod: : error in Genome::Site::local::MacBooks-MacBook-Pro: Bareword "Pro" not allowed while "strict subs" in use at (eval 206) line 1.

 at /Users/macbook/.cpanm/work/1429565645.21366/genome-0.80.1/blib/lib/Genome/Site.pm line 24.
    Genome::Site::BEGIN() called at /Users/macbook/.cpanm/work/1429565645.21366/genome-0.80.1/blib/lib/Genome/Site.pm line 36
    eval {...} called at /Users/macbook/.cpanm/work/1429565645.21366/genome-0.80.1/blib/lib/Genome/Site.pm line 36
[ ... ]
-> FAIL Installing http://apt.genome.wustl.edu/ubuntu/pool/main/g/genome/genome_0.80.1-3.tar.gz failed. See /Users/macbook/.cpanm/work/1429565645.21366/build.log for details. Retry with --force to force install it.

this tells me that there is a problem because of the word "Pro" from my MacBook Pro....however, I'm not sure how to fix this, any suggestions?

I did try to use --force but it made no difference...

music mac • 1.3k views
ADD COMMENTlink modified 3.6 years ago by mj2009210590 • written 3.6 years ago by TriS3.5k
3
gravatar for Cyriac Kandoth
3.6 years ago by
Cyriac Kandoth5.2k
Memorial Sloan Kettering, New York, USA
Cyriac Kandoth5.2k wrote:

Those instructions were tested on various Linux distributions, never on a Mac. One of the many differences between Linux and Mac OSX is how OSX allows a user-friendly ComputerName like "MacBooks MacBook Pro" that can contains spaces, while a linux hostname cannot. It doesn't perfectly fit your error message, but give it a shot... Run the following to change your Mac's ComputerName and HostName, and try again:

sudo scutil --set HostName "macbookpro"
sudo scutil --set ComputerName "macbookpro"
ADD COMMENTlink written 3.6 years ago by Cyriac Kandoth5.2k
1

awesome, this trick worked.

I can also confirm that the approach described Installation of the MuSiC suite on unsupported Linux distributionsworks also on Mac.. with the addition of the above script in case ppl have the same error I had

thanks :)

ADD REPLYlink written 3.6 years ago by TriS3.5k
1

Great! Glad to hear. And thanks for confirming Mac compatibility. :)

ADD REPLYlink modified 3.6 years ago • written 3.6 years ago by Cyriac Kandoth5.2k
0
gravatar for mj200921059
3.6 years ago by
mj2009210590 wrote:

Cyriac Kandoth   i want to install genome-music followed your approach described Installation of the MuSiC suite on unsupported Linux distributions and almost finished. i met a problem when i install the Genome module with 

sudo `which cpanm` -n http://apt.genome.wustl.edu/ubuntu/pool/main/g/genome/genome_0.80.1-3.tar.gz

the error is :

--> Working on http://apt.genome.wustl.edu/ubuntu/pool/main/g/genome/genome_0.80.1-3.tar.gz
Fetching http://apt.genome.wustl.edu/ubuntu/pool/main/g/genome/genome_0.80.1-3.tar.gz ... OK
Configuring Genome-0.07 ... OK
Building Genome-0.080001 ... FAIL
! Installing http://apt.genome.wustl.edu/ubuntu/pool/main/g/genome/genome_0.80.1-3.tar.gz failed. See /home/majun/.cpanm/work/1429704220.15054/build.log for details. Retry with --force to force install it.

i want to install music on the Ubuntu 14.04

i don't know how to do ....

thanks
 

 

ADD COMMENTlink written 3.6 years ago by mj2009210590
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 800 users visited in the last hour