Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • ketan_bnf
    Member
    • Oct 2010
    • 59

    Need help for installing Bioperl on RedHat, CPAN shell problem

    Hi all,

    I am trying to install Bioperl on my RedHat fedora11 system, When i give command

    ~]$ perl -MCPAN -e shell

    it gives error msg

    Can't locate CPAN.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl .).
    BEGIN failed--compilation aborted.

    i have tried this command

    # yum install perl-bioperl

    does it means bioperl is installed on my system?
  • krobison
    Senior Member
    • Nov 2007
    • 734

    #2
    Try

    Code:
    yum install perl-CPAN
    which will get CPAN installed.

    What message do you get with "yum install perl-bioperl"

    Comment

    • ketan_bnf
      Member
      • Oct 2010
      • 59

      #3
      Originally posted by krobison View Post
      Try

      Code:
      yum install perl-CPAN
      which will get CPAN installed.

      What message do you get with "yum install perl-bioperl"
      Thanks for your reply,

      I have tried,

      Code:
      yum install perl-CPAN
      I am getting this ERROR,

      Transaction Check Error:

      Code:
      package perl-CPAN-2:1.61-94.EL3.i386 (which is newer than perl-CPAN-0:1.9205-82.fc11.i586) is already installed
      i didn't get any error message at the end of applying "yum install perl-bioperl".

      How to check whether BioPerl installed successfully or not?

      Comment

      • simonandrews
        Simon Andrews
        • May 2009
        • 870

        #4
        Firstly you're using a version of Fedora which is no longer supported, so you should think about upgrading to the latest version.

        Your immediate problem though is that you have installed an RPM for RHEL on a Fedora system, which means you have CPAN.pm installed, just in a location where your perl can't see it.

        The fix for your immediate problem is probably:

        yum remove perl-CPAN

        yum install perl-CPAN

        Which should install the correct version from your Fedora repositories.

        Comment

        • ketan_bnf
          Member
          • Oct 2010
          • 59

          #5
          First Happy new year to all

          yum remove perl-CPAN

          yum install perl-CPAN

          It worked,

          Thanks for your precious inputs, krobison and simonandrews
          Last edited by ketan_bnf; 01-01-2011, 12:31 AM.

          Comment

          • shrujan
            Member
            • Aug 2012
            • 38

            #6
            I have installed activeperl in windows xp.
            through Perl Package Manager i have installed BioPerl repositories.
            but while trying to execute BioPerl program..
            #!/usr/bin/env perl
            use Bio::Seq;
            use Bio::SeqIO;

            # create a sequence object of some DNA
            my $seq = Bio::Seq->new(-id => 'testseq', -seq => 'CATGTAGATAG');

            # print out some details about it
            print "seq is ", $seq->length, " bases long\n";
            print "revcom seq is ", $seq->revcom->seq, "\n";

            # write it to a file in Fasta format
            my $out = Bio::SeqIO->new(-file => '>testseq.fsa', -format => 'Fasta');
            $out->write_seq($seq);

            the following error is coming

            Cant locate Bio/Seq.pm in @INC <INC contains : C:/Perl/site/lib C:/Perl/lib.> at C:\Perl\bin\Sequence.pl line1.
            BEGIN failed--compilation aborted at C:\Perl\bin\Sequence.pl line1.

            what is the problem here??

            How to identify whether BioPerl is installed or not???

            Please guide me....

            thanks & Regards

            Comment

            • simonandrews
              Simon Andrews
              • May 2009
              • 870

              #7
              Originally posted by shrujan View Post
              I have installed activeperl in windows xp.
              through Perl Package Manager i have installed BioPerl repositories.
              but while trying to execute BioPerl program..

              Cant locate Bio/Seq.pm in @INC <INC contains : C:/Perl/site/lib C:/Perl/lib.> at C:\Perl\bin\Sequence.pl line1.
              BEGIN failed--compilation aborted at C:\Perl\bin\Sequence.pl line1.
              If you've only installed the repositories you still need to install the BioPerl packages from those repositories. Try running:

              ppm install BioPerl

              ..from a command prompt.

              Comment

              • shrujan
                Member
                • Aug 2012
                • 38

                #8
                I have installed BioPerl in ppm after adding those repositories..but the issue is not yet resolved.

                Comment

                • simonandrews
                  Simon Andrews
                  • May 2009
                  • 870

                  #9
                  I just tried this on a windows machine and it all seemed to work OK. The BioPerl modules were all installed under C:/Perl/site/lib which was one of the directories listed in your @INC.

                  If you look in C:/Perl/site/lib is there a folder called Bio, and inside that is there a file called Seq.pm?

                  What output do you get if you run the following command at a command prompt?

                  ppm install BioPerl

                  Comment

                  • shrujan
                    Member
                    • Aug 2012
                    • 38

                    #10
                    this is coming...
                    Attached Files

                    Comment

                    • shrujan
                      Member
                      • Aug 2012
                      • 38

                      #11
                      ppm install failed is coming

                      Comment

                      • shrujan
                        Member
                        • Aug 2012
                        • 38

                        #12
                        it is showing that Math-Random-0.71 is not found...and it is showing ppm install failed.....

                        Comment

                        • simonandrews
                          Simon Andrews
                          • May 2009
                          • 870

                          #13
                          I can't see anything in the screenshot you posted as the resolution is so low. Math::Random is present in the standard ActiveState repositories so you should be able to install it from there. You didn't delete the standard repositories when you added in the ones for BioPerl did you?

                          Without seeing the exact error you're getting it's difficult to suggest what to do next - it's easier if you just copy and paste the text from the command window rather than putting in a screenshot (use the icon on the top left and select Mark to allow the selection of all text in the window, then press return to copy it).

                          Comment

                          • shrujan
                            Member
                            • Aug 2012
                            • 38

                            #14
                            ppm install failed: Don't know how to unpack http://bioperl.org/DIST/MSWin32-x86
                            -multi-thread-5.8/SVG-Graph-0.02.zip

                            this is coming when i tried to install BioPerl in command prompt...
                            Last edited by shrujan; 08-22-2012, 01:12 AM.

                            Comment

                            • simonandrews
                              Simon Andrews
                              • May 2009
                              • 870

                              #15
                              Originally posted by shrujan View Post
                              ppm install failed: Don't know how to unpack http://bioperl.org/DIST/MSWin32-x86
                              -multi-thread-5.8/SVG-Graph-0.02.zip

                              this is coming when i tried to install BioPerl in command prompt...
                              This thread on the activestate forums suggests that you're going to need a newer version of ppm as older versions didn't understand how to unpack zip files, only tar.gz. I used ppm v4.14 which came with ActivePerl 5.14.2 and that worked OK.

                              Comment

                              Latest Articles

                              Collapse

                              • GATTACAT
                                Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                                by GATTACAT
                                Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
                                07-01-2026, 11:43 AM
                              • SEQadmin2
                                Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                                by SEQadmin2


                                I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

                                Here are nine questions we think about, in roughly the order they matter, before...
                                06-18-2026, 07:11 AM

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by SEQadmin2, 07-02-2026, 11:08 AM
                              0 responses
                              23 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 06-30-2026, 05:37 AM
                              0 responses
                              23 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 06-26-2026, 11:10 AM
                              0 responses
                              23 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 06-17-2026, 06:09 AM
                              0 responses
                              55 views
                              0 reactions
                              Last Post SEQadmin2  
                              Working...