Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 17 Apr 2014, 11:42
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Perl, cpan, Net/DNS installation issues on Slacko (Solved)
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
Fat32


Joined: 17 Feb 2013
Posts: 1

PostPosted: Sun 17 Feb 2013, 16:09    Post subject:  Perl, cpan, Net/DNS installation issues on Slacko (Solved)  

UPDATE: I guess best kind of help is a self-help hehe. I installed kernel headers package, and it helped to install Net::DNS

Hi folks, I'd appreciate any tips and tricks for total linux and puppy noob on how to get Net::DNS module installed and get perl script running. First some background.
- I have installed Puppy 5.4 Slacko on USB
- I read the following How To topic and tried to follow the tips there: http://www.murga-linux.com/puppy/viewtopic.php?t=67141&sid=ba612fb2ca36cb97141e2c9d00b30d80
- Downloaded and installed devx_5.4.0.2 as sfs
- I think I have cpan running now correctly as once I enter "cpan" command in shell, I get "cpan[1]>" prompt
- I need Net::DNS for this Perl script to run: http://ha.ckers.org/fierce/fierce.pl
- When I execute install Net::DNS command in cpan, I get the param.h missing error (complete code is below);
Code:
/usr/include/linux/param.h:4:23: fatal error: asm/param.h: No such file or directory
compilation terminated.
make: *** [DNS.o] Error 1


Code:

# cpan
Terminal does not support AddHistory.

cpan shell -- CPAN exploration and modules installation (v1.9800)
Enter 'h' for help.

cpan[1]> install Net::DNS
Reading '/root/.cpan/Metadata'
  Database was generated on Fri, 15 Feb 2013 03:17:03 GMT
Running install for module 'Net::DNS'
Running make for N/NL/NLNETLABS/Net-DNS-0.72.tar.gz
Checksum for /root/.cpan/sources/authors/id/N/NL/NLNETLABS/Net-DNS-0.72.tar.gz ok
Scanning cache /root/.cpan/build for sizes
............................................................................DONE

  CPAN.pm: Building N/NL/NLNETLABS/Net-DNS-0.72.tar.gz

Testing if you have a C compiler and the needed header files....
You have a working compiler.

Activating Non Fatal Online Tests...

Warning!
========
Online tests depend on conditions beyond the control of Net::DNS. The tests
check for the expected results when both Net::DNS and the outside world are
functioning properly. In case of failure it is often undecidable if the error
lies with Net::DNS or elsewhere.


The libraries needed to support IPv6 transport have not been found.
You will need recent versions of the IO::Socket::INET6 and Socket6
libraries (from CPAN).

