On Oct 20, 2003, at 1:00 PM, Lon Baker wrote:

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

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
[EMAIL PROTECTED]
---------------------------------------------------------------
(This messages is from me as a reader of this list, and not a statement from Apple.)




Reply via email to