Mcbuilder

From Bashlinux
Jump to: navigation, search

How to build mcbuilder for Make Controller on Linux

Instructions are for Fedora 14 up to Fedora 16

  • Install dependencies
yum install dbus-devel
  • Get the source
svn co http://makecontroller.googlecode.com/svn/mcbuilder/trunk mcbuilder
  • CD into the source
cd mcbuilder
  • Update mercurial entries for future pull, edit ~/.hgrc and add
[trusted]
users = storage
groups = staff
They must match the user/group where qextserialport sources are being downloaded
  • Replace qextserialport
cd src
mv qextserialport qextserialport-orig
git clone https://github.com/qextserialport/qextserialport.git
  • Go to the root folder of mcbuilder
cd ../../
  • Patch the project file. This is because libhal is no longer supported since Fedora 16, and some sources have been renamed.
Mcbuilder.pro.no_hal.patch
  • Create the Makefile and build the code
qmake-qt4
make
  • Run
./mcbuilder