Skip Menu |

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

Report information
The Basics
Id: 93151
Status: open
Priority: 0/
Queue: Net-LibIDN

People
Owner: Nobody in particular
Requestors: james2vegas [...] aim.com
Cc:
AdminCc:

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



Subject: On systems without GNU libidn preinstalled or installed into /usr/, use pkg-config instead of requiring perl Makefile.PL --with-libidn and --with-libidn-inc
With ExtUtils::PkgConfig, getting those paths (if not specified) should be trivial, viz:

$ perl
use ExtUtils::PkgConfig;
$package = 'libidn';
%pkg_info = ExtUtils::PkgConfig->find ($package);
print "cflags:      $pkg_info{cflags}\n";
print "libs:        $pkg_info{libs}\n";

cflags:      -I/usr/local/include
libs:        -L/usr/local/lib -lidn

On Tue Feb 18 19:40:13 2014, JWRIGHT wrote: Show quoted text
> With ExtUtils::PkgConfig, getting those paths (if not specified) should be > trivial, viz:
Agreed but that package needs to be installed first, isn't that sort of an additional hassle for people installing packages manually? (sorry for taking ages to reply ;)