How do I migrate to GStreamer 1.0.5?
Krzysztof Konopko
krzysztof.konopko at youview.com
Tue Jan 22 00:28:35 PST 2013
Hi Ian,
I wouldn't recommend messing with yum installed packages and overwriting
them with locally built packages. This greatly confuses your local
package repository manager.
I usually install locally built packages into my home folder, e. g.
$HOME/opt. Particularly with GStreamer here's my setup:
1. Get the sources from git repository or a stable packaged version (e.
g. 1.0.5)
2. Configure and build each gst* package as follows (no sudo needed):
If from git, then for the first time:
./autogen.sh --prefix=$HOME/opt/gstreamer-1.0
Else:
./configure --prefix=$HOME/opt/gstreamer-1.0
make -j3 install
Start with gstreamer (core), than go through gst-plugins-base and all
others.
4. Set up the environment
In $HOME/.bashrc:
function gst-dev {
export PATH=$HOME/opt/gstreamer-1.0/bin:$PATH
export LD_LIBRARY_PATH=$HOME/opt/gstreamer-1.0/lib
export GI_TYPELIB_PATH=$HOME/opt/gstreamer-1.0/lib/girepository-1.0
export PKG_CONFIG_PATH=$HOME/opt/gstreamer-1.0/lib/pkgconfig
}
5. Enjoy
$ gst-dev
Make sure you don't have devel packages installed from yum repository.
I'm not sure whether it would affect your local build but I wouldn't
take the chance.
I also tend to use a separate build folder (quite handy when building
for multiple platforms or creating a distribution package) but I didn't
want to complicate things in the description above.
Kris
On 21/01/13 17:15, Ian Davidson wrote:
> I am using Fedora 18. Fedora 18 currently has GStreaqmer 1.0.4 in the
> repository. I have 1.0.4 installed using YUM.
>
> I have downloaded and extracted the tarballs for Gstreamer-core and
> gst-plugins-base.
>
> I have run
>
> ./configure
> make
> sudo make install
>
> on the gstreamer-core and it seemed to work OK. If I run
>
> gst-launch-1.0 --version
>
> it reports 1.0.5. I can run a gst-inspect-1.0 on fakesrc, and that also
> shows 1.0.5.
>
> When I try to run ./configure on the gst-plugins-base, it fails because
> the latest version of gstreamer I have installed is 1.0.4.
>
> What step(s) am I missing?
>
> Ian
> --
> --
> Ian Davidson
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
More information about the gstreamer-devel
mailing list