Thursday, August 15, 2013

gstreamer install setup

GLib-2.36.4

Introduction to GLib

The GLib package contains a low-level libraries useful for providing data structure handling for C, portability wrappers and interfaces for such runtime functionality as an event loop, threads, dynamic loading and an object system.
This package is known to build and work properly using an LFS-7.3 platform.

Package Information

GLib Dependencies

Required

Recommended

Optional

attr-2.4.47, D-Bus-1.6.12 (required to run the tests) and GTK-Doc-1.19

Additional Runtime Dependencies

Quoted directly from the INSTALL file; “Some of the mimetype-related functionality in GIO requires the update-mime-database and update-desktop-database utilities”, which are part of shared-mime-info-1.1 and desktop-file-utils-0.21, respectively.

Installation of GLib

Install GLib by running the following commands:
 
touch -t 201306082300 gtk-doc.make           && 
 
./configure --prefix=/usr --with-pcre=system && 
 
make

The GLib test suite requires desktop-file-utils in order to run. However, desktop-file-utils requires GLib in order to compile; therefore, you must first install GLib and then run the test suite.
Now, as the root user:
 
make install


ref

http://www.linuxfromscratch.org/blfs/view/svn/general/glib2.html


-------------------------------------------------------------------------------------------------------------------------------

Python-2.7.5
First install some dependencies:
sudo apt-get install build-essential

sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev 


Then download using the following command:
 
cd ~/Downloads/
wget http://python.org/ftp/python/2.7.5/Python-2.7.5.tgz

Extract and go to the dirctory:
tar -xvf Python-2.7.5.tgz
cd Python-2.7.5

Now, install using the command you just tried:
 
./configure
make
sudo make altinstall
 
ref
http://askubuntu.com/questions/101591/how-do-i-install-python-2-7-2-on-ubuntu 


--------------------------------------------------------------------------------------------

Introduction to pkg-config

The pkg-config package contains a tool for passing the include path and/or library paths to build tools during the configure and make file execution.
This package is known to build and work properly using an LFS-7.3 platform.
[Note]

Note

Pkg-config is part of LFS, but was omitted from the 7.0 and 7.1 releases. If you are using a system which includes it, there is nothing more to do. If not, you should follow these instructions.

Package Information

Installation of pkg-config

Install pkg-config by running the following commands:
 
./configure --prefix=/usr \
            --docdir=/usr/share/doc/pkg-config-0.28 \
            --with-internal-glib \
            --disable-host-tool &&
make

To test the results, issue: make check.
Now, as the root user:
 
make install

http://www.linuxfromscratch.org/blfs/view/svn/general/pkgconfig.html

-----------------------------------------------------------

Introduction to libffi

The libffi library provides a portable, high level programming interface to various calling conventions. This allows a programmer to call any function specified by a call interface description at run time.
This package is known to build and work properly using an LFS-7.3 platform.

Package Information

Additional Downloads

libffi Dependencies

Optional

DejaGnu-1.5.1 (required to run the testsuite)

Installation of libffi

Install libffi by running the following commands:
patch -Np1 -i ../libffi-3.0.13-includedir-1.patch && 
 
./configure --prefix=/usr --disable-static &&
make

To test the results, issue: make check.
Now, as the root user:
 
make install 
 
---------------------------------------------------------------------------------

PCRE-8.33

Introduction to PCRE

The PCRE package contains Perl Compatible Regular Expression libraries. These are useful for implementing regular expression pattern matching using the same syntax and semantics as Perl 5.
This package is known to build and work properly using an LFS-7.3 platform.

Package Information

PCRE Dependencies

Optional

Installation of PCRE

Install PCRE by running the following commands:
./configure --prefix=/usr                     \
            --docdir=/usr/share/doc/pcre-8.33 \
            --enable-utf                      \
            --enable-unicode-properties       \
            --enable-pcregrep-libz            \
            --enable-pcregrep-libbz2          \
            --enable-pcretest-libreadline     \
            --disable-static                 &&
make
To test the results, issue: make check.
Now, as the root user:
make install                     &&
mv -v /usr/lib/libpcre.so.* /lib &&
ln -sfv ../../lib/libpcre.so.1.2.1 /usr/lib/libpcre.so

 
______________________________________________________________________________ 
 

libxml2-2.9.1

Introduction to libxml2

The libxml2 package contains libraries and utilities used for parsing XML files.
This package is known to build and work properly using an LFS-7.3 platform.

Package Information

Additional Downloads

libxml2 Dependencies

Recommended

[Note]

Note

Some packages which utilize libxml2 (such as GNOME Doc Utils) need the Python module installed to function properly and some packages (such as MesaLib) will not build properly if the Python module is not available.

Installation of libxml2

If you downloaded the testsuite, issue the following command:
tar xf ../xmlts20080827.tar.gz
Install libxml2 by running the following commands:
 
./configure --prefix=/usr --disable-static --with-history &&
make

To test the results, issue: make check.
Now, as the root user:
 
make install

1 comment: