In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Randall Perry) wrote:
> Just upgraded from 5.8 to 5.8.2 on OSXS 10.3.1.
>
> During configure I specified /Library/Perl for site-specific libs.
>
> It compiled, tested, and installed ok. But when I went to test a script it
> complained that a module wasn't there, though it's in the perl lib path.
No, it isn't. :) It is in *a* perl lib path.
> Here's the perl lib path:
> perl -e 'print "$_\n" for @INC'
> /sw/lib/perl5
> /usr/local/lib/perl5/5.8.2/darwin-2level
> /usr/local/lib/perl5/5.8.2
> /Library/Perl/darwin-2level
> /Library/Perl
> /Library/Perl
>
> Here's the old DBI:
> l /Library/Perl/darwin/DBI
darwin != darwin-2level. As far as perl is concerned -- and rightly so --
darwin and darwin-2level are different architectures. They are not binary
compatible.
Your options are either to recompile everything, or to build perl 5.8.2
without 2level (which means a. lying to Configure about your OS version [I
don't know all the possible repercussions of this] to something less than
7.0.0, or b. hacking hints/darwin.sh to use the old 10.2 configs even for
10.3, which is what I did, or c. trying to manually define the right things
for Configure, which seems to be a big pain).
While I did get rid of 2level, I can't recommend that, as I don't know all
the potential problems. It turns out my previous problem was not with
2level, but that I was neglecting to build libapreq's C library separately
(d'oh). But I noticed similar undefined symbol problems with 2level that I
could not attribute to libapreq, and as I had already built without 2level,
I left it that way.
I have both installed now, and if I can narrow the problem down with 2level
later -- if indeed it is a problem with 2level -- I'll post about it.
Anyway, so that's the problem ... you changed architectures between perl
5.8.0 and perl 5.8.2. And you also changed from the stock perl 5.8.1 that
comes with 10.3, because that uses neither darwin or darwin-2level, but uses
darwin-thread-multi-2level (which you can get on 5.8.2 by adding
-Dusethreads to Configure).
--
Chris Nandor [EMAIL PROTECTED]http://pudge.net/
Open Source Development Network[EMAIL PROTECTED] http://osdn.com/