On Wed Jul 22 11:22:13 2015, DOLMEN wrote:
Show quoted text> Le 2015-07-22 17:05:48, DOLMEN a écrit :
> > So, what are the Debian packages required to be able to build
> > Net::Libdnet?
>
> On Ubuntu 14.04: libdumpnet1 and libdumbnet-dev
> But it is really painful to have to manually apply the ubuntu-
> new.patch.
>
> --
> Olivier Mengué -
http://perlresume.org/DOLMEN -
>
https://gratipay.com/dolmen/
Hello,
Debian and derived Linux distros decided to rename the libdnet library to libdumbnet. It was their own choice. As other Linux distros have decided to keep the original libdnet name, and as other non-Linux operating systems (like FreeBSD) did the same (that is, to not rename the library), I decided to ship the Perl module with the original name by default, and decided to make patchs available for Debian/Ubuntu users.
Now, it is documented in what we call a README file. I always assumed it was the good place to give advice on how to install a Perl module. If I refer to the documentation, you find the following information:
https://metacpan.org/source/GOMOR/Net-Libdnet-0.98/README
--8<--
UBUNTU/DEBIAN USERS
You will have to apply ubuntu-new.patch like the following:
$ cd Net-Libdnet-X.YY
$ patch -p0 < ubuntu-new.patch
To revert back to standard configuration:
$ patch -p0 < standard-new.patch
If you use an old version of Ubuntu/Debian (don't know which version),
you'll have to use ubuntu-old.patch and standard-old.patch files instead.
--8<--
In the case this information is not enough, you still have the possibility to rely on your packet manager to install the Perl module. In Ubuntu, the package is called libnet-libdnet-perl.
So, this ticket is closed, there is enough information for users to know how to install/build the module.