Re: Installing Phoenix on Fedora 26 with pip fails to recognize the installed GStreamer

Matthew Newville <[email protected]>
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>

On Monday, March 6, 2017 at 1:14:53 PM UTC-6, joaom wrote:
>
> Hi all,
>
> I'm onFedora 26, trying to install Phoenix (because I'm doing Python 3.5, 
> don't want to go back to 2.7) with the followingcommand :
>
> pip install --upgrade --trusted-host wxpython.org --pre -f 
> https://wxpython.org/Phoenix/snapshot-builds/ wxPython_Phoenix
>
> At some point the configure scriptfails with :
>
>     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
>     ERROR: failed building wxWidgets
>
> but I *do* have 0.10 install, as dnf shows :
>
> [root@localhost ~]# dnf info gstreamer
> Last metadata expiration check: 0:17:34 ago on Mon Mar  6 19:34:46 2017.
> Installed Packages
> Name        : gstreamer
> Arch        : x86_64
> Epoch       : 0
> Version     : 0.10.36
> Release     : 15.fc25
> Size        : 3.4 M
> Repo        : @System
> From repo   : updates
>
>
> What could be wrong here ? Anyway I can fix this ?
>
> I was also considering telling configure that I don't need GStreamer, how 
> can I do that when using pip ? or should I go for a manual build ? Any help 
> appreciated.
>
> Joao
>
>
I haven't tried this on Fedora 25 (or later) yet, but following the 
installation instructions and similar notes for installing on ubuntu, I 
found I had to do this prior to building Phoenix on recent Fedora:

    sudo dnf install webkitgtk webkitgtk-devel freeglut freeglut-devel 
libnotify libnotify-devel libtiff libtiff-devel libjpeg libjpeg-devel SDL 
SDL-devel gstreamermm-devel gstreamermm 

    export GST_LIBS="-lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -pthread 
-lgthread-2.0 -pthread -lglib-2.0 -lxml2"
    export GST_CFLAGS="-pthread -I/usr/include/gstreamer-0.10 
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include 
-I/usr/include/libxml2"
 
    python build.py etg --nodoc sip build build_py

Hope that helps, I'd be happy to hear if anything there needs to be changed 
-- I'm sure I'll need it soon.

--Matt

-- 
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.