Hi,
I am trying to build GnuCash 4.11 from source on macOS 12.6 (M1 CPU),
following the instructions at https://wiki.gnucash.org/wiki/MacOS/Quartz .
I have finished the preliminaries, so I appear to have jhbuild running.
I encounter difficulty with the command:
jhbuild bootstrap-gtk-osx
It throws a succession of Python KeyErrors, looking for environment
variables PREFIX, CXXFLAGS, and I assume CC and CFLAGS as well. For instance
% jhbuild bootstrap-gtk-osx
Loading .env environment variables...
Traceback (most recent call last):
File "/Users/gtkdeveloper/Source/jhbuild/jhbuild/config.py", line 194, in load
execfile(filename, config)
File "/Users/gtkdeveloper/Source/jhbuild/jhbuild/utils/compat.py", line 67,
in execfile
exec(code, globals, locals)
File "/Users/gtkdeveloper/.config/jhbuildrc", line 474, in <module>
exec(compile(open(_user_rc, "rb").read(), _user_rc, 'exec'))
File "/Users/gtkdeveloper/.config/jhbuildrc-custom", line 3, in <module>
prefix = os.environ['PREFIX']
File
"/Users/gtkdeveloper/.new_local/share/pyenv/versions/3.10.2/lib/python3.10/os.py",
line 679, in __getitem__
raise KeyError(key) from None
KeyError: 'PREFIX'
jhbuild: could not load config file
%
The wiki page MacOS/Quartz does not mention these environment variables.
Where are they described? What values should I assign for them? I would
appreciate a link to whatever page I should read next.
Thanks,
—Jim DeLaHunt
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel