Re: [gtk-osx-users] Building freetype: Fatal error: 'hb-ft.h' file not found.





On May 17, 2021, at 1:19 PM, Pascal <p p14 orange fr> wrote:


Le 17 mai 2021 à 05:10, John Ralls <jralls ceridwen us> a écrit :

Pascal,

Yeah. You need to figure out why harfbuzz-no-cairo didn't install the header. Study the logs. Try 
force-rebuilding (e.g. jhbuild buildone -f -c harfbuzz-no-cairo) and paying close attention to any errors 
and to what gets installed. When you find something that looks funny dig in and figure out why it did that.

Hello John,

I compare with the last build I've done 20200916:

*** Configuring harfbuzz-no-cairo *** [15/32]
meson --prefix /opt/xnadalib-2021 --libdir lib -Dcoretext=enabled -Ddocs=disabled --wrap-mode=nofallback 
/opt/src-2021/harfbuzz-2.7.1
The Meson build system
Version: 0.55.0
Source dir: /opt/src-2021/harfbuzz-2.7.1
Build dir: /opt/src-2021/cache/jhbuild/build/harfbuzz-2.7.1
Build type: native build
Using 'PKG_CONFIG_PATH' from environment with value: 
'/opt/xnadalib-2021/lib/pkgconfig:/opt/xnadalib-2021/share/pkgconfig:/usr/lib/pkgconfig'
Using 'PKG_CONFIG_PATH' from environment with value: 
'/opt/xnadalib-2021/lib/pkgconfig:/opt/xnadalib-2021/share/pkgconfig:/usr/lib/pkgconfig'
Project name: harfbuzz
Project version: 2.7.1
...
Library m found: YES
Found pkg-config: /opt/xnadalib-2021/bin/pkg-config (0.29.2)
Using 'PKG_CONFIG_PATH' from environment with value: 
'/opt/xnadalib-2021/lib/pkgconfig:/opt/xnadalib-2021/share/pkgconfig:/usr/lib/pkgconfig'
Run-time dependency freetype2 found: YES 23.2.17
Using 'PKG_CONFIG_PATH' from environment with value: 
'/opt/xnadalib-2021/lib/pkgconfig:/opt/xnadalib-2021/share/pkgconfig:/usr/lib/pkgconfig'
Run-time dependency glib-2.0 found: YES 2.64.2

== Freetype is found.

and current one:

*** Configuring harfbuzz-no-cairo *** [1/1]
meson --prefix /opt/xnadalib-2021 --libdir lib -Dcoretext=enabled -Ddocs=disabled -Dbenchmark=disabled 
--wrap-mode=nofallback /opt/src-2021/harfbuzz-2.8.0
The Meson build system
Version: 0.58.0
Source dir: /opt/src-2021/harfbuzz-2.8.0
Build dir: /opt/src-2021/cache/jhbuild/build/harfbuzz-2.8.0
Build type: native build
Project name: harfbuzz
Project version: 2.8.0
C compiler for the host machine: /Applications/Xcode.app/Contents/Developer/usr/bin/gcc (clang 12.0.5 
"Apple clang version 12.0.5 (clang-1205.0.22.9)")
C linker for the host machine: /Applications/Xcode.app/Contents/Developer/usr/bin/gcc ld64 650.9
C++ compiler for the host machine: /Applications/Xcode.app/Contents/Developer/usr/bin/g++ (clang 12.0.5 
"Apple clang version 12.0.5 (clang-1205.0.22.9)")
C++ linker for the host machine: /Applications/Xcode.app/Contents/Developer/usr/bin/g++ ld64 650.9
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C++ supports link arguments -Bsymbolic-functions: YES 
Compiler for C++ supports arguments -fno-exceptions: YES 
Compiler for C++ supports arguments -fno-rtti: YES 
Compiler for C++ supports arguments -fno-threadsafe-statics: YES 
Compiler for C++ supports arguments -fvisibility-inlines-hidden: YES 
Library m found: YES
Found pkg-config: /opt/xnadalib-2021/bin/pkg-config (0.29.2)
Found CMake: /opt/xnadalib-2021/bin/cmake (3.20.0)
Run-time dependency freetype2 found: NO (tried pkgconfig, framework and cmake)
Run-time dependency freetype2 found: NO (tried pkgconfig, framework and cmake)
Not looking for a fallback subproject for the dependency freetype2 because:
Use of fallback dependencies is disabled.
Run-time dependency glib-2.0 found: YES 2.68.0

== Freetype is not found.

Whereas it seem to be there:
% ../xnadalib-2021/bin/pkg-config --modversion freetype2
23.4.17

Is it linked to PKG_CONFIG_PATH?

Pascal,

I don't know. Is it? It's your computer, after all, not mine.

Regards,
John Ralls



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]