GStreamer-0.10.36
Installation of GStreamer
Install GStreamer by running the
following commands:
sed -i -e '/YYLEX_PARAM/d' \
-e '/parse-param.*scanner/i %lex-param { void *scanner }' \
gst/parse/grammar.y &&
./configure --prefix=/usr \
--disable-static &&
make
To test the results, issue: make
check. There are many other Makefile
targets you can specify for running the
tests, issue make -C tests/check
help to see the complete list.
Now, as the root
user:
make install &&
install -v -m755 -d /usr/share/doc/gstreamer-0.10/design &&
install -v -m644 docs/design/*.txt \
/usr/share/doc/gstreamer-0.10/design &&
if [ -d /usr/share/doc/gstreamer-0.10/faq/html ]; then
chown -v -R root:root \
/usr/share/doc/gstreamer-0.10/*/html
fi
Testing the Installation
To test the functionality of the GStreamer installation, you can run a simple
test as an unprivileged user (you may have to run ldconfig as the root
user before attempting the test).
gst-launch -v fakesrc num_buffers=5 ! fakesink
If the command outputs a series of messages from fakesrc and
fakesink, everything is okay.
Command Explanations
sed ...
gst/parse/grammar.y: This command corrects a
problem caused by the most recent version of Bison.
--disable-static
: This
switch prevents installation of static versions of the libraries.
--enable-gtk-doc
: Use this parameter if
GTK-Doc is installed and you wish
to rebuild and install the API documentation.
--enable-docbook
: This parameter is
used to build HTML, PDF and PostScript versions of the GStreamer User's Manual, FAQ and Writer's
Guide. Note that you must have all the listed dependencies
installed.
chown -v -R root:root
...: The documentation is installed with the
ownership of the user who untarred and built the package. This
command changes the ownership of the installed documentation files
to root:root, and is only executed if the documentation files were
built and installed.
--libexecdir=/usr/lib
: This option puts
the internal support programs into /usr/lib/gstreamer-0.10
instead of /usr/libexec/gstreamer-0.10.
in accordance with
the old version of the FHS used before LFS-7.5.
Contents
Installed Programs:
gst-feedback, gst-feedback-0.10,
gst-inspect, gst-inspect-0.10, gst-launch, gst-launch-0.10,
gst-typefind, gst-typefind-0.10, gst-xmlinspect,
gst-xmlinspect-0.10, gst-xmllaunch and
gst-xmllaunch-0.10
Installed Libraries:
libgstbase-0.10.so, libgstcheck-0.10.so,
libgstcontroller-0.10.so, libgstdataprotocol-0.10.so,
libgstnet-0.10.so and libgstreamer-0.10.so
Installed Directories:
/usr/include/gstreamer-0.10,
/usr/lib/gstreamer-0.10, /usr/libexec/gstreamer-0.10,
/usr/share/gtk-doc/html/gstreamer-0.10,
/usr/share/gtk-doc/html/gstreamer-libs-0.10 and
/usr/share/gtk-doc/html/gstreamer-plugins-0.10
Short Descriptions
gst-feedback-0.10
|
generates debug info for GStreamer bug reports.
|
gst-inspect-0.10
|
prints information about a GStreamer plugin or element.
|
gst-launch-0.10
|
is a tool that builds and runs basic GStreamer pipelines.
|
gst-typefind-0.10
|
uses the GStreamer type
finding system to determine the relevant GStreamer plugin to parse or decode
a file, and determine the corresponding MIME type.
|
gst-xmlinspect-0.10
|
prints information about a GStreamer plugin or element in XML
document format.
|
gst-xmllaunch-0.10
|
is used to build and run a basic GStreamer pipeline, loading it from
an XML description.
|
Last updated on 2014-03-03 19:06:31 -0800