At 2:43 PM +0000 4/25/01, <[EMAIL PROTECTED]> wrote:
>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.

Yeah, I forgot to mention that you have to get rid of the zero length 
file (Errno.c or Errno.pm, I can't remember which) that gets created 
during the first run of Errno_pm.PL.

>
>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!

Good!  IIRC I had four tests fail on Mac OS X for 5.6.1, and it's 
down to 3 in bleadperl (the development version, 5,8-to-be).

>
>-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

-- 
--
Paul Schinder
[EMAIL PROTECTED]

Reply via email to