Has anyone successfully built the source for gstreamer & related modules on CentOS 5.6 64bit? _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi Greg,
Do you mean that CentOS 5.6 should have the correct dependencies but that it won't compile? Or just that the versions are too old period? My colleagues and I have built gstreamer, plugins good, bad and gst-python on CentOS *5.3* but only by creating and installing custom rpms of the following in /opt (or a home directory, or whatever): flex 2.5.35 glib2 2.22.5 glib2-devel 2.22.5 pygobject2 2.18.0 pygobject2-devel 2.18.0 pygobject2-doc 2.18.0 I am not sure how good of an idea this was, but things seem to work okay so far. It was for a cluster computing environment that will not have an OS upgrade for a while, and we needed to make progress with what was there. If you decide this information is useful I can try to recall any of the gotchas that we came across... best wishes, Chad On Fri, Apr 15, 2011 at 3:34 PM, Greg Wunder <[hidden email]> wrote: > Has anyone successfully built the source for gstreamer & related modules on > CentOS 5.6 64bit? > It appears that there may be inconsistencies in glibc versions > needed/allowed. > > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > > -- Chad Hanna Perimeter Institute for Theoretical Physics 31 Caroline St. N. Waterloo, Ontario, Canada N2L 2Y5 Ph: (519) 569-7600 x7511 _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Chad, _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi Greg,
No promises, but here is how we got it to work unobtrusively. First you will have to set up a minimal environment to compile now and each time you use the new installation. I have a file with the following contents ############################################################ # This is an install prefix that does NOT get used anywhere but this script. It does not need to be exported. Use this path when configuring all of the software, don't choose a standard system lookup directory if you want to avoid any trouble. /opt/gst is reasonable if you want a system wide place. INSTALLPATH=${HOME}/gstlocal # These are environment variables that do and must get exported PATH=${INSTALLPATH}/bin:${PATH} PKG_CONFIG_PATH=${INSTALLPATH}/lib64/pkgconfig:${INSTALLPATH}/lib/pkgconfig:${PKG_CONFIG_PATH} PYTHONPATH=${INSTALLPATH}/lib64/python2.4/site-packages:${INSTALLPATH}/lib/python2.4/site-packages:${PYTHONPATH} GST_PLUGIN_PATH=${INSTALLPATH}/lib/gstreamer-0.10:${GST_PLUGIN_PATH} export PATH PKG_CONFIG_PATH PYTHONPATH GST_PLUGIN_PATH ############################################################ Next install the following (in this order I think, feel free to try different versions, but these worked for us): $ wget http://ftp.gnome.org/pub/GNOME/sources/glib/2.20/glib-2.20.5.tar.gz $ wget http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.14/pygobject-2.14.2.tar.gz $ wget http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.8/pygtk-2.8.6.tar.gz $ wget http://prdownloads.sourceforge.net/flex/flex-2.5.35.tar.gz?download Untar them somewhere and build glib and flex with this command line, you shouldn't need any special options to configure for glib and flex: $ ./configure --prefix=/path/to/your/installation/directory && make install However pygobject and pygtk require you to pass --disable-glibtest (don't worry it will actually find the correct glib at compile time as long as you have setup your env. right. This seems to be just a problem with the configure script's test): $ ./configure --disable-glibtest /path/to/your/installation/directory && make install Do the same for whatever gstreamer modules you need. You shouldn't need any special configure options *except *for gst-python. Given that redhat installations use the lib64 directory instead of lib you have to specify a custom python directory for gst-python by doing: ./configure --prefix=/path/to/your/installation/directory --with-libpython-dir=/usr/lib64 && make install Hope that helps, Chad On Mon, Apr 18, 2011 at 7:06 AM, Greg Wunder <[hidden email]> wrote: > Chad, > > Yes, it appears that CentOS 5.6 does not have the correct dependencies & a > custom build is needed if I am assuming the latest versions of gstreamer > modules. > However, I don't want to break the OS. > For my project I have to stick with this OS, so I can't change. > If you have any gotchas or insight on what you did for your build, some > notes on this would be greatly appreciated. > > Thanks, > Greg > > -----Original Message----- > From: gstreamer-devel-bounces+gwunder=[hidden email] on > behalf of chad hanna > Sent: Sat 4/16/2011 3:56 PM > To: Discussion of the development of and with GStreamer > Subject: Re: GStreamer Build on CentOS 5.6 64bit > > Hi Greg, > > Do you mean that CentOS 5.6 should have the correct dependencies but > that it won't compile? Or just that the versions are too old period? > > My colleagues and I have built gstreamer, plugins good, bad and > gst-python on CentOS *5.3* but only by creating and installing custom > rpms of the following in /opt (or a home directory, or whatever): > > flex 2.5.35 > glib2 2.22.5 > glib2-devel 2.22.5 > pygobject2 2.18.0 > pygobject2-devel 2.18.0 > pygobject2-doc 2.18.0 > > I am not sure how good of an idea this was, but things seem to work > okay so far. It was for a cluster computing environment that will not > have an OS upgrade for a while, and we needed to make progress with > what was there. If you decide this information is useful I can try to > recall any of the gotchas that we came across... > > best wishes, > > Chad > > On Fri, Apr 15, 2011 at 3:34 PM, Greg Wunder <[hidden email]> wrote: >> Has anyone successfully built the source for gstreamer & related modules >> on >> CentOS 5.6 64bit? >> It appears that there may be inconsistencies in glibc versions >> needed/allowed. >> >> >> _______________________________________________ >> gstreamer-devel mailing list >> [hidden email] >> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel >> >> > > > > -- > Chad Hanna > Perimeter Institute for Theoretical Physics > 31 Caroline St. N. > Waterloo, Ontario, Canada N2L 2Y5 > Ph: (519) 569-7600 x7511 > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > > -- Chad Hanna Perimeter Institute for Theoretical Physics 31 Caroline St. N. Waterloo, Ontario, Canada N2L 2Y5 Ph: (519) 569-7600 x7511 _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |