Building from source/kenwood

steps needed 2010-08-01 to compile larkspur from source on fresh installed debian lenny (including 64bits): apt-get install git-core

cd /tmp wget http://packages.vyatta.com/vyatta-dev/larkspur/unstable/pool/main/squashfs-tools_4.1+vyatta-1+larkspur1_i386.deb or
 * 1) for 32bits

wget http://packages.vyatta.com/vyatta-dev/larkspur/unstable/pool/main/squashfs-tools_4.1+vyatta-1+larkspur1_amd64.deb dpkg -i squashfs-tools_4* rm squashfs-tools_4*
 * 1) for 64bits

echo "Package: squashfs-tools" >> /etc/apt/preferences echo "Pin: version 4.*">> /etc/apt/preferences echo "Pin-Priority: 1001" >> /etc/apt/preferences
 * 1) In order to "pin" its version we have to add this to /etc/apt/preferences

apt-get update

apt-get install libedit-dev locales libnet0-dev syslinux htmldoc man2html libcurl3-dev libopensc2-dev libldap2-dev libpcap-dev libpci-dev hardening-wrapper
 * 1) setup-build-env didn't install these packages:

cd /usr/src git clone http://git.vyatta.com/build-iso.git cd build-iso ./setup-build-env ./setup-pkg-build
 * 1) less README # to check for more info

git checkout --track -b kenwood origin/kenwood
 * 1) to build kenwood branch:

or

git checkout --track -b larkspur origin/larkspur
 * 1) to build larkspur branch:

autoreconf -i ./configure --with-target-dist=lenny make