Closed buhtz closed 6 years ago
wxWidgets has a lot of prerequisites that need to be installed in order for a build to succeed. Not just libraries, but also the dev packages for those libraries.
checking for WEBKIT... configure: WARNING: webkitgtk not found. configure: WARNING: WebKit not available, disabling wxWebView checking for CAIRO... yes checking for cairo_push_group... yes checking for GST... configure: WARNING: GStreamer 1.0 not available, falling back to 0.10 checking for GST... configure: WARNING: GStreamer 0.10 not available, falling back to 0.8 configure: error: GStreamer not available Error running configure
These are the kinds of clues to watch out for that will give you hints as to what is missing.
I have the following in a script that sets up one of my test environments on a Debian system:
apt-get install -y libgtk2.0-dev libgtk-3-dev \
libjpeg-dev libtiff-dev \
libsdl1.2-dev libgstreamer-plugins-base0.10-dev \
libnotify-dev freeglut3 freeglut3-dev libsm-dev \
libwebkitgtk-dev libwebkitgtk-3.0-dev
That should get you at least close to everything you'll need.
Oh, you've probably already got them but also make sure that you have pythonX.Y-dev
packages installed too.
All in.
The question is what did "configure" told about the error. The build process is to intransparent. What was the problem of configure?
I'm a little uncertain what you're asking. Configure failed because you're missing some packages that wxWidgets requires to operate. If you've installed them all with the package manager appropriate to your distribution then rerunning the pip installation will work.
As for build-time transparency there are plans in the works to make this type of build error more human readable. But they're currently sitting at low priority.
It may also be worth noting that (for debian unstable, at least) libgstreamer-plugins-base1.0-dev
is a separate package not provided by libgstreamer1.0-dev
.
Thx! @charliegreen That's exactly what I needed on Ubuntu 17.10
sudo apt install libgstreamer-plugins-base1.0-dev
BTW, the pip installation took me about half an hour, which might be confusing without sudo pip3 install wxPython -v
.
Thanks to @charliegreen, I spend lots of hours dealing with all dependencies issue, this package libgstreamer-plugins-base1.0-dev
save my day!!!
I tried to install "wxPython_4.0.0a3" from PyPi https://pypi.python.org/pypi/wxPython on Debian unstable.
There comes the error "Error running configure". I can not see more hints.
This report is about PyPi installation. Don't point to the source repository, tarballs or whatever.