All pastes #281429 Raw Edit

Someone

public text v1 · immutable
#281429 ·published 2006-12-16 20:13 UTC
rendered paste body
# Install unbuntu on VM
# Get the latest versions of about 200 packages:
apt-get update
# Update manager will run, tell it to get all updates
# Install VMware tools per manual
# Select 1300x900 resolution (may need to edit xorg.conf)
apt-get install cvs
apt-get install openssh-server

# get the key for the linuxcnc breezy repository
gpg --keyserver pgpkeys.mit.edu --recv-key BC92B87F
gpg -a --export BC92B87F | sudo apt-key add -

# get build dependencies
# Add the following lines to /etc/apt/sources.list
deb http://www.linuxcnc.org/emc2/ breezy emc2
deb-src http://www.linuxcnc.org/emc2/ breezy emc2

# then do:
apt-get update
apt-get build-dep emc2

# Note: the list of dependencies installed by the
# build-deps as follows:
build-essential cpp-3.4 debconf-utils debhelper dpkg-dev
g++ g++-4.0 gcc-3.4 gcc-3.4-base gettext html2text
intltool-debian libc6-dev libglib1.2 libglib1.2-dev
libgtk1.2 libgtk1.2-common libgtk1.2-dev libice-dev
libsm-dev libstdc++6-4.0-dev libx11-dev libxau-dev 
libxext-dev libxi-dev libxt-dev make pciutils-dev 
po-debconf tcl8.4-dev tk8.4-dev x-dev x11proto-core-dev
x11proto-input-dev x11proto-kb-dev x11proto-xext-dev
linux-kernel-headers
# the magma headers aren't really needed for a sim only build
apt-get remove linux-headers-2.6.12-magma

# more dependencies for axis (see note below)
apt-get build-dep emc2-axis
# I actually didn't do the build-dep line, because it would
# get some more kernel and rtai stuff that isn't needed for
# sim - the list of packages I installed at this step is as 
# follows:
bwidget libgl1-mesa-dev libglu1-mesa-dev
libxmu-dev libxmu-headers python2.4-dev 
x11proto-gl-dev

# we want GTK-2 for classicladder
apt-get install libgtk2.0-dev

# a few more dependencies, not in the packages yet:
apt-get install libreadline5-dev
apt-get install libncurses5-dev
apt-get install yapps2

# get a checkout to test with
mkdir emcdev
cd emcdev
cvs -z5 -d:ext:anon@linuxcnc.org:/cvs co -d emc2head emc2

# do a test compile
cd emc2head/src
./configure --enable-run-in-place --enable-simulator --disable-build-documentation
make clean
make

#