Ubuntu-7.04 Source Install

From MythTV Official Wiki
Revision as of 01:04, 19 August 2009 by NigelPearson (talk | contribs) (Qt 4.4 stuff)

Jump to: navigation, search

Nigel had to do some test builds on LinuxPPC, and thus had to install Linux on one of his G4 PowerBooks. That step was hard enough(1) but then finding out the names of the extra required packages was a bit of a challenge. Hopefully this will save someone a few hours of trial and error:

sudo apt-get install mysql-client
sudo apt-get install qt3-dev-tools
sudo apt-get install libqt3-mt-mysql
sudo apt-get install libqt3-mt-dev
sudo ln -s /usr/lib/libqt-mt.so.3 /usr/lib/libqt-mt.so

sudo apt-get install g++
sudo apt-get install libfreetype6
sudo apt-get install libfreetype6-dev

sudo apt-get install liblame0
sudo ln -s /usr/lib/libmp3lame.so.0.0.0 /usr/lib/libmp3lame.so
sudo apt-get install liblame-dev

sudo apt-get install libxv-dev
sudo apt-get install libxxf86vm-dev
sudo ln -s /usr/lib/libX11.so.6     /usr/lib/libX11.so
sudo ln -s /usr/lib/libXext.so.6    /usr/lib/libXext.so
sudo ln -s /usr/lib/libXv.so.1      /usr/lib/libXv.so
sudo ln -s /usr/lib/libXxf86vm.so.1 /usr/lib/libXxf86vm.so

sudo apt-get install subversion

svn co http://svn.mythtv.org/svn/trunk/mythtv
cd mythtv

./configure --enable-proc-opt
# ignore these lines: "cat: /etc/ld.so.conf.d/*.conf: No such file or directory"
make

For a SVN trunk build, I also had to install Qt 4.4 and do these commands before the configure:

QTDIR=/home/nigel/qt-x11-opensource-src-4.4.1
QMAKESPEC=${QTDIR}/mkspecs/linux-g++
PATH=${QTDIR}/bin:${PATH}
export QTDIR QMAKESPEC PATH

1. Ubuntu 7.04 powerpc isn't in the official repositories, Nigel had to BitTorrent it. Google for the file ubuntu-7.04-desktop-powerpc.iso.torrent