The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Perl Date problem

Discussion in 'General Discussion' started by Shanta, Mar 7, 2006.

  1. Shanta

    Shanta Member

    Joined:
    Mar 7, 2006
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Enderby BC
    One of our Perl scripts requires Date to run. This is an eXtropia script.

    We are running Redhat 2 on the server and it says that it has intalled Date. But not were the script expects it. The script is expecting to see it in Class:: Date but it is not there. Has there been a change in were Perl puts Date?

    How can I get this on the server?

    Shanta McBain
    http://computersystemconsulting.ca
     
  2. xidica

    xidica Well-Known Member

    Joined:
    Apr 21, 2005
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Texas
    You should probably just force install it either via per's CPAN shell or the realperlinstaller script :

    Code:
    perl -MCPAN -e shell
    cpan> force install Class::Date
    cpan> quit
    Or :

    Code:
    /scripts/realperlinstaller --force Class::Date
    It would also be wise to ensure you Perl version is 5.8.7.
     
  3. Shanta

    Shanta Member

    Joined:
    Mar 7, 2006
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Enderby BC
    >/scripts/realperlinstaller --force Class::Date



    >It would also be wise to ensure you Perl version is 5.8.7.

    It is.


    CPAN reports the fallowing error.

    Please specify prototyping behavior for Date.xs (see perlxs manual)
    make: *** No rule to make target `/usr/lib/perl5/5.8.7/i386-linux/CORE/EXTERN.h', needed by `Date.o'. Stop.
     
  4. sundialsvc4

    sundialsvc4 Registered

    Joined:
    Apr 7, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I am looking at advice like this, when trying to figure out how to retrograde a Perl module that is installed (through "cPanel") on a particular site's user-account. (And BTW, it needs to be there.)

    When I use cpan at the command-line, it realizes that there is no .cpan directory, and wants to start the configuration sequence. But I know that I don't want to do that: "when in Rome," I want to do this the same way that the "Install Perl Modules" screen does.
     
Loading...

Share This Page