Difference between revisions of "FreeBSD"

From MythTV Official Wiki
Jump to: navigation, search
Line 12: Line 12:
  
 
3) Install the pre-requisites; lame and qt:  
 
3) Install the pre-requisites; lame and qt:  
<pre>cd /usr/ports/databases/qt4-mysql-plugin
+
<pre>cd /usr/ports/audio/lame
 
sudo make install
 
sudo make install
cd /usr/ports/...
+
cd /usr/ports/devel/qt4-corelib
</pre>
+
sudo make install
 +
...
 +
cd /usr/ports/databases/qt4-mysql-plugin
 +
sudo make install</pre>
 +
 
 +
4) Install subversion:
 +
<pre>cd /usr/ports/devel/subversion
 +
sudo make install</pre>
 +
(I also exited ~/.subversion/servers and added a proxy)
  
4) Install subversion and use it to download the source code:
+
5) Download the source code, configure, make:
 +
<pre>svn co http://svn.mythtv.org/svn/trunk/mythtv mythtv
 +
cd mythtv
 +
./configure --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib
 +
make
 +
sudo make install</pre>

Revision as of 10:06, 3 August 2009

On the Operating system page, there are links to other peoples' pages about running/installing MythTV on freeBSD, but as far as Nigel can tell, they are for MythTV-0.21 and don't help with Qt4, or MythTV trunk. These steps should help anyone on FreeBSD 7.2.

1) I am behind a proxy server, so as root I edited /etc/make.conf and added a line like:

FETCH_ENV= HTTP_PROXY=http://149.135.128.10:8080

2) Install sudo, because I try to only do the minimum number of commands as root. As root, do:

cd /usr/ports/security/sudo
make install
rehash
visudo

and add a user privilege specification for yourself. I just copied the root ALL one.

3) Install the pre-requisites; lame and qt:

cd /usr/ports/audio/lame
sudo make install
cd /usr/ports/devel/qt4-corelib
sudo make install
...
cd /usr/ports/databases/qt4-mysql-plugin
sudo make install

4) Install subversion:

cd /usr/ports/devel/subversion
sudo make install

(I also exited ~/.subversion/servers and added a proxy)

5) Download the source code, configure, make:

svn co http://svn.mythtv.org/svn/trunk/mythtv mythtv
cd mythtv
./configure --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib
make
sudo make install