Ищу запчасть на perl
vasilich 6 февраля, 2009 - 12:06
Решил поигратся с утилитой на перле http://xgu.ru/wiki/Tracemap
emerge traceroute emerge graphviz wget http://xgu.ru/download/tracemap.pl echo opennet.ru | perl tracemap.pl
в ответ получаю:
Цитата:
baricada trace # perl tracemap.pl
Can't locate Net/IP.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at tracemap.pl line 3.
BEGIN failed--compilation aborted at tracemap.pl line 3.
Цитата:
Can't locate Net/IP.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at tracemap.pl line 3. BEGIN failed--compilation aborted at tracemap.pl line 3. #apt-get install libnet-ip-perl Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: python2.4-minimal python2.4 libttf2 cpp-4.2 Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: libnet-ip-perl 0 upgraded, 1 newly installed, 0 to remove and 375 not upgraded. Need to get 30.2kB of archives. After this operation, 168kB of additional disk space will be used. Get:1 http://10.0.35.1 sid/main libnet-ip-perl 1.25-2 [30.2kB] Fetched 30.2kB in 0s (384kB/s) Selecting previously deselected package libnet-ip-perl. (Reading database ... 40741 files and directories currently installed.) Unpacking libnet-ip-perl (from .../libnet-ip-perl_1.25-2_all.deb) ... Setting up libnet-ip-perl (1.25-2) ... 12:19:16 #echo ya.ru | perl tracemap.pl readline() on closed filehandle PREFIXES at tracemap.pl line 44. Tracing path to ya.ru..........Done [last 53.431, total 315.154]
но это для ALTLinux, а какой пакет в gentoo соответствует libnet-ip-perl ?
»
- Для комментирования войдите или зарегистрируйтесь
мда
На будующее - g-cpan =) Может
На будующее - g-cpan =) Может поставить из цпана _любой_ модуль. Если таковой уже есть в портаже - поставит оттуда.