pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: p5-gettext-1.05nb9 doesn't find libintl (which was just installed)
Am 16.10.2013 um 10:26 schrieb Dirk Heinrichs <dhs%recommind.com@localhost>:
> Am 14.10.2013 10:27, schrieb Dirk Heinrichs:
>> Am 11.10.2013 15:55, schrieb Dirk Heinrichs:
>>
>>> another problem while installing gcc4.7 on AIX:
>>>
>>> => Returning to build of p5-gettext-1.05nb9
>>> => Full dependency perl>=5.18.0: found perl-5.18.1nb1
>>> ===> Overriding tools for p5-gettext-1.05nb9
>>> ===> Extracting for p5-gettext-1.05nb9
>>> ===> Patching for p5-gettext-1.05nb9
>>> => Applying pkgsrc patches for p5-gettext-1.05nb9
>>> ===> Creating toolchain wrappers for p5-gettext-1.05nb9
>>> ===> Configuring for p5-gettext-1.05nb9
>>> => Substituting "intlpath" in Makefile.PL
>>> checking for gettext... no
>>> checking for gettext in -L/opt/pkg/lib -lintl... no
>>> gettext function not found. Please install libintl at Makefile.PL line 18.
>>> *** Error code 2
>>>
>>> But gettext has just been pulled in as a dependency by the same build:
>>>
>>> # ls -l /opt/pkg/lib/libintl*
>>> -rw-r--r-- 1 root system 73165 Oct 11 14:51
>>> /opt/pkg/lib/libintl.a
>>> -rwxr-xr-x 1 root system 1001 Oct 11 14:51
>>> /opt/pkg/lib/libintl.la
>>> lrwxrwxrwx 1 root system 16 Oct 11 14:51
>>> /opt/pkg/lib/libintl.so -> libintl.so.8.1.2
>>> lrwxrwxrwx 1 root system 16 Oct 11 14:51
>>> /opt/pkg/lib/libintl.so.8 -> libintl.so.8.1.2
>>> -rwxr-xr-x 1 root system 81503 Oct 11 14:51
>>> /opt/pkg/lib/libintl.so.8.1.2
>>>
>>> Any hints?
>> After some manual tries I found that the configure tests do some things
>> wrong:
>>
>> 1) The include path (-I) is wrong, so it doesn't find libintl.h
>> 2) Some libs are missing when compiling conftest.c (pthread, iconv)
>>
>> To solve the problem, I needed set CC accordingly:
>>
>> # export CC="/opt/freeware/bin/gcc -L/opt/pkg/lib
>> -I/opt/pkg/include/gettext -lpthread -liconv"
>> # bmake install
>
> BTW: The same is needed for converters/help2man.
Which looks like you have an issue with your environment. I cannot
reproduce described behavior. Check wrappers and .work.log
Cheers
--
Jens Rehsack
pkgsrc, Perl5
sno%NetBSD.org@localhost
Home |
Main Index |
Thread Index |
Old Index