gettext function not found by Perl module



Greetings,

I need to install the gettext-1.05 perl module from CPAN because
some inherited , very obscure unmaintenable scripts I _need_ to run on FC8
64 bit need it.

When I run the perl Makefile.PL command, I get:

[root@polaris gettext-1.05]# perl Makefile.PL
checking for gettext... no
checking for gettext in -lintl... no
gettext function not found. Please install libintl at Makefile.PL line 18


but I don't know anymore where to find this libintl thing. After the first
time I got this error, I did:

yum install gettext
yum install perl-libintl
yum install perl-gettext
yum install libintl
yum install gettext-devel

and nothing changed, I still get that error. yum search libintl only returns:

perl-libintl.x86_64 : Internationalization library for Perl, compatible
with gettext

what else? I've even installed by hand the libintl-perl and
Locale::Maketext::Gettext modules from CPAN, and nothing changes, I still
get that error. What do I need to install to make it go away?

Thank you in advance for any feedback,

Marco

PS: if it helps, the error message comes from this piece of Makefile.PL:

unless (conftest("char *x = gettext(\"foo\");", "gettext", 0)) {
# try with -lintl
$libs = "-lintl";
unless (conftest("char *x = gettext(\"foo\");", "gettext", 0)) {
unlink("conftest.c");
unlink("conftest");
die "gettext function not found. Please install libintl";
}


--
Help *everybody* love Free Standards and Software:
http://digifreedom.net


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: glib compile problem
    ... It is already depend on gettext. ... should making glib install gettext if gettext is not installed on the system? ... Also I saw a lot of "sh: environment corrupt; missing value for" ...
    (freebsd-current)
  • Re: glib compile problem
    ... It is already depend on gettext. ... should making glib install gettext if gettext is not installed on the system? ... Also I saw a lot of "sh: environment corrupt; missing value for" ...
    (freebsd-current)
  • Re: wrestling with b*rked package/ports collection
    ... > I seem to be in a loop where expat and gettext will somehow not ... > install in such a way as to serve as valid dependencies. ... And since it and/or gettext are core dependencies ... Kent Stewart ...
    (freebsd-questions)
  • Re: wrestling with b*rked package/ports collection
    ... > I seem to be in a loop where expat and gettext will somehow not ... > install in such a way as to serve as valid dependencies. ... And since it and/or gettext are core dependencies ... Kent Stewart ...
    (freebsd-questions)
  • Re: ld-elf.so.1 hared object "libintl.so.5" not found.
    ... >>Does anyone knows that which package do I need to install to fix the ... > It seems that ou upgraded gettext without rebuilding all ports that depend ... I m now installing portupgrade ... and will use portupgrade to recursively fix this problem. ...
    (comp.unix.bsd.freebsd.misc)