Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Bioperl installation issue.

Posted on 2009-06-28
Medium Priority
Last Modified: 2012-05-07

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?

Question by:StephenMcGowan
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
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.

Author Comment

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?


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.
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.


Author Comment

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?


LVL 19

Accepted Solution

Kim Ryan earned 2000 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

Author Comment

ID: 24731115

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.

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

Author Comment

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.
LVL 19

Expert Comment

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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
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…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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 …

610 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