Skip Menu |

This queue is for tickets about the IPTables-IPv4-DBTarpit CPAN distribution.

Report information
The Basics
Id: 94030
Status: open
Priority: 0/
Queue: IPTables-IPv4-DBTarpit

People
Owner: Nobody in particular
Requestors: CHORNY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.44
Fixed in: (no value)



Subject: libnet test fails
Debian packages libnet1-dev iptables-dev are installed. /usr/include/libnet.h: $Id: libnet.h.in,v 1.5 2004/01/17 CPAN.pm: Building M/MI/MIKER/IPTables-IPv4-DBTarpit-0.44.tar.gz ./local_config: 13: [: gcc: unexpected operator ./local_config: 1: ./local_config: ./local_conf_test.x: not found ./local_config: 78: [: -gt: unexpected operator ./local_config: 83: exit: Illegal number: -1 YOUR MUST INSTALL libnet VERSION 1.0.0 or greater (/home/c/perl5/perlbrew/perls/18.1i/bin/perl Makefile.PL exited with 0) -- Alexandr Ciornii, http://chorny.net
From: viktor [...] szepe.net
Good morning! It is very simple to solve this. This error comes from dash which does not understand bash scripts. Perl uses /bin/bash and that is probaly pointing to /bin/bash This is how to set bash as the default shell on Debian based systems. $ echo "dash dash/sh boolean false"|debconf-set-selections -v $ dpkg-reconfigure -f noninteractive dash All the best wishes to you! On Thu Mar 20 04:58:20 2014, CHORNY wrote: Show quoted text
> Debian packages libnet1-dev iptables-dev are installed. > > /usr/include/libnet.h: > $Id: libnet.h.in,v 1.5 2004/01/17 > > > > CPAN.pm: Building M/MI/MIKER/IPTables-IPv4-DBTarpit-0.44.tar.gz > > ./local_config: 13: [: gcc: unexpected operator > ./local_config: 1: ./local_config: ./local_conf_test.x: not found > ./local_config: 78: [: -gt: unexpected operator > ./local_config: 83: exit: Illegal number: -1 > YOUR MUST INSTALL libnet VERSION 1.0.0 or greater > (/home/c/perl5/perlbrew/perls/18.1i/bin/perl Makefile.PL exited with 0) > >
Typo: Show quoted text
> Perl uses /bin/bash
Perl uses /bin/sh.
Another: Show quoted text
> Perl uses /bin/bash and that is probaly pointing to /bin/bash
Perl uses /bin/sh and that is probably pointing to /bin/dash