Can't install Perl module Locale::gettext under Windows. (Library dependency problem.)

Viewed 174

Community!

I have a problem with the module Locale::gettext installation, used it for all my Perl projects. Could you help me?

I can't install the module under Windows. What I did:

  1. Downloaded and installed Citrus Perl.

  2. Downloaded and installed libintl to C:\GnuWin32:

    https://altushost-swe.dl.sourceforge.net/project/gnuwin32/libintl/0.14.4/libintl-0.14.4.exe

  3. Tried to install the Locale:gettext:

> cpan -i Locale::gettext

OR

C:\perl\cpan\build\Locale-gettext-1.07-LlB4BJ>perl Makefile.PL INC="-IC:\\GnuWin32\\include" LIBS="-LC:\\GnuWin32\\libs"

And it outputs:

checking for gettext... no
checking for gettext in -lintl... no

Folder C:\GnuWin32\lib\ contains libintl.def, libintl.dll.a, libintl.lib, libintl-bcc.lib.

Folder C:\GnuWin32\bin\ contains libintl3.dll.

Do you have any thoughts why this error happens?

Thank you.

0 Answers
Related