in reply to Installing Modules: Noob having problems

I think the first thing you should do is check your system's clock; it's not 9 May 2002. ;)

--
[ e d @ h a l l e y . c c ]

  • Comment on Re: Installing Modules: Noob having problems

Replies are listed 'Best First'.
Re: Re: Installing Modules: Noob having problems
by Anonymous Monk on May 09, 2003 at 13:36 UTC
    ROFL, ty indeed Ed! (holds head in shame)

    Well I said it was a FRESH install

    Ok, I get that past make , make test on the other hand is throwing up a quite alarming number of Uninitialised strings and other things, so my next question....would it be wise to go ahead and install?

    Perhaps I am doing something naive, I am just trying to add a few modules to the existing perl binary shipped with the system, should I be rebuilding perl completely ?

    Here's the output of make test...

    Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +--------- t/dumper.t 162 78 48.15% 1 3-4 6-7 9-10 12-13 15-16 +18-19 21- 22 24-25 27-28 30-31 33-34 +36-37 39- 40 42 49 51-52 54-55 57-58 +60-61 63- 64 66-67 69-70 72-73 75-76 +78-79 81- 82 84-85 87-88 90 97 99-100 + 102-103 105-106 108-109 111-112 114 +-115 117- 118 120 145 147 151 153 157 + 159 Failed 1/2 test scripts, 50.00% okay. 78/163 subtests failed, 52.15% o +kay. make: *** [test_dynamic] Error 29

      Call me silly, but Data::Dumper should already be in your Red Hat supplied installation of Perl.

      You can test whether you already have a module with a command like the following:

      % perl -MData::Dumper -e1
      It'll give an applicable error message, or no response for success. For a more inspiring test of this module, try:
      % perl -MData::Dumper -e 'print Dumper {one=>1};'

      --
      [ e d @ h a l l e y . c c ]

        Thankyou very much Ed. I'll go away for now and digest the verbose output of that test.

        I like this place already, hopefully I'll be back with some more mature enquiries once I get my all the necessary modules installed and my code (chat server) is underway, I'm just waiting for my login details to come back too whereafter my login handle should be 'Prisoner 9'

        Thanks again for your prompt and very helpful resonse

        Andy

      As for the larger question of building modules you fetch from CPAN, most are nowhere near so complicated as this.

      I'm not a fan of CPAN's "shell" but you might want to google for something like cpan shell redhat howto and walk through some examples.

      --
      [ e d @ h a l l e y . c c ]

        Just out of curiosity halley, what do you dislike about the CPAN shell?

        -- vek --
        yes indeed its there and fuly working I guess. I will check out 2 other options , the CPAN method you mention and RPM which I have just been reading about. All good. Progress stepwise, but satisfying progress nontheless. Cheers Ed.
      this may be helpful information:

      [andyf@localhost Data-Dumper-2.101]$ perl -v This is perl, v5.8.0 built for i386-linux-thread-multi