How to install ktechlab?

Compiling and Installing the latest ktechlab on Ubuntu 11.10+

This will get the latest, KDE4-port-in-progress ktechlab installed on Ubuntu 11.10 (and probably 12.04). Getting it to work may be a different story since I'm not familiar with the software. This assumes you are at the top-level of your home directory:

sudo apt-get install git kdelibs5-dev kdevplatform-dev qt4-dev-tools cmake libglib2.0-dev
mkdir git-ktechlab && cd git-ktechlab
git clone git://github.com/ktechlab/ktechlab.git
cd ktechlab
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/usr/local/
make
sudo make install
kbuildsycoca4 &> /dev/null
update-mime-database /usr/share/mime
 

And then run with ktechlab. Note that it segfaults for me when clicking "New" but appears to open existing projects successfully.


Alternately, short of setting up a virtual machine running Lucid, the other option may be to create a Lucid chroot, bind your home directory to it and set the X display appropriately so that ktechlab 0.3.x is running "natively" on your 11.10 display.


Somewhat off-topic: I've never used ktechlab, but have quite a bit of experience with embedded programming, in particular PICs; but most of it was using MPLAB (and a little gpsim) along with the ICD2 (in-circuit debugger) instead of a simulator. Perhaps an ICD might work for your purposes?


Ubuntu 64bits 12.04 With this script you can solved it:

http://elpuig.xeill.net/Members/rborrell/ktechlab-in-ubuntu