Has anyone successfully intalled Net:DNS on Panther?
I get the following error:
cc -c -g -pipe -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -I/usr/local/include -Os -DVERSION=\"0.41\"
-DXS_VERSION=\"0.41\"
"-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE" DNS.c
DNS.xs: In function `XS_Net__DNS__Packet_dn_expand_XS':
DNS.xs:58: error: `MAXDNAME' undeclared (first use in this function)
DNS.xs:58: error: (Each undeclared identifier is reported only once
DNS.xs:58: error: for each function it appears in.)
make: *** [DNS.o] Error 1
Thanks,
Lon Baker
SpeedyMac LLC
http://www.speedymac.com
Chris Reinhardt - 21 Oct 2003 08:21 GMT
> I get the following error:
>
[quoted text clipped - 7 lines]
> DNS.xs:58: error: for each function it appears in.)
> make: *** [DNS.o] Error 1
Looks like panther has an odd resolv.h. I'll take a look once I get a
copy of panther. In the meantime, you can configure the package with:
perl Makefile.PL --pm
and skip the XS bits.
Chris (the Net::DNS maintainer).

Signature
Chris Reinhardt -- chris@dyndns.org -- http://www.dyndns.org/
We had gay burglars the other night. They broke in and rearranged the
furniture.
--Robin Williams
Lon Baker - 21 Oct 2003 16:16 GMT
Chris,
Thanks it over course worked like a charm.
Thanks,
Lon Baker
Edward Moy - 21 Oct 2003 23:41 GMT
> Has anyone successfully intalled Net:DNS on Panther?
>
[quoted text clipped - 9 lines]
> DNS.xs:58: error: for each function it appears in.)
> make: *** [DNS.o] Error 1
Just a guess, but Panther defaults to bind-9 API where as most things
expect bind-8 API. You will need to define BIND_8_COMPAT to get the
bind-8 header files. Try:
% perl Makefile.PL DEFINE=-DBIND_8_COMPAT
Edward Moy
emoy@apple.com
---------------------------------------------------------------
(This messages is from me as a reader of this list, and not a statement
from Apple.)