Re: Cannot compile libtool2

Marc Boxerman via Fink-beginners <[email protected]>
Newsgroups gmane.os.apple.fink.beginners
Message-ID <[email protected]>
Hanspeter,

Removing the old version of help2man-perl and installing the new version appears to have worked.

> On Feb 21, 2021, at 6:01 PM, Hanspeter Niederstrasser <[email protected]> wrote:
> 
> On 2/21/21 5:05 PM, Marc Boxerman via Fink-beginners wrote:
>>> On Feb 21, 2021, at 5:04 PM, Hanspeter Niederstrasser <[email protected]> wrote:
>>> 
>>> On 2/21/21 4:54 PM, Marc Boxerman via Fink-beginners wrote:
>>>> I encounter an error compiling libtool2.  Here is the error:
>>>> Can't locate Locale/gettext.pm in @INC (you may need to install the Locale::gettext module) (@INC contains: /sw/lib/perl5/5.18.2/darwin-thread-multi-2level /sw/lib/perl5/5.18.2 /sw/lib/perl5/darwin-thread-multi-2level /sw/lib/perl5 /sw/lib/perl5/darwin /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.2 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at /sw/bin/help2man line 29.
>>>> BEGIN failed--compilation aborted at /sw/bin/help2man line 29.
>>>> make[2]: *** [doc/libtool.1] Error 2
>>>> make[1]: *** [all-recursive] Error 1
>>>> make: *** [all] Error 2
>>>> ### execution of /usr/bin/make failed, exit code 2
>>>> ### execution of /tmp/fink.mW9KE failed, exit code 2
>>>> It appears to be looking for gettext.pm.  I have locale-gettext-pm5162 installed.  Perhaps the package needs 5182, 5184, or 5282?
>>>>  i   gettext-bin             0.20.2-1          GNU Internationalization utils
>>>>      gettext-doc             0.20.2-1          Documentation for libgettext8, gettext-bin
>>>>  i   gettext-tools           0.20.2-1          GNU Internationalization utils
>>>>  i   libgettext8-dev         0.20.2-1          Development files for libgettext8-shlibs
>>>>  i   libgettext8-shlibs      0.20.2-1          GNU Internationalization utils (shared libs)
>>>>  i   libgettextpo2-dev       0.20.2-1          Development files for libgettextpo2-shlibs
>>>>  i   libgettextpo2-shlibs    0.20.2-1          GNU Internationalization utils
>>>>  i   locale-gettext-pm5162   1.07-1            Perl module for string internationalization
>>>>      locale-gettext-pm5182   1.07-1            Perl module for string internationalization
>>>>      locale-gettext-pm5184   1.07-1            Perl module for string internationalization
>>>>      locale-gettext-pm5282   1.07-1            Perl module for string internationalization
>>> 
>>> What system version are you on? And was the system updated from an earlier macOS release (such as 10.9)?
>>> 
>>> libtool2 BuildDepends on help2man, which has an explicit Depends on locale-gettext-pm5XXX that matches the system-provided perl. So the correct flavor of locale-gettext-pm5XXX should have been available.
> 
>> 10.11.  It’s an old 2008 Mac Pro.  The system has been updated from prior versions of the OS.
> 
> Only thing I can think of is that you first installed help2man in the older system where perl5162 is the default, then updated to 10.11 where it wants perl5182, and so that was missing. To be on the safe side for the dependency engine, I would make sure the package help2man-perl5182 is installed so that it's properly built for your current install. Before you do that, what is the output of `fink list help2man` ? Then run `fink install help2man-perl5182`.
> 
> Hanspeter
> 
> -- 
> Eagles may soar, but weasels don't get sucked into jet engines



_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.