Results 1 to 8 of 8

Thread: Install Perl Terror

  1. #1

    Unhappy Install Perl Terror

    ok so i was trying to use cpan to do some of this:
    Installation – Shepherd – Trac

    namely installing these:

    Code:
    cpan XMLTV::Ask Algorithm::Diff Compress::Zlib Cwd Data::Dumper Date::Manip Getopt::Long \
         List::Compare LWP::UserAgent POSIX Digest::SHA1
    when i went to install XML tv it said that i need to do an force install of the new perl, this took forever and i've just read that it could break the system, what have i done, and how can i get stuff working like it was again if it's broken?

    see this text, it's the end of the compile and me trying to install stuff at the end and it says the it can't make the files again. did i break my system?

    Code:
    /usr/local/man/man3/TAP::Parser::Iterator::Process.3
      /usr/local/man/man3/TAP::Parser::Iterator::Stream.3
      /usr/local/man/man3/TAP::Parser::IteratorFactory.3
      /usr/local/man/man3/TAP::Parser::Multiplexer.3
      /usr/local/man/man3/TAP::Parser::Result.3
      /usr/local/man/man3/TAP::Parser::Result::Bailout.3
      /usr/local/man/man3/TAP::Parser::Result::Comment.3
      /usr/local/man/man3/TAP::Parser::Result::Plan.3
      /usr/local/man/man3/TAP::Parser::Result::Pragma.3
      /usr/local/man/man3/TAP::Parser::Result::Test.3
      /usr/local/man/man3/TAP::Parser::Result::Unknown.3
      /usr/local/man/man3/TAP::Parser::Result::Version.3
      /usr/local/man/man3/TAP::Parser::Result::YAML.3
      /usr/local/man/man3/TAP::Parser::ResultFactory.3
      /usr/local/man/man3/TAP::Parser::Scheduler.3
      /usr/local/man/man3/TAP::Parser::Scheduler::Job.3
      /usr/local/man/man3/TAP::Parser::Scheduler::Spinner.3
      /usr/local/man/man3/TAP::Parser::Source.3
      /usr/local/man/man3/TAP::Parser::Source::Perl.3
      /usr/local/man/man3/TAP::Parser::Utils.3
      /usr/local/man/man3/TAP::Parser::YAMLish::Reader.3
      /usr/local/man/man3/TAP::Parser::YAMLish::Writer.3
      /usr/local/man/man3/Term::ANSIColor.3
      /usr/local/man/man3/Term::Cap.3
      /usr/local/man/man3/Term::Complete.3
      /usr/local/man/man3/Term::ReadLine.3
      /usr/local/man/man3/Term::UI.3
      /usr/local/man/man3/Term::UI::History.3
      /usr/local/man/man3/Test.3
      /usr/local/man/man3/Test::Builder.3
      /usr/local/man/man3/Test::Builder::Module.3
      /usr/local/man/man3/Test::Builder::Tester.3
      /usr/local/man/man3/Test::Builder:no documentation in utils/cpanp-run-perl
    :Tester::Color.3
      /usr/local/man/man3/Test::Harness.3
      /usr/local/man/man3/Test::More.3
      /usr/local/man/man3/Test::Simple.3
      /usr/local/man/man3/Test::Tutorial.3
      /usr/local/man/man3/Text::Abbrev.3
      /usr/local/man/man3/Text::Balanced.3
      /usr/local/man/man3/Text::ParseWords.3
      /usr/local/man/man3/Text::Soundex.3
      /usr/local/man/man3/Text::Tabs.3
      /usr/local/man/man3/Text::Wrap.3
      /usr/local/man/man3/Thread.3
      /usr/local/man/man3/Thread::Queue.3
      /usr/local/man/man3/Thread::Semaphore.3
      /usr/local/man/man3/Tie::Array.3
      /usr/local/man/man3/Tie::File.3
      /usr/local/man/man3/Tie::Handle.3
      /usr/local/man/man3/Tie::Hash.3
      /usr/local/man/man3/Tie::Hash::NamedCapture.3
      /usr/local/man/man3/Tie::Memoize.3
      /usr/local/man/man3/Tie::RefHash.3
      /usr/local/man/man3/Tie::Scalar.3
      /usr/local/man/man3/Tie::StdHandle.3
      /usr/local/man/man3/Tie::SubstrHash.3
      /usr/local/man/man3/Time::HiRes.3
      /usr/local/man/man3/Time::Local.3
      /usr/local/man/man3/Time::Piece.3
      /usr/local/man/man3/Time::Seconds.3
      /usr/local/man/man3/Time::gmtime.3
      /usr/local/man/man3/Time::localtime.3
      /usr/local/man/man3/Time::tm.3
      /usr/local/man/man3/UNIVERSAL.3
      /usr/local/man/man3/Unicode::Collate.3
      /usr/local/man/man3/Unicode::Normalize.3
      /usr/local/man/man3/Unicode::UCD.3
      /usr/local/man/man3/User::grent.3
      /usr/local/man/man3/User::pwent.3
      /usr/local/man/man3/XS::APItest.3
      /usr/local/man/man3/XS::Typemap.3
      /usr/local/man/man3/XSLoader.3
      /usr/local/man/man3/attributes.3
      /usr/local/man/man3/attrs.3
      /usr/local/man/man3/autodie.3
      /usr/local/man/man3/autodie::exception.3
      /usr/local/man/man3/autodie::exception::system.3
      /usr/local/man/man3/autodie::hints.3
      /usr/local/man/man3/autouse.3
      /usr/local/man/man3/base.3
      /usr/local/man/man3/bigint.3
      /usr/local/man/man3/bignum.3
      /usr/local/man/man3/bigrat.3
      /usr/local/man/man3/blib.3
      /usr/local/man/man3/bytes.3
      /usr/local/man/man3/charnames.3
      /usr/local/man/man3/constant.3
      /usr/local/man/man3/diagnostics.3
      /usr/local/man/man3/encoding.3
      /usr/local/man/man3/encoding::warnings.3
      /usr/local/man/man3/feature.3
      /usr/local/man/man3/fields.3
      /usr/local/man/man3/filetest.3
      /usr/local/man/man3/if.3
      /usr/local/man/man3/integer.3
      /usr/local/man/man3/less.3
      /usr/local/man/man3/lib.3
      /usr/local/man/man3/locale.3
      /usr/local/man/man3/mro.3
      /usr/local/man/man3/open.3
      /usr/local/man/man3/ops.3
      /usr/local/man/man3/overload.3
      /usr/local/man/man3/overloading.3
      /usr/local/man/man3/parent.3
      /usr/local/man/man3/re.3
      /usr/local/man/man3/sigtrap.3
      /usr/local/man/man3/sort.3
      /usr/local/man/man3/strict.3
      /usr/local/man/man3/subs.3
      /usr/local/man/man3/threads.3
      /usr/local/man/man3/threads::shared.3
      /usr/local/man/man3/utf8.3
      /usr/local/man/man3/vars.3
      /usr/local/man/man3/version.3
      /usr/local/man/man3/version::Internals.3
      /usr/local/man/man3/vmsish.3
      /usr/local/man/man3/warnings.3
      /usr/local/man/man3/warnings::register.3
      /usr/local/man/man1/pod2html.1
      /usr/local/man/man1/pod2latex.1
      /usr/local/man/man1/pod2man.1
      /usr/local/man/man1/pod2text.1
      /usr/local/man/man1/pod2usage.1
      /usr/local/man/man1/podchecker.1
      /usr/local/man/man1/podselect.1
      /usr/local/man/man1/c2ph.1
      /usr/local/man/man1/pstruct.1
      /usr/local/man/man1/cpan.1
      /usr/local/man/man1/config_data.1
      /usr/local/man/man1/corelist.1
      /usr/local/man/man1/dprofpp.1
      /usr/local/man/man1/enc2xs.1
      /usr/local/man/man1/h2ph.1
      /usr/local/man/man1/h2xs.1
      /usr/local/man/man1/instmodsh.1
      /usr/local/man/man1/libnetcfg.1
      /usr/local/man/man1/perlbug.1
      /usr/local/man/man1/perlthanks.1
      /usr/local/man/man1/perldoc.1
      /usr/local/man/man1/perlivp.1
      /usr/local/man/man1/piconv.1
      /usr/local/man/man1/pl2pm.1
      /usr/local/man/man1/prove.1
      /usr/local/man/man1/ptar.1
      /usr/local/man/man1/ptardiff.1
      /usr/local/man/man1/cpanp.1
      /usr/local/man/man1/cpan2dist.1
      /usr/local/man/man1/shasum.1
      /usr/local/man/man1/splain.1
      /usr/local/man/man1/xsubpp.1
      /usr/local/man/man1/a2p.1
      /usr/local/man/man1/find2perl.1
      /usr/local/man/man1/s2p.1
      /usr/local/man/man1/psed.1
    make[1]: Leaving directory `/root/.cpan/build/perl-5.10.1-nG0SAW'
      DAPM/perl-5.10.1.tar.gz
      /usr/bin/make install  -- OK
    Failed during this command:
     DAPM/perl-5.10.1.tar.gz                      : make_test FAILED but failure ignored because 'force' in effect
    
    cpan[6]> install List::Compare LWP::UserAgent POSIX Digest::SHA1
    List::Compare is up to date (0.37).
    LWP::UserAgent is up to date (5.834).
    Running install for module 'POSIX'
    The most recent version "1.17" of the module "POSIX"
    is part of the perl-5.10.1 distribution. To install that, you need to run
      force install POSIX   --or--
      install D/DA/DAPM/perl-5.10.1.tar.gz
    Running make test
      Can't test without successful make
    Running make install
      Already done
    Digest::SHA1 is up to date (2.12).
    Failed during this command:
     DAPM/perl-5.10.1.tar.gz                      : make NO isa perl
    
    cpan[7]> install D/DA/DAPM/perl-5.10.1.tar.gz
    Running make for D/DA/DAPM/perl-5.10.1.tar.gz
      Has already been unwrapped into directory /root/.cpan/build/perl-5.10.1-nG0SAW
    Could not make: isa perl
    Running make test
      Can't test without successful make
    Running make install
      Already done
    
    cpan[8]>

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: Install Perl Terror

    What version openSUSE? My crystal ball is out of order today.

    11.2 has Perl 5.10 which should be new enough. It looks like it's trying to install POSIX, but POSIX is already a part of Perl; you can see that this works at the CLI:

    Code:
    perl -e 'use POSIX;'
    So, either you do not have a Perl that contains POSIX or you should just force install POSIX and hope for the best, or upgrade your Perl. Or upgrade your distro.

    BTW, I think POSIX has been in Perl for a long time so that message is strange.

  3. #3

    Default Re: Install Perl Terror

    EDIT: this is what's happened after running a force install command like "force install POSIX"
    Code:
    cpan[10]> install XMLTV::Ask Algorithm::Diff Compress::Zlib Cwd Data::Dumper Date::Manip Getopt::Long \
        >      List::Compare LWP::UserAgent POSIX Digest::SHA1
    XMLTV::Ask is up to date (undef).
    Algorithm::Diff is up to date (1.1902).
    Compress::Zlib is up to date (2.023).
    Cwd is up to date (3.31).
    Data::Dumper is up to date (2.125).
    Date::Manip is up to date (6.05).
    Getopt::Long is up to date (2.38).
    List::Compare is up to date (0.37).
    LWP::UserAgent is up to date (5.834).
    Running install for module 'POSIX'
    The most recent version "1.17" of the module "POSIX"
    is part of the perl-5.10.1 distribution. To install that, you need to run
      force install POSIX   --or--
      install D/DA/DAPM/perl-5.10.1.tar.gz
    Running make test
      Can't test without successful make
    Running make install
      Already done
    Digest::SHA1 is up to date (2.12).
    Failed during this command:
     DAPM/perl-5.10.1.tar.gz                      : make NO isa perl

  4. #4

    Default Re: Install Perl Terror

    Code:
    suse:~ # uname -a
    Linux suse 2.6.31.5-0.1-desktop #1 SMP PREEMPT 2009-10-26 15:49:03 +0100 x86_64 x86_64 x86_64 GNU/Linux
    SuSE 11.2, i just did a web install

    ok i'll force POSIX

    the command
    perl -e 'use POSIX;'
    returns nothing.

  5. #5
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: Install Perl Terror

    Or maybe leave it out of the list of things to install.

  6. #6

    Default Re: Install Perl Terror

    Still no dice, i'll try to continue but i have a feeling that it's stuffed

    Code:
    cpan[3]> install XMLTV::Ask Algorithm::Diff Compress::Zlib Cwd Data::Dumper Date::Manip Getopt::Long \
        >      List::Compare LWP::UserAgent POSIX Digest::SHA1
    XMLTV::Ask is up to date (undef).
    Algorithm::Diff is up to date (1.1902).
    Compress::Zlib is up to date (2.023).
    Cwd is up to date (3.31).
    Data::Dumper is up to date (2.125).
    Date::Manip is up to date (6.05).
    Getopt::Long is up to date (2.38).
    List::Compare is up to date (0.37).
    LWP::UserAgent is up to date (5.834).
    Running install for module 'POSIX'
    The most recent version "1.17" of the module "POSIX"
    is part of the perl-5.10.1 distribution. To install that, you need to run
      force install POSIX   --or--
      install D/DA/DAPM/perl-5.10.1.tar.gz
    Running make test
      Can't test without successful make
    Running make install
      Already done
    Digest::SHA1 is up to date (2.12).
    Failed during this command:
     DAPM/perl-5.10.1.tar.gz                      : make NO isa perl

  7. #7
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: Install Perl Terror

    Leave out POSIX it should be in Perl core already.

  8. #8

    Default Re: Install Perl Terror

    i continued without it and the script seems to be working though it's not loading on data into the database. I'll try everything else first and come back it it

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •