missing jsc.h when building wxpython
Roel Dijkema <[email protected]> Thu, 4 Oct 2018 00:45:04 -0700 (PDT)
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <[email protected]> |
I have a 32bit pc with mint 19 running. No problem there. For installing
wxpython I run this bash-script:
function installWxPython {
p3=$(python3 --version)
if [[ $? = 0 ]]; then
echo "Python3 = $p3"
else
echo "Get Python 3"
exit 1
fi
pip3=$(pip3 --version)
if [[ $? = 0 ]]; then
echo "Pip = $pip3"
else
echo "Get pip for python3"
exit 1
fi
echo "Get some extra's..."
sudo apt-get -y install dpkg-dev build-essential python3.6-dev
libjpeg-dev libtiff-dev libpng-dev
sudo apt-get -y install libgstreamer-plugins-base1.0-dev
sudo apt-get -y install libwebkitgtk-dev
sudo apt-get -y install libnotify-dev freeglut3 freeglut3-dev
libgtk2.0-dev libsm-dev
sudo apt-get -y install libgtk-3-dev libwebkitgtk-dev
libwebkitgtk-3.0-dev libwebkit2gtk-4.0-dev
sudo apt-get -y install python-wxgtk3.0-dev python-wxversion
python-wxtools
sudo apt-get -y install libxtst-dev libsdl1.2-dev libsdl2-dev
sudo apt autoremove -y
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?
Help, anybody, I need some help!
--
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, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.