Re: Error in fink selfupdate on Mojave 10.14.6

[email protected]
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
On 2021-12-18 21:35, Joe Borzellino via Fink-users wrote:
> Trying to a selfupdate to fink and get an error that:
> 
> parsetexi/api.c:28:10: fatal error: 'libintl.h' file not found
> 
> I tried a few things but nothing resolved the issue.
> 
> Thanks in advance for any help.
> 
> Joe
> 
> /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.
> -I./parsetexi -I. -I./gnulib/lib -I./gnulib/lib
> -DDATADIR=\"/sw/share\"  -g -pipe -fno-common -DPERL_DARWIN
> -fno-strict-aliasing -fstack-protector -Os -DVERSION=\"0\"
> -DXS_VERSION=\"0\"
> -I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE  -MT
> parsetexi/Parsetexi_la-api.lo -MD -MP -MF
> parsetexi/.deps/Parsetexi_la-api.Tpo -c -o
> parsetexi/Parsetexi_la-api.lo `test -f 'parsetexi/api.c' || echo
> './'`parsetexi/api.c

> libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./parsetexi -I.
> -I./gnulib/lib -I./gnulib/lib -DDATADIR=\"/sw/share\" -g -pipe
> -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -Os
> -DVERSION=\"0\" -DXS_VERSION=\"0\"
> -I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -MT
> parsetexi/Parsetexi_la-api.lo -MD -MP -MF
> parsetexi/.deps/Parsetexi_la-api.Tpo -c parsetexi/api.c  -fno-common
> -DPIC -o parsetexi/.libs/Parsetexi_la-api.o

> parsetexi/api.c:28:10: fatal error: 'libintl.h' file not found
> #include <libintl.h>
>          ^~~~~~~~~~~

> Also include the following system information:
> Package manager version: 0.45.4
> Distribution version: selfupdate-git Sat Dec 18 17:53:40 2021, 10.14.5, 
> x86_64
> Trees: local/main stable/main local/injected
> No recognized Xcode.app installed
> Xcode command-line tools: 10.3.0.0.1.1562985497
> Max. Fink build jobs:  8

The compile command for parsetexi/api.c should have "-I/sw/include" in 
it to find libintl.h from the package libgettext8-dev but it doesn't 
seem like that's getting passed to the build.

Unfortunately, I'm on macOS 12.1 right now, and that can't build the 
perl extension, so I don't see this failure (because this part of the 
build is skipped). Can you test the following:

Edit this file 
/sw/fink/dists/stable/main/finkinfo/text/texinfo-10.14.5.info by adding 
the following line in the CompileScript section immediately after the 
line that has #!/bin/sh (your addition should be a new line between that 
and the ./configure line)

export PERL_EXT_CPPFLAGS="-I%p/include"

Then try re-building texinfo (fink rebuild texinfo).

Hanspeter

ps. did you recently upgrade from an earlier version of macOS 10.14 (or 
earlier)?


_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users
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.