I'm trying to use build-wxpython.py in 2.9.4.0 under OpenBSD to build
wxwidgets and wxpython. Most of the BSDs have their own traditional
make
which isn't gnu make. If gnu make is installed it's usually gmake,
but most
things allow for changing which make is being used. I don't see that
in
build-wxpython.py.
The immediate problem is --jobs, where in BSD make it should be -j
(gnu make
can use either). Here it's not needed at all, but I commented out
every
occurrence I can find in build-wxpython.py and I still get:
/usr/bin/make
make --jobs=1
make: unknown option -- -
My question is how to replace the /usr/bin/make with /usr/local/bin/
gmake
You'll need to look in the wxWidgets build/tools/build-wxwidgets.py for where make is run. IIRC I don't think there is currently any way to tell it to use a different make, although I would accept a patch that added a command line flag for it (and also modified wxPython's build-wxpython.py and Phoenix's build.py to accept the flag and pass it on) or perhaps simply allow it to fetch the command from a MAKE environment variable if it is set.
For a short term workaround you could create a ./make --> /usr/local/bin/gmake symlink, and run with the CWD inserted into the PATH so that make symlink is found first.
···
On 12/17/12 7:22 PM, AB1JX wrote:
I'm trying to use build-wxpython.py in 2.9.4.0 under OpenBSD to build
wxwidgets and wxpython. Most of the BSDs have their own traditional
make
which isn't gnu make. If gnu make is installed it's usually gmake,
but most
things allow for changing which make is being used. I don't see that
in
build-wxpython.py.