[Home]Debian Etch Compile LinuxCNC

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org


1. Disabling parallel port module
2. Installing Deb Packages
3. Compiling EMC2
3.1. Getting source
3.2. Compiling
4. Running EMC2

This page describes how to prepare Debian Etch to compile EMC2 and AXIS.

To compile EMC2, you need a RTAI patched kernel and RTAI modules. Install them and boot with RTAI kernel.
See Debian Etch Compile RTAI for more information.

1. Disabling parallel port module

Disable the kernel parallel port module, if you want to use the parallel port through EMC2.

 su -
 echo install parport_pc /bin/true >/etc/modprobe.d/emc2
 rmmod parport_pc

2. Installing Deb Packages

Install the packages as root

apt-get update
apt-get -u upgrade
apt-get install python \
                python-imaging \
                python-imaging-tk \
                python-numarray \
                python-dev \
                python-glade2 \
                tcl8.4-dev \
                tk8.4-dev \
                yapps2 \
                libgtk2.0-dev \
                libpth-dev \
                libreadline5-dev \
                libxmu-dev \
                libxaw7-dev \
                libglu1-mesa \
                libglu1-mesa-dev \
                libgl1-mesa-dev \
                pciutils-dev \
                bwidget \
                git-core \
                latex2html \
                preview-latex-style \
                libaiksaurus-1.2-0c2a \
                libgnomeprintui2.2-dev \
                imagemagick \
                lyx \

latex-xft-fonts package is removed from Debian Etch repository because of the license violation. Therefore, this package name is not in the list.

Because of dependencies the following packages will be installed too

 python			-> blt tk8.4
 python-dev		-> python2.4-dev
 tk8.4-dev		-> libice-dev libsm-dev libx11-dev libxau-dev libxdmcp-dev
			-> libxext-dev libxt-dev x-dev x11proto-core-dev x11proto-input-dev
			-> x11proto-kb-dev x11proto-xext-dev xtrans-dev
 yapps2			-> yapps2-runtime
 libgtk2.0-dev		-> libatk1.0-dev libcairo2-dev libexpat1-dev libfontconfig1-dev
			-> libfreetype6-dev libglib2.0-dev libpango1.0-dev libpng12-dev
			-> libxcursor-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev
			-> libxrandr-dev libxrender-dev pkg-config x11proto-fixes-dev
			-> x11proto-randr-dev x11proto-render-dev x11proto-xinerama-dev zliblg-dev
 libpth-dev		-> libpth20
 libxmu-dev		-> libxmu-headers
 libxaw7-dev		-> libxaw-headers libxpm-dev
 libgl1-mesa-dev	-> libgl1-mesa-dri mesa-common-dev
 latex2html		-> libnetpbm10 libt1-5 netpbm perl-doc tetex-base tetex-bin tetex-extra tex-common
 libaiksaurus-1.2-0c2a	-> libaiksaurus-1.2-data
 libgnomeprintui2.2-dev	-> libxml2-dev libart-2.0-dev libgnomecanvas2-dev libgnomeprint2.2-dev
 imagemagick		-> libmagick9 libjasper-1.701-1
 lyx			-> groff libqt3-mt libtiff-tools lyx-common lyx-qt xdg-utils

3. Compiling EMC2

You don't need to use root account to do the followings.

3.1. Getting source

Follow the instructions from Installing EMC2

3.2. Compiling

 ./configure --enable-run-in-place --enable-build-documentation
 su -c "make setuid" 
if you don't want to build documentation, remove --enable-build-documentation

4. Running EMC2

 source ~/emc2/myplace/scripts/emc-environment

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org
This page is read-only. Follow the BasicSteps to edit pages. | View other revisions
Last edited June 20, 2009 8:28 am by JeffEpler (diff)
Published under a Creative Commons License