Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Problem building Date::Calc

by jdtoronto (Prior)
on Oct 17, 2003 at 02:37 UTC ( #299926=perlquestion: print w/replies, xml ) Need Help??

jdtoronto has asked for the wisdom of the Perl Monks concerning the following question:

Esteemed Monks,

I am working through my first attempt to putting together a web server from scratch. After several days worth of problemsinstalling stuff and getting things to work at all I finally built Apache from source, same for mod_perl and MySQL 4.0.15a.

Now I am trying to install modules. When I try to install Date::Calc I get LOTS of these errors:

Malformed UTF-8 character (unexpected non-continuation byte 0x61, imme +diately after start byte 0xed) at /root/.cpan/build/Date-Calc-5.3/blib/lib/Date/Calendar/Profiles.pm + line 2756. Malformed UTF-8 character (unexpected non-continuation byte 0x61, imme +diately after start byte 0xed) at /root/.cpan/build/Date-Calc-5.3/blib/lib/Date/Calendar/Profiles.pm + line 2757. <p>
Okay, it seems like something to do with UTF-8 is not installed! The Perl is v5.8.0 installed fomr the RPM supplied with RedHat 8.0.

Do I need to recompile the Perl with something else turned on? Or is it a module thing I have missed somewhere?

jdtoronto

Replies are listed 'Best First'.
Re: Problem building Date::Calc
by rdfield (Priest) on Oct 17, 2003 at 07:21 UTC
    Entering export LANG=C and then building any new modules has worked for me when I encountered this problem.

    rdfield

Re: Problem building Date::Calc
by jdtoronto (Prior) on Oct 17, 2003 at 05:52 UTC
    All of the unexpected nn-continuation character errors are eliminated by making the module against Perl 5.8.1, but it does fail a single test which I will investigate tomorrow.

    jdtoronto

Re: Problem building Date::Calc
by pg (Canon) on Oct 17, 2003 at 02:45 UTC

    Seems that this happened to lots of people, just google "unexpected non-continuation byte 0x61", you will get a huge list of results.

    Good Luck!

      True, true! But no-one seems to have any answers!!

      Is it a Perl problem or is it a module problem? Thats what I need! Do I try a new Perl install or is there something else to do.

      jdtoronto

Re: Problem building Date::Calc
by kelan (Deacon) on Oct 17, 2003 at 13:41 UTC

    If just Date::Calc is giving an error, you could use Date::Pcalc instead, which is a pure Perl version. Obviously, if there are other modules giving errors too, you'll probably just want to figure out what's going wrong.

    kelan


    Perl6 Grammar Student

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://299926]
Approved by Zaxo
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2023-02-07 04:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (38 votes). Check out past polls.

    Notices?