Subject: | Makefile.PL: LIBS => '-lintl -liconv'] |
in order to install libintl-perl-1.16 on strawberry perl 5.10.0.1, I had
to correct the Makefile.PL as follows:
replace
LIBS => ['-lintl', '-liconv'],
with
LIBS => ['-lintl -liconv'],
see this excerpt from
http://search.cpan.org/src/MSCHWERN/ExtUtils-MakeMaker-6.44/lib/ExtUtils/MakeMaker.pm
=item LIBS
An anonymous array of alternative library
specifications to be searched for (in order) until
at least one library is found. E.g.
'LIBS' => ["-lgdbm", "-ldbm -lfoo", "-L/path -ldbm.nfs"]
Mind, that any element of the array
contains a complete set of arguments for the ld
command. So do not specify
'LIBS' => ["-ltcl", "-ltk", "-lX11"]
See ODBM_File/Makefile.PL for an example, where an array is needed. If
you specify a scalar as in
'LIBS' => "-ltcl -ltk -lX11"
MakeMaker will turn it into an array with one element.