Build Moblin Package Creator from source

The following steps show how to build and install Moblin Package Creator Packages from source code. It is not necessary for the developer to do these steps if they follow the steps in Moblin Pacakge Creator project page . The information is provided here in case it is helpful.

$ git clone git://git.moblin.org/moblin-package-creator.git
$ wget http://moblin.org/sites/all/files/dpkg-1.14.4-3.82.src.rpm
$ wget  http://moblin.org/sites/all/files/dh-make_0.46.tar.gz

Dependencies
The following libraries must be installed to build the source: gtk+-2.0 >= 2.8, libglade-2.0>=2.4.0, dh-make, dpkg

$ sudo apt-get install libglade2-dev  (Ubuntu)
or
$ sudo yum install libglade2-devel  (Fedora)

Build and install "checkinstall"

$ cd moblin-package-creator/checkinstall
$ make
$ make install

Build and install Moblin Package Creator

$ cd moblin-packge-creator
$ ./autogen.sh
$ make
$ sudo make install

(Fedora Only) Build and install "dpkg"

$ rpmbuild --rebuild dpkg-1.14.4-3.82.src.rpm

(Fedora Only) Build "dh-make"

This is a little more complex and requires access to an Ubuntu system.

# On Ubuntu system:
$ tar zxvf  dh-make_0.46.tar.gz
$ cd dh-make_0.46
$ dpkg-buildpackage -rfakeroot
$ cd ..
$ mkdir tmp
$ cd tmp
$ alien ../dh-make_0.46_all.deb

Copy the generated dh-make-0.46-2.noarch.rpm to your Fedora machine and install it.

Update ldconfig
You will also need to make sure that /usr/local/lib is part of the link path for the OS:

$ sudo ldconfig /usr/local/lib