Solved

Bioperl installation issue.

Posted on 2009-06-28
9
456 Views
Last Modified: 2012-05-07
Hi,

This is a relatively specialised question regarding the Bioperl package, so i'm not sure if anybody uses this and has any insight on the installation of this perl programme, i'm kinda throwing this question on here as a last resort.

I'm new to the mac way of working and programming aswell as the UNIX (Terminal) environment. I will describe in as much detail as i can as to what i have done so far in terms of bioperl installation and try to describe what my problem is.

Ok so first of all i have downloaded and extracted the files BioPerl-1.6.0 and BioPerl-db-1.6.0 from the site. I have these two folders saved in a folder on my OSX desktop called "ExerciseTwo".

After doing this, i open up Terminal and locate BioPerl-1.6.0.

i then run:

perl Build.PL (i have also tried sudo perl Build.pl)

i then run ./Build test (again tried this with sudo ./Build test)

after running the build test, i receive the feedback:

Failed Test                              Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/AlignIO/AlignIO.t                    255 65280    28   42 150.00%  8-28
t/AlignIO/arp.t                         255 65280    48   92 191.67%  3-48
t/Annotation/Annotation.t          255 65280   159   83  52.20%  9 117 119-159
t/ClusterIO/SequenceFamily.t    255 65280    19   34 178.95%  3-19
t/LocalDB/Flat.t                       255 65280    24   20  83.33%  15-24
t/LocalDB/Index.t                     255 65280    64   66 103.12%  32-64
t/RemoteDB/BioFetch.t              255 65280    36    2   5.56%  36
t/RemoteDB/DB.t                      3   768   113   59  52.21%  83-113
t/RemoteDB/EUtilities.t              1   256   309    1   0.32%  307
t/SeqIO/Handler.t                     255 65280   550 1098 199.64%  2-550
t/SeqIO/chaos.t                        1   256     8    1  12.50%  1
t/SeqIO/swiss.t                        255 65280   240  479 199.58%  1-240
t/SeqTools/GuessSeqFormat.t          1   256    49    2   4.08%  25 50
t/Tools/Analysis/Protein/ELM.t     255 65280    15   22 146.67%  5-15
t/Tools/Analysis/Protein/Scansite  255 65280    14   20 142.86%  5-14
t/Tools/Run/WrapperBase.t            1   256    27    1   3.70%  20
44 tests and 250 subtests skipped.
Failed 16/318 test scripts, 94.97% okay. 1015/15518 subtests failed, 93.46% okay

Ok so going off this i then decide to run the install: ./Build install

This is a segment of the info i receive back in Terminal after the install:

Manifying blib/script/bp_pairwise_kaks.pl -> blib/bindoc/bp_pairwise_kaks.pl.1
Manifying blib/script/bp_seqret.pl -> blib/bindoc/bp_seqret.pl.1
Manifying blib/script/bp_seq_length.pl -> blib/bindoc/bp_seq_length.pl.1
Manifying blib/script/bp_query_entrez_taxa.pl -> blib/bindoc/bp_query_entrez_taxa.pl.1
Manifying blib/script/bp_load_gff.pl -> blib/bindoc/bp_load_gff.pl.1
Manifying blib/script/bp_fastam9_to_table.pl -> blib/bindoc/bp_fastam9_to_table.pl.1
Manifying blib/script/bp_process_wormbase.pl -> blib/bindoc/bp_process_wormbase.pl.1
Manifying blib/script/bp_nrdb.pl -> blib/bindoc/bp_nrdb.pl.1
Manifying blib/script/bp_composite_LD.pl -> blib/bindoc/bp_composite_LD.pl.1
Manifying blib/script/bp_classify_hits_kingdom.pl -> blib/bindoc/bp_classify_hits_kingdom.pl.1
Manifying blib/script/bp_blast2tree.pl -> blib/bindoc/bp_blast2tree.pl.1
Manifying blib/script/bp_heterogeneity_test.pl -> blib/bindoc/bp_heterogeneity_test.pl.1
Manifying blib/script/bp_generate_histogram.pl -> blib/bindoc/bp_generate_histogram.pl.1
Manifying blib/script/bp_process_gadfly.pl -> blib/bindoc/bp_process_gadfly.pl.1
mkdir /usr/local/share: Permission denied at /System/Library/Perl/5.8.8/ExtUtils/Install.pm line 112

now these bp_files such as bp_nrdb.pl should be installed onto my Unix somewhere? but i'm not sure if the install has worked, and these files saved to the made directory, as is the case here:

mkdir /usr/local/share: Permission denied at /System/Library/Perl/5.8.8/ExtUtils/Install.pm line 112

is there something wrong with my install? i think /usr/local/share should be created and then all of these bp_files should go into this folder. Is there anything that i'm doing wrong here?

Thanks.
0
Comment
Question by:StephenMcGowan
  • 5
  • 4
9 Comments
 
LVL 19

Expert Comment

by:Kim Ryan
ID: 24731025
You will need to check  the permisions in the t /System/Library/Perl/5.8.8/ area. You may need to login as super user to do the install. Apart from that, all looks OK.
0
 

Author Comment

by:StephenMcGowan
ID: 24731040
Hi teraplane,

thanks for the feedback. How would i change the permissions in the System/Library/Perl/5.8.8/ area to get around this?

also how would i login as super user to do the install? I'm kinda brand new to any of this... would you be able to guide me through this problem?

Thanks.

Stephen.
0
 
LVL 19

Expert Comment

by:Kim Ryan
ID: 24731050
On unix and mac systems, ther is alway a super user account, but you will need to know the password.

To login type
su password

You can change directory permisions with the chmod command, but again will probably need the super user password to do this.
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

Author Comment

by:StephenMcGowan
ID: 24731077
hmm i type "su" and yeah, it asks for a password.

I type in, what i'm guessing is my password (not really 100% sure on it) and receive:

su: Sorry

I'm guessing my password is wrong, is there anyway i can retrieve the password?

Thanks,

Stephen.
0
 
LVL 19

Accepted Solution

by:
Kim Ryan earned 500 total points
ID: 24731100
try this command, it ,may get you to super user level
sudo -s
Also you could look here: http://answers.google.com/answers/threadview/id/372901.html
0
 

Author Comment

by:StephenMcGowan
ID: 24731115
righty,

just got into supervisor level i think. My command line reads:     bash-3.2#

i'll have a look at using chmod to change the permissions of the System/Library/Perl/5.8.8/ area.

Can you simply change the permissions of the directory by trying "chmod System/Library/Perl/5.8.8/ 755"?

i'll have a look into this now that i'm in this super level.

Thanks tera.

Stephen.
0
 
LVL 19

Expert Comment

by:Kim Ryan
ID: 24732955
Once you have su access, you can probably have permsision to write to all the install directories and may not need to use chmod
0
 

Author Comment

by:StephenMcGowan
ID: 24732957
are you saying once i have su access i can just run the installs, and they should just go through without any hitches or errors?

I will give this a shot.
0
 
LVL 19

Expert Comment

by:Kim Ryan
ID: 24734893
Yes, hopefully it should just work with su access.
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Perl Untar File 1 54
MacMini + macOS sierra will not display video on startup 2 57
Martian Packets Unix 5 67
Email Error when sending Email using Mac Mail 7 39
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question