Rebuilding python-axis package

Back to Hints & Tips

The following instructions are based on ones given in a private communication with Matt Timmermans

On a vanilla bdi-4.46 system with the install cdrom in the drive, the following steps successfully creates the 'python-axis' and 'python2.3-axis' debian packages:

sudo apt-cdrom add
sudo apt-get update
sudo apt-get upgrade

The upgrade option is only required if you want to automatically install all the latest updated packages.

sudo apt-get install fakeroot build-essential

Depending on the kernel installed, select ONE of the following.

sudo apt-get install rtai-dev-2.6.10-adeos
sudo apt-get install rtai-dev-2.6.12-magma
sudo apt-get install rtai-dev-2.6.12.6-rtai
sudo apt-get install rtai-dev-2.6.16-rtai
sudo apt-get install rtai-dev-2.6.16.18-rtai
sudo apt-get install rtai-dev-2.6.16.20-rtai

Finally,

sudo apt-get build-dep emc python-axis
apt-get source emc python-axis

cp -R emc-1.0/src /usr/local/emc/src
cd /usr/local/emc/src
./configure && make

cd python-axis-1.2.1
dpkg-buildpackage -rfakeroot -uc -us

Back to Hints & Tips

Home