Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Perl / October 2003



Tip: Looking for answers? Try searching our database.

Net:DNS on Panther

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lon Baker - 20 Oct 2003 21:00 GMT
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.)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.