As a follow-up to my post on ISC DHCP and omapd integration I've put together this post which contains instructions on getting the latest SVN versions of omapd to build.
For Ubuntu 10.04 (Lucid Lynx) the process is pretty straight forward:
* Install Lucid Lynx
* sudo apt-get install subversion
* sudo apt-get install g++
* sudo apt-get install libqt4-dev
* svn checkout http://omapd.googlecode.com/svn/trunk omapd
* cd omapd
* ./certgen.sh
* qmake
* make
* ./omapd
That's it.
For older versions of Ubuntu you'll need to build Qt from scratch, so it's a bit more involved but I'll update this post later for Karmic Koala users. You need Qt 4.6.2 at a minimum to build the latest omapd sources.
2010-05-19
Subscribe to:
Post Comments (Atom)
4 comments:
If anyone is using Debian Lenny, you'll need to tweak your /etc/apt/sources to include unstable (sid) in order to get a libqt4-dev package set that will let you build omapd 0.3.2 (which updates your libc6... gulp! :-) ). Seems to work though, as does the Perl script given here - thanks!
I've built qt4.6 successfully on 8.04, but I can get omapd to compile. The main problem is omapd's Makefile paths can't find the new build which installs in a Trolltech directory.
My path mods are not working. Perhaps it would be easier to use Jimll's suggestion.
Can you post your sources.list tweak? I can't find the package.
If you're trying to use qt on an older version of Ubuntu such as 8.04, you may need to set your QTDIR environment variable before you can use it to compile the sources.
Your Qt binaries should be in /usr/local/Trolltech//bin or some such if you used the defaults. Just add that to the path with something like PATH=/usr/local/Trolltech//bin:$PATH and you should be good to go. Make sure you substitute with the correct version.
If you're sketchy on updating your libc6 you can always build the latest Qt sources from source, and use the above instructions to set QTDIR to get the proper binaries to work for you.
Make sure to export QTDIR=/usr/local/Trolltech/
Post a Comment