if false; then
sudo -H pip3 install -U wxPython
if [[ $? = 0 ]]; then
exit 0
fi
fi
if true; then
sudo -H pip3 install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-18.04 wxPython
exit $?
fi
}
I end up with an error:
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:54:0,
from /tmp/pip-build-ac95dka0/wxPython/ext/wxWidgets/src/gtk/webview_webkit2.cpp:23:
/usr/include/webkitgtk-4.0/webkit2/WebKitJavascriptResult.h:28:10: fatal error: jsc/jsc.h: No such file or directory #include <jsc/jsc.h>
^~~~~~~~~~~
compilation terminated.
Makefile:39832: recipe for target ‘webviewdll_webview_webkit2.o’ failed
make: *** [webviewdll_webview_webkit2.o] Error 1
make: *** Waiting for unfinished jobs…
Error building
ERROR: failed building wxWidgets
Traceback (most recent call last):
File “build.py”, line 1321, in cmd_build_wx
wxbuild.main(wxDir(), build_options)
File “/tmp/pip-build-ac95dka0/wxPython/buildtools/build_wxwidgets.py”, line 499, in main
exitIfError(wxBuilder.build(dir=buildDir, options=args), “Error building”)
File “/tmp/pip-build-ac95dka0/wxPython/buildtools/build_wxwidgets.py”, line 85, in exitIfError
raise builder.BuildError(msg)
buildtools.builder.BuildError: Error building
Finished command: build_wx (6m34.461s)
Finished command: build (6m34.461s)
Command ‘"/usr/bin/python3" -u build.py build’ failed with exit code 1.
Appearently jsc.h is missing. This file is somewehere in webkit, but I installed already a number of webkit libraries. Which one is missing ? Or should I grab jsc.h from github and dump it somewhere in …/lib, which lib folder?
I have a 32bit pc with mint 19 running. No problem there. For installing wxpython I run this bash-script:
It took me a minute to realize why it is trying to build the wheel instead of just using the existing ones at the URL you give pip. I didn’t think there were many new installs using 32-bit linuxes these days. Just curious why are you using that instead of 64-bit?
I don’t install libwebkit2gtk-4.0-dev in the build VM for Ubuntu-18.04, you may want to try without it. It could be causing some confusion somewhere in the build.
You won’t need these unless you also want wxPython classic installed. And if that’s the case then you probably don’t want to install wxPython4 directly in the master Python environment as they could conflict. Instead you could build the wheel for wxPython4 and then install it in Python venvs where you need it.
···
On Thursday, October 4, 2018 at 8:47:05 AM UTC-7, Roel Dijkema wrote:
On Thursday, October 4, 2018 at 8:47:05 AM UTC-7, Roel Dijkema wrote:
I have a 32bit pc with mint 19 running. No problem there. For installing wxpython I run this bash-script:
It took me a minute to realize why it is trying to build the wheel instead of just using the existing ones at the URL you give pip. I didn’t think there were many new installs using 32-bit linuxes these days. Just curious why are you using that instead of 64-bit?
I don’t install libwebkit2gtk-4.0-dev in the build VM for Ubuntu-18.04, you may want to try without it. It could be causing some confusion somewhere in the build.
You won’t need these unless you also want wxPython classic installed. And if that’s the case then you probably don’t want to install wxPython4 directly in the master Python environment as they could conflict. Instead you could build the wheel for wxPython4 and then install it in Python venvs where you need it.
I have a 32bit pc with mint 19 running. No problem
there. For installing wxpython I run this bash-script:
It took me a minute to realize why it is trying to build
the wheel instead of just using the existing ones at the URL
you give pip. I didn’t think there were many new installs
using 32-bit linuxes these days. Just curious why are you
using that instead of 64-bit?
I don't install libwebkit2gtk-4.0-dev in the build VM for
Ubuntu-18.04, you may want to try without it. It could be
causing some confusion somewhere in the build.
sudo apt-get -y install python-wxgtk3.0-dev
python-wxversion python-wxtools
You won't need these unless you also want wxPython classic
installed. And if that’s the case then you probably don’t want
to install wxPython4 directly in the master Python environment
as they could conflict. Instead you could build the wheel for
wxPython4 and then install it in Python venvs where you need
it.
–
Robin
–
You received this message because you are subscribed to the Google
Groups “wxPython-dev” group.
To unsubscribe from this group and stop receiving emails from it,