> On Jul 27, 2025, at 06:24, Jo Wetzig <jo.wet...@web.de> wrote: > > Greetings, > > trying to build according to https://wiki.gnucash.org/wiki/MacOS/Quartz > I first note in passing that several links of that page fail. > I have annotated the Wiki page accordingly since I do not know appropriate > actual replacements. > > Then > gtk-osx-setup.sh > (And yes, John, I have this time started with a fresh admin user without > home-brew, macports or fink :=) > runs thru, with repeated warnings of > ld: warning: duplicate -rpath > '/Users/gnu0/.new_local/share/pyenv/versions/3.13.2/lib' ignored > and one warning > checking for libmpdec >= 2.5.0... no > configure: WARNING: no system libmpdecimal found; falling back to bundled > libmpdecimal (deprecated and scheduled for removal in Python 3.15) > > and finishes > *********** > PATH does not contain /Users/gnu0/.new_local/bin. You probably want to fix > that. > * > *********** > Loading .env environment variables... > To activate this project's virtualenv, run pipenv shell. > Alternatively, run a command inside the virtualenv with pipenv run. > Installing dependencies from Pipfile.lock (735099)... > Installing jhbuild configuration at /Users/gnu0/.config/jhbuildrc > After setting > PATH=/Users/gnu0/.new_local/bin:$PATH > and checking > $ echo $PATH > /Users/gnu0/.new_local/bin:/Users/gnu0/.new_local:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Applications/Little > Snitch.app/Contents/Components > > however pipenv fails > Traceback (most recent call last): > File "/Users/gnu0/.new_local/bin/pipenv", line 5, in <module> > from pipenv import cli > ModuleNotFoundError: No module named 'pipenv' > > On the command line Python is not found, Apple's Python3 however is (Python > 3.9.6 (default, Nov 11 2024, 03:15:39)) > > I guess somewhere the necessary paths were not set correctly. > > Any hints?
I’ve updated the missing links. The libmpdec warning is odd, https://github.com/python/cpython/issues/115119 is supposed to have changed the installer to provide libmpdec-4.0.0. To use pipenv directly you need to set PIPENV_DOTENV_LOCATION=$HOME/.new_local/etc/pipenv-env; that will set PYENV_ROOT for you. $PYENV_ROOT/shims has the python executables you need to access the venv that gtk-osx-setup.sh created. Normal usage of gtk-osx is through jhbuild. That’s a shell script in $HOME/.new_local/bin that sets up the environment and runs in the venv. Regards, John Ralls
_______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel