File: README

package info (click to toggle)
libnet-libidn2-perl 1.02-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 132 kB
  • sloc: perl: 96; makefile: 3
file content (40 lines) | stat: -rw-r--r-- 1,287 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Net/LibIDN2 version 1.02
========================

This module provides Perl bindings for GNU Libidn2 by Simon Josefsson
(http://www.gnu.org/software/libidn/) and closely follows
the original C API of that library.

Devel-CheckLib-1.11 in directory inc, by Yasuhiro Matsumoto, is
included as is to facilitate cpantesters.org build testing.

INSTALLATION

perl Build.PL
./Build
./Build test
./Build install

If your local version of GNU Libidn2 is installed in a non-standard
location, try the following instead of "perl Build.PL":

perl Build.PL --extra_compiler_flags=-I/path/include --extra_linker_flags="-L/path/lib -lidn2"

Should your runtime library search path not contain libidn2, you probably will
have to set LD_LIBRARY_PATH or compile the absolute library path into
the module like follows:

LD_LIBRARY_PATH=/path/lib perl Build.PL --extra_compiler_flags=-I/path/include --extra_linker_flags="-L/path/lib -lidn2"

or

LD_LIBRARY_PATH=/path/lib perl Build.PL --extra_compiler_flags=-I/path/include --extra_linker_flags="-L/path/lib -lidn2 -Wl,-rpath=/path/lib"

Setting LD_LIBRARY_PATH *and* rpath might be necessary to make Devel::CheckLib detect the
presence of libidn2 correctly.

DEPENDENCIES

This module requires these other modules and libraries:

  GNU Libidn2 >=2.0.0