Skip Menu |

This queue is for tickets about the Net-DNS CPAN distribution.

Report information
The Basics
Id: 31042
Status: resolved
Priority: 0/
Queue: Net-DNS

People
Owner: Nobody in particular
Requestors: cpan [...] gbp.gaige.net
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.61
Fixed in: (no value)



Subject: Net::DNS fails to build correctly under OS X Leopard
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
Subject: Re: [rt.cpan.org #31042] Net::DNS fails to build correctly under OS X Leopard
Date: Thu, 29 Nov 2007 10:17:17 +0100
To: bug-Net-DNS [...] rt.cpan.org
From: "Olaf M. Kolkman" <olaf [...] dacht.net>
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.
Download PGP.sig
application/pgp-signature 227b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #31042] Net::DNS fails to build correctly under OS X Leopard
Date: Thu, 29 Nov 2007 07:15:09 -0500 (EST)
To: bug-Net-DNS [...] rt.cpan.org
From: "Gaige B Paulsen" <cpan [...] gbp.gaige.net>
Olaf -- I tested your suggestion and it works. I'm not a perl guru, so I wasn't sure what to do, but this makes a lot of sense. What happens now? Thanks, -Gaige Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=31042 > > > > 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: >
>> >> 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. > > > > >
Subject: Re: [rt.cpan.org #31042] Net::DNS fails to build correctly under OS X Leopard
Date: Thu, 29 Nov 2007 18:15:59 +0100
To: bug-Net-DNS [...] rt.cpan.org
From: "Olaf M. Kolkman" <olaf [...] dacht.net>
On 29Nov 2007, at 1:16 PM, cpan@gbp.gaige.net via RT wrote: Show quoted text
> > Queue: Net-DNS > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=31042 > > > Olaf -- > > I tested your suggestion and it works. I'm not a perl guru, so I > wasn't > sure what to do, but this makes a lot of sense. What happens now? >
Some cross platform testing, and then it will appear in the 0.61 release. --Olaf ------------------------------------------------------ Ik dacht net... heel even maar.
Download PGP.sig
application/pgp-signature 227b

Message body not shown because it is not plain text.

Fix will appear in 0.62 shortly