Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Perl is making Errors in Makefile

by guice (Scribe)
on May 06, 2003 at 06:15 UTC ( [id://255806]=perlquestion: print w/replies, xml ) Need Help??

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

I'm at a loss here .. Here's what's happening. It's happened with more than one module source comple:

I run perl Makefile.pl like always and it runs through like nothing's wrong and creates a Makefile.

I run make and I get: Makefile:##:*** missing seperator. Stop.

I take a look at the Make file and I see this:

INSTALLPRIVLIB = /usr/lib/perl5/5.8.0 INSTALLSITELIB = INSTALLVENDORLIB = /vendor_perl/5.8.0/i386-linux-th INSTALLARCHLIB = /usr/lib/perl5/5.8.0/i386-linux-thread-multi INSTALLSITEARCH = /u INSTALLVENDORARCH = /usr/lib/perl INSTALLBIN = /usr/bi INSTALLSITEBIN = /usr INSTALLVENDORBIN = /us INSTALLSCRIPT = /usr/bin PERL_LIB = /usr/lib/perl5/5.8.0 PERL_ARCHLIB = /usr/lib/perl5/5.8.0/i386-linux-thread-multi SITELIBEXP = '/usr/lib/perl5/site_perl' sit SITEARCHEXP = /usr/lib/pe LIBPERL_A = libperl.a' libc=' FIRST_MAKEFILE = Makefile MAKE_APERL_FILE = Makefile.aperl
Take a close look, half that data is invalid. Chopped off, incomplete lines, missing quotes, newlines where they aren't suppose to be. It's an utter mess. I've attempted to fix some (in the past), but it's so much of a mess and my knowledge of Makefile isn't advanced enough to clean this up.

I've searched everywhere I can think of for why Perl is doing this, but had no luck.

Any wise ones within the Monk Community can tell me why? or at least point me to a source for this?

Secs (I have a feeling they play a part)
RedHat 9
Perl 5.8.0
make 3.79.1

-- philip
We put the 'K' in kwality!

Replies are listed 'Best First'.
Re: Perl is making Errors in Makefile
by PodMaster (Abbot) on May 06, 2003 at 07:01 UTC
    Wow.

    Try perl -V:make and see what that spits out.
    Also, what are you trying to build, and which version of MakeMaker are you using?
    (perl -MExtUtils::MakeMaker -e'die $ExtUtils::MakeMaker')

    What's most likely happening is that you're using the wrong make (one different than what perl -V:make reports)


    MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
    I run a Win32 PPM repository for perl 5.6x+5.8x. I take requests.
    ** The Third rule of perl club is a statement of fact: pod is sexy.

Re: Perl is making Errors in Makefile
by Joost (Canon) on May 06, 2003 at 11:38 UTC
    This is a (somewhat) known problem with RH8+; to fix it, set your LANG environment variable from X.UTF-8 to X before compiling (where X is dependend on your settings), ie, when $ENV{LANG} eq "en_US.UTF-8":

    export LANG=en_US perl Makefile.PL ...

    This switches off the default use of unicode, and will probably solve your problems.

    For a more permanent solution change /etc/sysconfig/i18n to:

    LANG="en_US" SUPPORTED="en_US.UTF-8:en_US:en" SYSFONT="latarcyrheb-sun16"
    Or whatever language you use.

    -- Joost downtime n. The period during which a system is error-free and immune from user input.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-04-25 20:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found