Skip Menu |

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

Report information
The Basics
Id: 26785
Status: resolved
Worked: 10 min
Priority: 0/
Queue: Net-DNS-ToolKit

People
Owner: michael [...] bizsystems.com
Requestors: schneecrash [...] gmail.com
Cc:
AdminCc:

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



Subject: cpan install of Net::DNS::Toolkit on perl 588 + osx 10.4.9 fails @ "'MAXDNAME' undeclared"
Date: Sun, 29 Apr 2007 08:53:50 -0700
To: bug-Net-DNS-ToolKit [...] rt.cpan.org
From: snowcrash <schneecrash [...] gmail.com>
hi, with, Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=darwin, osvers=8.8.0, archname=darwin-thread-multi-2level uname='darwin server 8.8.0 darwin kernel version 8.8.0: fri sep 8 17:18:57 pdt 2006; root:xnu-792.12.6.obj~1release_ppc power macintosh powerpc ' an attempt to install (4/29/07), cpan[1]> install Net::DNS::ToolKit fails @, CPAN: Storable loaded ok (v2.16) Going to read /home/.cpan/Metadata Database was generated on Sun, 29 Apr 2007 01:14:11 GMT Running install for module 'Net::DNS::ToolKit' Running make for M/MI/MIKER/Net-DNS-ToolKit-0.31.tar.gz CPAN: Digest::SHA loaded ok (v5.44) CPAN: Compress::Zlib loaded ok (v2.004) Checksum for /home/.cpan/sources/authors/id/M/MI/MIKER/Net-DNS-ToolKit-0.31.tar.gz ok Scanning cache /home/.cpan/build for sizes ............................................................................DONE Net-DNS-ToolKit-0.31/ ... cp lib/Net/DNS/ToolKit/RR/MX.pm blib/lib/Net/DNS/ToolKit/RR/MX.pm cp Template.pm ../blib/lib/Net/DNS/ToolKit/RR/Template.pm Manifying /usr/local/man/man3/Net::DNS::ToolKit::RR::Template.3 /usr/local/perl5/bin/perl /usr/local/lib/perl/privlib/ExtUtils/xsubpp -typemap /usr/local/lib/perl/privlib/ExtUtils/typemap ToolKit.xs > ToolKit.xsc && mv ToolKit.xsc ToolKit.c cc -c -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/bdb_4.5.20/include -I/usr/local/include -O3 -DVERSION=\"0.31\" -DXS_VERSION=\"0.31\" "-I/usr/local/lib/perl/privlib/darwin-thread-multi-2level/CORE" ToolKit.c xs_include/dn_expand.inc: In function 'XS_Net__DNS__ToolKit_dn_expand': xs_include/dn_expand.inc:44: error: 'MAXDNAME' undeclared (first use in this function) xs_include/dn_expand.inc:44: error: (Each undeclared identifier is reported only once xs_include/dn_expand.inc:44: error: for each function it appears in.) xs_include/dn_expand.inc:50: warning: pointer targets in assignment differ in signedness ToolKit.xs: In function 'XS_Net__DNS__ToolKit_dn_comp': ToolKit.xs:169: warning: pointer targets in assignment differ in signedness ToolKit.xs:171: warning: pointer targets in assignment differ in signedness ToolKit.xs:184: error: 'MAXDNAME' undeclared (first use in this function) ToolKit.xs:216: warning: pointer targets in passing argument 1 of 'res_9_dn_comp' differ in signedness ToolKit.xs: In function 'XS_Net__DNS__ToolKit_get1char': ToolKit.xs:317: warning: pointer targets in assignment differ in signedness ToolKit.xs: In function 'XS_Net__DNS__ToolKit_getstring': ToolKit.xs:340: warning: pointer targets in assignment differ in signedness ToolKit.xs: In function 'XS_Net__DNS__ToolKit_putstring': ToolKit.xs:378: warning: pointer targets in assignment differ in signedness ToolKit.xs:380: error: 'MAXDNAME' undeclared (first use in this function) ToolKit.xs:386: warning: pointer targets in passing argument 3 of 'Perl_sv_catpvn_flags' differ in signedness ToolKit.xs: In function 'XS_Net__DNS__ToolKit_get16': ToolKit.xs:422: warning: pointer targets in passing argument 1 of 'gint32' differ in signedness ToolKit.xs:427: warning: pointer targets in passing argument 1 of 'gint16' differ in signedness ToolKit.xs: In function 'XS_Net__DNS__ToolKit_put16': ToolKit.xs:477: warning: pointer targets in passing argument 3 of 'Perl_sv_catpvn_flags' differ in signedness ToolKit.xs:482: warning: pointer targets in passing argument 1 of 'gput32' differ in signedness ToolKit.xs:486: warning: pointer targets in passing argument 1 of 'gput16' differ in signedness ToolKit.xs: In function 'XS_Net__DNS__ToolKit_putIPv4': ToolKit.xs:545: warning: pointer targets in passing argument 3 of 'Perl_sv_catpvn_flags' differ in signedness ToolKit.xs: In function 'XS_Net__DNS__ToolKit_putIPv6': ToolKit.xs:608: warning: pointer targets in passing argument 3 of 'Perl_sv_catpvn_flags' differ in signedness ToolKit.xs: In function 'XS_Net__DNS__ToolKit_get_ns': ToolKit.xs:640: warning: pointer targets in passing argument 2 of 'Perl_newSVpvn' differ in signedness make: *** [ToolKit.o] Error 1 MIKER/Net-DNS-ToolKit-0.31.tar.gz /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: MIKER/Net-DNS-ToolKit-0.31.tar.gz : make NO cpan[2]>
IF defintion of MAXDNAME included in ToolKit.h if not present. First try using NS_MAXDNAME then default to 1025 used for other OS's Rev 0.37 uploaded to CPAN