On Wed, 25 Apr 2001, Paul Schinder wrote:

> >Any more suggestions on why it dies on making Errno.pm.PL ?
>
> Because, although the compiler advertises itself as gcc, it doesn't
> work like gcc in all respects.  In particular, "gcc -dM -E" does not
> work right.  You need to add a "-traditional-cpp" to get the compiler
> to spit out what Perl expects.
>
> If you look in Errno_pm.PL, you'll find a "if ($^O eq "darwin")",
> which fixes this for Mac OS X.  Find out how the perl on Server
> defines $^O (I assume "rhapsody"?) and get the same fix to work for
> you.

I did this, and to start with it didn't work any better (still died on
Errno_pm.PL so I went into that directory, re-ran perl Makefile.PL,
edited the Makefile manually to stick in -traditional-cpp as a flag
and it seems to have worked fine.

Doing a general make test has me failing 5 tests total.  (Can't
remember them all, but I do know that pwent and sprintf were two).

Thanks for your help, at least I'm ~98% testing ok!

-James

-- 
James Cummings | [EMAIL PROTECTED] | http://www.cursus.uea.ac.uk/~james
CURSUS Project, School of Music, University of East Anglia,
Norwich, Norfolk, NR4 7TJ,UK

Reply via email to