Last active
August 29, 2015 14:03
-
-
Save machinekoder/9c1c0a0df2f865e878a8 to your computer and use it in GitHub Desktop.
Installks the latest Machinekit Machinetalk previe on Debina wheezy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo sh -c "echo '# Machinekit package archive tracking the master branch\n# From the Dovetail Automata LLC Buildbot\ndeb http://deb.dovetail-automata.com wheezy main\ndeb-src http://deb.dovetail-automata.com wheezy main' >> /etc/apt/sources.list.d/machinekit.list" | |
sudo sh -c "echo '# Machinekit needs a recent cython from wheezy-backports:\ndeb http://ftp.us.debian.org/debian wheezy-backports main' >> /etc/apt/sources.list.d/wheezy-backports.list" | |
sudo sed -i '/cdrom/d' /etc/apt/sources.list | |
sudo apt-get update | |
sudo apt-get install automake1.11 libtool liburiparser-dev libssl-dev openssl python-setuptools libusb-1.0-0-dev libudev-dev uuid-dev uuid-runtime libavahi-client-dev libavahi-compat-libdnssd-dev avahi-daemon libprotobuf-dev protobuf-compiler python-protobuf libprotoc-dev uuid-runtime python-avahi python-netifaces libxenomai-dev | |
sudo apt-get install libmodbus-dev libsodium-dev libzmq4-dev libczmq-dev libjansson-dev libwebsockets-dev python-zmq liburiparser-dev | |
sudo apt-get install -t wheezy-backports cython | |
sudo apt-get install git build-essential libglib2.0-dev libgtk2.0-dev tcl8.5-dev tk8.5-dev bwidget libreadline6-dev python-tk libboost-python-dev mesa-common-dev libglu1-mesa-dev libxmu-headers libxaw7-dev | |
git clone https://github.com/strahlex/machinekit-1 machinekit | |
cd machinekit | |
git checkout github-mah/machinekit-preview-2 | |
cd src | |
./autogen.sh | |
./configure | |
make -j 6 | |
sudo make setuid | |
sh -c "echo 'if [ -f ~/machinekit/scripts/rip-environment ]; then\n \ | |
. ~/machinekit/scripts/rip-environment\n \ | |
echo \"Environment set up for running Machinekit and LinuxCNC\"\n \ | |
fi' >> ~/.bashrc" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks a lot, this fixed my build environment. I only had to add 'libtk-img' to the list of installed packages because otherwise axis wouldn't start!
-- Bas