Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: void [...] sch.bme.hu
Cc:
AdminCc:

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



Subject: netdns.a not built when XS forced
Date: Fri, 20 Oct 2006 11:32:09 +0200
To: bug-Net-DNS [...] rt.cpan.org
From: PÁLFALVI Tamás <void [...] sch.bme.hu>
When I force using the XS implementation by using "perl Makefile.PL --xs", the netdns library doesn't get built, causing undefined symbols in DNS.so when I try to use Net::DNS. The patch below corrected this problem for me. "make test" doesn't detect the problem -- it switches to the pure-perl implementation. I haven't attempted to fix that. --- Makefile.PL.orig Fri Oct 20 11:10:52 2006 +++ Makefile.PL Fri Oct 20 11:11:38 2006 @@ -103,7 +103,6 @@ if (test_cc()) { print "You have a working compiler.\n"; $use_xs = 1; - $Makefile{'MYEXTLIB'} = 'netdns$(LIB_EXT)', } else { @@ -132,6 +131,7 @@ if ($use_xs) { # turn the XS bits on. print "Activating XS Magic...\n" if DEBUG; + $Makefile{'MYEXTLIB'} = 'netdns$(LIB_EXT)', delete $Makefile{'XS'}; delete $Makefile{'C'}; } -- PALFALVI Tamas
Subject: Re: [rt.cpan.org #22334] netdns.a not built when XS forced
Date: Fri, 20 Oct 2006 12:38:15 +0200
To: bug-Net-DNS [...] rt.cpan.org
From: "Olaf M. Kolkman" <olaf [...] dacht.net>
Thanks, Patch has been applied. --Olaf On 20Oct 2006, at 11:35 AM, PÁLFALVI Tamás via RT wrote: Show quoted text
> > Fri Oct 20 05:35:10 2006: Request 22334 was acted upon. > Transaction: Ticket created by void@sch.bme.hu > Queue: Net-DNS > Subject: netdns.a not built when XS forced > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: void@sch.bme.hu > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=22334 > > > > When I force using the XS implementation by using "perl Makefile.PL > --xs", the netdns library doesn't get built, causing undefined symbols > in DNS.so when I try to use Net::DNS. The patch below corrected this > problem for me. > > "make test" doesn't detect the problem -- it switches to the pure-perl > implementation. I haven't attempted to fix that. > > > --- Makefile.PL.orig Fri Oct 20 11:10:52 2006 > +++ Makefile.PL Fri Oct 20 11:11:38 2006 > @@ -103,7 +103,6 @@ > if (test_cc()) { > print "You have a working compiler.\n"; > $use_xs = 1; > - $Makefile{'MYEXTLIB'} = 'netdns$(LIB_EXT)', > > > } else { > @@ -132,6 +131,7 @@ > if ($use_xs) { > # turn the XS bits on. > print "Activating XS Magic...\n" if DEBUG; > + $Makefile{'MYEXTLIB'} = 'netdns$(LIB_EXT)', > delete $Makefile{'XS'}; > delete $Makefile{'C'}; > } > > > -- > PALFALVI Tamas
------------------------------------------------------ Ik dacht net... heel even maar.
Download PGP.sig
application/pgp-signature 227b

Message body not shown because it is not plain text.