Checking if your kit is complete...
Looks good
Writing Makefile for Net::DNS
Writing MYMETA.yml and MYMETA.json
cp lib/Net/DNS/RR/NID.pm blib/lib/Net/DNS/RR/NID.pm
cp lib/Net/DNS/RR/A.pm blib/lib/Net/DNS/RR/A.pm
cp lib/Net/DNS/Resolver/cygwin.pm blib/lib/Net/DNS/Resolver/cygwin.pm
cp lib/Net/DNS/Resolver/MSWin32.pm blib/lib/Net/DNS/Resolver/MSWin32.pm
cp lib/Net/DNS/RR/IPSECKEY.pm blib/lib/Net/DNS/RR/IPSECKEY.pm
cp lib/Net/DNS/RR/EID.pm blib/lib/Net/DNS/RR/EID.pm
cp lib/Net/DNS/RR/ISDN.pm blib/lib/Net/DNS/RR/ISDN.pm
cp lib/Net/DNS/RR/MX.pm blib/lib/Net/DNS/RR/MX.pm
cp lib/Net/DNS/RR/HIP.pm blib/lib/Net/DNS/RR/HIP.pm
cp lib/Net/DNS/Header.pm blib/lib/Net/DNS/Header.pm
cp lib/Net/DNS/RR/SOA.pm blib/lib/Net/DNS/RR/SOA.pm
cp lib/Net/DNS/RR/OPT.pm blib/lib/Net/DNS/RR/OPT.pm
cp lib/Net/DNS/RR/NIMLOC.pm blib/lib/Net/DNS/RR/NIMLOC.pm
cp lib/Net/DNS/RR/DNAME.pm blib/lib/Net/DNS/RR/DNAME.pm
cp lib/Net/DNS/RR/TXT.pm blib/lib/Net/DNS/RR/TXT.pm
cp lib/Net/DNS/RR/AAAA.pm blib/lib/Net/DNS/RR/AAAA.pm
cp lib/Net/DNS.pm blib/lib/Net/DNS.pm
cp lib/Net/DNS/RR/X25.pm blib/lib/Net/DNS/RR/X25.pm
cp lib/Net/DNS/RR/RP.pm blib/lib/Net/DNS/RR/RP.pm
cp lib/Net/DNS/RR/LP.pm blib/lib/Net/DNS/RR/LP.pm
cp lib/Net/DNS/Text.pm blib/lib/Net/DNS/Text.pm
cp lib/Net/DNS/RR/APL.pm blib/lib/Net/DNS/RR/APL.pm
cp lib/Net/DNS/RR/PTR.pm blib/lib/Net/DNS/RR/PTR.pm
cp lib/Net/DNS/Resolver/Recurse.pm blib/lib/Net/DNS/Resolver/Recurse.pm
cp lib/Net/DNS/RR/NS.pm blib/lib/Net/DNS/RR/NS.pm
cp lib/Net/DNS/RR/TSIG.pm blib/lib/Net/DNS/RR/TSIG.pm
cp lib/Net/DNS/Update.pm blib/lib/Net/DNS/Update.pm
cp lib/Net/DNS/Resolver.pm blib/lib/Net/DNS/Resolver.pm
cp lib/Net/DNS/ZoneFile.pm blib/lib/Net/DNS/ZoneFile.pm
cp lib/Net/DNS/RR/PX.pm blib/lib/Net/DNS/RR/PX.pm
cp lib/Net/DNS/Nameserver.pm blib/lib/Net/DNS/Nameserver.pm
cp lib/Net/DNS/RR/DHCID.pm blib/lib/Net/DNS/RR/DHCID.pm
cp lib/Net/DNS/DomainName.pm blib/lib/Net/DNS/DomainName.pm
cp lib/Net/DNS/RR/NULL.pm blib/lib/Net/DNS/RR/NULL.pm
cp lib/Net/DNS/RR/LOC.pm blib/lib/Net/DNS/RR/LOC.pm
cp lib/Net/DNS/RR/RT.pm blib/lib/Net/DNS/RR/RT.pm
cp lib/Net/DNS/RR/L32.pm blib/lib/Net/DNS/RR/L32.pm
cp lib/Net/DNS/RR/AFSDB.pm blib/lib/Net/DNS/RR/AFSDB.pm
cp lib/Net/DNS/RR/SRV.pm blib/lib/Net/DNS/RR/SRV.pm
cp lib/Net/DNS/RR/L64.pm blib/lib/Net/DNS/RR/L64.pm
cp lib/Net/DNS/RR/MR.pm blib/lib/Net/DNS/RR/MR.pm
cp lib/Net/DNS/RR/TLSA.pm blib/lib/Net/DNS/RR/TLSA.pm
cp lib/Net/DNS/RR/MINFO.pm blib/lib/Net/DNS/RR/MINFO.pm
cp lib/Net/DNS/FAQ.pod blib/lib/Net/DNS/FAQ.pod
cp lib/Net/DNS/RR/CNAME.pm blib/lib/Net/DNS/RR/CNAME.pm
cp lib/Net/DNS/Question.pm blib/lib/Net/DNS/Question.pm
cp lib/Net/DNS/Domain.pm blib/lib/Net/DNS/Domain.pm
cp lib/Net/DNS/RR/SSHFP.pm blib/lib/Net/DNS/RR/SSHFP.pm
cp lib/Net/DNS/RR/NAPTR.pm blib/lib/Net/DNS/RR/NAPTR.pm
cp lib/Net/DNS/Resolver/os2.pm blib/lib/Net/DNS/Resolver/os2.pm
cp lib/Net/DNS/RR.pm blib/lib/Net/DNS/RR.pm
cp lib/Net/DNS/Packet.pm blib/lib/Net/DNS/Packet.pm
cp lib/Net/DNS/RR/HINFO.pm blib/lib/Net/DNS/RR/HINFO.pm
cp lib/Net/DNS/Parameters.pm blib/lib/Net/DNS/Parameters.pm
cp lib/Net/DNS/RR/MG.pm blib/lib/Net/DNS/RR/MG.pm
cp lib/Net/DNS/RR/TKEY.pm blib/lib/Net/DNS/RR/TKEY.pm
cp lib/Net/DNS/RR/NSAP.pm blib/lib/Net/DNS/RR/NSAP.pm
cp lib/Net/DNS/RR/CERT.pm blib/lib/Net/DNS/RR/CERT.pm
cp lib/Net/DNS/Resolver/UNIX.pm blib/lib/Net/DNS/Resolver/UNIX.pm
cp lib/Net/DNS/Mailbox.pm blib/lib/Net/DNS/Mailbox.pm
cp lib/Net/DNS/RR/KX.pm blib/lib/Net/DNS/RR/KX.pm
cp lib/Net/DNS/RR/SPF.pm blib/lib/Net/DNS/RR/SPF.pm
cp lib/Net/DNS/RR/MB.pm blib/lib/Net/DNS/RR/MB.pm
cp lib/Net/DNS/Resolver/Base.pm blib/lib/Net/DNS/Resolver/Base.pm
cc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i486 -mtune=i686   -DVERSION=\"0.72\" -DXS_VERSION=\"0.72\" -fPIC "-I/usr/lib/perl5/CORE"   netdns.c
/usr/bin/ar cr netdns.a netdns.o
: netdns.a
/usr/bin/perl5.16.1 /usr/share/perl5/ExtUtils/xsubpp  -typemap /usr/share/perl5/ExtUtils/typemap  DNS.xs > DNS.xsc && mv DNS.xsc DNS.c
cc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i486 -mtune=i686   -DVERSION=\"0.72\" -DXS_VERSION=\"0.72\" -fPIC "-I/usr/lib/perl5/CORE"   DNS.c
In file included from /usr/include/sys/param.h:29:0,
                 from /usr/lib/perl5/CORE/perl.h:676,
                 from DNS.xs:20:
/usr/include/linux/param.h:4:23: fatal error: asm/param.h: No such file or directory
compilation terminated.
make: *** [DNS.o] Error 1
  NLNETLABS/Net-DNS-0.72.tar.gz
  /usr/bin/make -- NOT OK
'YAML' not installed, will not store persistent state
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Failed during this command:
 NLNETLABS/Net-DNS-0.72.tar.gz                : make NO
[/code][/list]
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0713s ][ Queries: 11 (0.0240s) ][ GZIP on ]