[GNC-dev] Missing FreeType2 for Mac OS Development
Vincent Lucarelli
vincent.lucarelli at gmail.com
Sat Jan 14 13:22:04 EST 2023
Hi,
I am attempting to setup a new Mac OS X user account on Ventura 13.0.1 to build gnucash so I can attempt to help integrate a new Finance::Quote feature into GnuCash. Ran into 2 problems following the instructions at https://wiki.gnucash.org/wiki/MacOS/Quartz
First issue - was able to solve - copying /bin/bash to $HOME/.new_local/bin doesn’t seem to work on Ventura. The process is immediately killed when the alternate copy of bash is run. Some googling suggests it might have something to do with quarantine or code signing, but a few of the suggested solutions didn’t work. I have homebrew installed (but not in the path for the account I’m using to try and build gnucash), so I just installed bash with brew and then copied that executable into .new_local/bin.
Second issue - not sure how to proceed. The bootstrap run successfully, but the jhbuild step failed to find freetype2
> PREFIX=$HOME/opt/gnucash jhbuild build
> ../../src/harfbuzz-4.1.0/meson.build:87:0: ERROR: Dependency 'freetype2' is required but not found.
>
> A full log can be found at /Users/gnucash/opt/gnucash/build/harfbuzz-4.1.0/meson-logs/meson-log.txt
> WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
> *** Error during phase configure of harfbuzz-no-cairo: ########## Error running meson --prefix /Users/gnucash/opt/gnucash/inst --libdir lib -Dcoretext=enabled -Dfreetype=enabled -Ddocs=disabled -Dbenchmark=disabled -Dintrospection=disabled --wrap-mode=nofallback /Users/gnucash/opt/gnucash/src/harfbuzz-4.1.0 *** [20/76]
>
> [1] Rerun phase configure
> [2] Ignore error and continue to build
> [3] Give up on module
> [4] Start shell
> [5] Reload configuration
> [6] Go to phase "wipe directory and start over"
> choice:
Any advice how how to proceed is appreciated.
Thanks,
Vince
More information about the gnucash-devel
mailing list