Hi all,

I finally got Perl 5.6.1 to compile & test on OS X under an HFS+
partition.  The big step was to specify "-Dfirstmakefile=GNUmakefile" to
Configure, since this avoids the conflict between 'makefile' and
'Makefile'.

I also had to set the LC_ALL environment variable to 'C', since I was
getting a lot of warnings about locales being messed up.  I imagine I
could have just unset the LANG variable too.  Not sure whether there's
any benefit to either.

I've got a very vanilla Darwin, so others will probably have to do the
same things I did.

In a nutshell:

% setenv LC_ALL C
% sh Configure -ds -e -Dprefix=/usr -Dccflags="-g -pipe" -Dldflags= 
-Dfirstmakefile=GNUmakefile
[bunch of output snipped]
% make
[bunch of output snipped]
% make test
Failed 4 test scripts out of 251, 98.41% okay.


I didn't do 'make install', because I'm not quite ready to commit to
this installation.  I might wait for the Apple 10.0.1 update (or
whatever they'll call it) because I don't want that mucking with any
Perl I install now.

The 4 tests that failed are expected to fail, and aren't really features
I expect to use (Berkeley::DB btree and recno structures, a minor detail
of the 'warnings' pragma, and something in the lib/posix.t test that I
might check out later).

I don't know whether I needed all those options to Configure, but those
were the options specified in the version of Perl that ships with OS X
(as shown in perl -V).


  -------------------                            -------------------
  Ken Williams                             Last Bastion of Euclidity
  [EMAIL PROTECTED]                            The Math Forum

Reply via email to