Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

I'm putting this down for posterity:

Keywords: make makefile redhat 8 9 rh9 rh8 install CPAN MakeMaker missing separator UTF-8

This is a known problem with the perl that is shipped with RedHat 8 & 9. See the following link: Redhat Bugzilla

It is related to the fact that the default locale setting on RedHat 8/9 is "en_US.UTF-8", and that version of perl has a problem in Config.pm whereby it returns junk in "*.UTF-8" locales.

The 'official' workaround at the time of this writing is to export LANG=C before running your perl Makefile.PL. I also came across a way to change the system-wide default locale, in case you want all the users on your box to be able to install CPAN modules, and you don't mind your default locale not being UTF-8:

Edit the file /etc/sysconfig/i18n

Change the line that looks like this:
LANG="en_US.UTF-8"
to this:
LANG="en_US"
(it might not be en_US for you, but you get the idea)

This takes effect at login.

update: Added RedHat 8, since it appears to have the same problem as RH9

update: Please view this whole thread for the full context.

--
3dan

In reply to make 'missing separator' error when building CPAN modules on RedHat 8/9 by edan
in thread problem building CDB_File-0.92 - Makefile:82: *** missing separator by jms1

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-03-29 06:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found