Skip Menu |

This queue is for tickets about the Net-LibIDN2 CPAN distribution.

Report information
The Basics
Id: 127289
Status: resolved
Priority: 0/
Queue: Net-LibIDN2

People
Owner: Nobody in particular
Requestors: info [...] binarus.de
Cc:
AdminCc:

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



CC: thor [...] cpan.org
Subject: Problem with building Net::LibIDN2
Date: Wed, 3 Oct 2018 22:00:27 +0200
To: bug-Net-LibIDN2 [...] rt.cpan.org
From: "Pfannenschmid, P. (Binarus)" <info [...] binarus.de>
CC: thor [...] cpan.org
Subject: Problem with building Net::LibIDN2
To: bug-Net-LibIDN2 [...] rt.cpan.org
From: "Pfannenschmid, P. (Binarus)" <info [...] binarus.de>

Message body is not shown because it is too large.

Download 0x2EBAB3F8668BCD13.asc
application/pgp-keys 2.3k

Message body not shown because it is not plain text.

Download signature.asc
application/pgp-signature 196b

Message body not shown because it is not plain text.

RT-Send-CC: thor [...] cpan.org
On 2018-10-03 16:09:45, Binarus wrote: Show quoted text
> Dear ladies and gentlemen, > > I have problems installing Net::LibIDN2 into Perl. I have followed all > advice you give on the GitHub page (https://github.com/gnuthor/Net-- > LibIDN2), i.e. I have tried all three variants. The result is the same > each time: > > root@achilles:/install/Net-LibIDN2-1.00# > LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu perl Build.PL > --extra_compiler_flags=-I/usr/include --extra_linker_flags="- > L/usr/lib/x86_64-linux-gnu -lidn2 -Wl,-rpath=/usr/lib/x86_64-linux- > gnu" > # Compiler seems to be /usr/bin/cc > # /usr/bin/cc -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict- > aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -fstack-protector -L/usr/local/lib > assertlib_pI_gtd1.c -I/usr/include -o assertlibo_KgINqs > # /usr/bin/cc -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict- > aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -fstack-protector -L/usr/local/lib > assertlibr5upVKPU.c -o assertlibtwvzx6zy -I/usr/include > -L/usr/lib/x86_64-linux-gnu -lidn2 > wrong result: 'idn2' > > The same happens when I try to install the module from within the CPAN > shell. > > My system is Debian jessie, all updates applied at the time of this > writing, nothing special otherwise. I believe that the system is > matching all preconditions (see below, after my signature which I > unfortunately have to add in full detail due to legal reasons). > > I would be very grateful if you could give me a hint about what I am > doing wrong.
Here'a a link to the section in CPAN::Plugin::Sysdeps regarding Net::LibIDN2: https://github.com/eserte/cpan-plugin-sysdeps/blob/1284196c12ee81718c7ead2e3861f4d4e6cec3be/lib/CPAN/Plugin/Sysdeps/Mapping.pm#L2297-L2307 The comment regarding old debian-like systems (older than Ubuntu 18.10 or Debian/buster) is sparse, but basically it says that the libidn2 library is too old on these systems.
Subject: Re: [rt.cpan.org #127289] Problem with building Net::LibIDN2
Date: Tue, 16 Apr 2019 09:19:23 +0200
To: bug-Net-LibIDN2 [...] rt.cpan.org
From: "Pfannenschmid, P | Binarus" <info [...] binarus.de>
Dear Slaven, On 06.04.2019 09:59, Slaven_Rezic via RT wrote: Show quoted text
> > Here'a a link to the section in CPAN::Plugin::Sysdeps regarding Net::LibIDN2: > > https://github.com/eserte/cpan-plugin-sysdeps/blob/1284196c12ee81718c7ead2e3861f4d4e6cec3be/lib/CPAN/Plugin/Sysdeps/Mapping.pm#L2297-L2307 > > The comment regarding old debian-like systems (older than Ubuntu 18.10 or Debian/buster) is sparse, but basically it says that the libidn2 library is too old on these systems. >
Thank you very much for your reply. That's exactly what I have found out in the meantime. Debian is known for their outdated software, so I have compiled the current version of libidn2 myself. Then the installation of Net::LibIDN2 went without problems. Regards, Peter Pfannenschmid **************************************** Binarus GmbH & Co. KG Lindauer Straße 12 86845 Großaitingen Tel: 08203 / 9699 000 Fax: 08203 / 9699 001 e-Mail: info@binarus.de http://www.binarus.de Umsatzsteuer-ID: DE231192994 Angaben zur Binarus GmbH & Co. KG: Rechtsform: GmbH & Co. KG Sitz: Lindauer Straße 12, 86845 Großaitingen Registergericht: Amtsgericht Augsburg Handelsregister-Nummer: HRA 14664 Vertreterin und persönlich haftende Gesellschafterin der Binarus GmbH & Co. KG: Name: Binarus Verwaltungs GmbH Rechtsform: GmbH Sitz: Lindauer Straße 12, 86845 Großaitingen Registergericht: Amtsgericht Augsburg Handelsregister-Nummer: HRB 20093 Vertreter und Geschäftsführer der Binarus Verwaltungs GmbH: Peter Pfannenschmid
Thanks SREZIC@cpan.org for providing a solution, marking as resolved