Open netravnen opened 6 years ago
Do you have a specific reason to use Net::Whois::RIPE? Nowadays in most cases you can just use the bgpq3 backend, which is much faster.
Net::Whois::RIPE is because it is stated in the requirements (./INSTALL) for using rpsltool.
Nowadays in most cases you can just use the bgpq3 backend
You mean to use bgpq3 instead of rpsltool?
No, I mean using bgpq3 as a backend for rpsltool. Net::Whois::RIPE is a requiremente only if you want to use the Net::Whois::RIPE backend.
Is there a way to tell rpsltool to ingore Net::Whois::RIPE not being installed? (And use the bgpq3 backend instead)
Currently I get this:
/opt/rpsltool > ./rpsltool
Can't locate Net/Whois/RIPE.pm in @INC (you may need to install the Net::Whois::RIPE module) (@INC contains: /opt/rpsltool/lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux.
BEGIN failed--compilation aborted at /opt/rpsltool/lib/RPSLToolWhois.pm line 4.
Compilation failed in require at ./rpsltool line 20.
BEGIN failed--compilation aborted at ./rpsltool line 20.
When trying to run rpsltool from the install dir.
./rpsltool line 20: use RPSLToolWhois;
/opt/rpsltool/lib/RPSLToolWhois.pm line 4: use Net::Whois::RIPE '1.22.1';
Using version 10ed072
I have bgpq3 already installed.
/opt/rpsltool > type bgpq3
bgpq3 is hashed (/usr/bin/bgpq3)
Had to open an issue with Net::Whois::RIPE for hopefully getting Net::Whois::RIPE to be able to install. Looks like the module has an issue regarding an test it do.