Dave, Sorry your message languished so long without a reply.
At 11:26 AM -0400 7/30/04, Dave Greenwood wrote: >VMS AXP 7.2-2 > >I've been running perl v5.6.1 and decided to update to v5.8.1 using the >VMS Freeware distribution. I'm trying to use the Net::DNS module, v0.47 >which I downloaded from cpan and installed. Interesting, as we just had a discussion over on the ITRC forum about getting this extension to build: http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=653158 Did you get a warning about only building the pure Perl version? If so, follow my instructions at the link above, rebuild, and reinstall. >My script compiles >successfully but then I get: > > Can't locate auto/Net/DNS/typesbyname.al in @INC (@INC > contains: /perl_root/lib/VMS_AXP/5_8_1 /perl_root/lib > /perl_root/lib/site_perl/VMS_AXP perl_root:[lib.site_perl] > /perl_root/lib/site_perl .) > at /perl_root/lib/site_perl/VMS_AXP/Net/DNS/Question.pm line 174 > >Line 174 of Question.pm is: > > $data .= pack("n", Net::DNS::typesbyname(uc($self->{"qtype"}))); > >This is one of my first attempts to add a module to Perl (Net::DNS was >already in the 5.6.1 version I was using). I see a typesbyname >subroutine in DNS.PM so I would have thought that would have satisfied >the line in question (no pun intended). > >So - what's a ".al" file? It's not in the module package so what >creates it? It's part of a module that's been split off for more efficient loading by the autoloader. That should get set up automatically during the build and install. You might try explicitly making the pm_to_blib target and then reinstalling. $ mms pm_to_blib $ mms install >Could this be symptomatic of a directory depth problem? (PERL_ROOT >is of the form disk:[dir.PERL-5_8_1.PERL_BIN.]) > Not on OpenVMS Alpha 7.2-2. That would only bite you on VAX or on pre-7.2 Alpha. The 8-level restriction may have even been lifted on VAX in 7.3, but I don't remember for sure. -- ________________________________________ Craig A. Berry mailto:[EMAIL PROTECTED] "... getting out of a sonnet is much more difficult than getting in." Brad Leithauser