I think that the fix is different adding the $Makefile{'MYEXTLIB'}
line is what should fix this:
unless (defined $use_xs) {
if (test_cc()) {
print "You have a working compiler.\n";
$use_xs = 1;
$Makefile{'MYEXTLIB'} = 'netdns$(LIB_EXT)';
} else {
Need to thest this though.
--Olaf
On 28Nov 2007, at 9:50 PM,
http://openid.aol.com/gaigebpaulsen via RT
wrote:
Show quoted text>
> Wed Nov 28 15:50:05 2007: Request 31042 was acted upon.
> Transaction: Ticket created by
http://openid.aol.com/gaigebpaulsen
> Queue: Net-DNS
> Subject: Net::DNS fails to build correctly under OS X Leopard
> Broken in: 0.61
> Severity: Critical
> Owner: Nobody
> Requestors: cpan@gbp.gaige.net
> Status: new
> Ticket <URL:
http://rt.cpan.org/Ticket/Display.html?id=31042 >
>
>
> If building with --xs (by default), the build sequence doesn't run
> ranlib on the library it creates.
> Unfortunately, under OS X, that causes a problem because ar c
> doesn't create linkable archives.
> If you run ranlib (or create with the 's' option in ar), you will
> get a build-able copy.
>
> In my private copy, I fixed it by adding a:
> $(RANLIB) netdns$(LIB_EXT)
> after building the archivein the Makefile.PL
>
> Thanks,
> -Gaige
>
>
> Stock OS X 10.5.1 with Perl 5.8.8 and .61 of Net::DNS
------------------------------------------------------
Ik dacht net... heel even maar.