view · edit · print · history

Note that the Debian section on this page has been obsoleted by the "make setup-host-debian" target in the nslu2-linux Master Makefile.

To use the OE build system the following software is required on your system:

Debian instructions

apt-get install python python-dev for Python
apt-get install python-psyco for Python Psyco
apt-get install ccache for ccache
apt-get install patch for GNU patch
apt-get install m4 for GNU m4
apt-get install sed for GNU sed
apt-get install docbook for docbook-utils and sgmltools
apt-get install bison for GNU Bison
apt-get install make for GNU Make
apt-get install libc6-dev for glibc headers
apt-get install cvs for GNU cvs
apt-get install g++ for g++
apt-get install texinfo for makeinfo
apt-get install flex for flex
apt-get install autoconf for autoconf
apt-get install gawk for gawk
apt-get install python2.4 python2.4-dev for Python 2.4
apt-get install unzip for Unzip
apt-get install pkg-config for pkg-config
apt-get install gettext for gettext
apt-get install libglib2.0-dev for glib-genmarshal
apt-get install gcj to compile classpath
apt-get install libtool for libtool
apt-get install automake for automake 1.4
apt-get install automake1.9 for automake 1.9

You need also subversion, bzip2 and BitKeeper! For subversion, you could build & install it from the source or try one of the Debian unstable packages (both found here).

(20040630) On my Debian stable 3.0r1 I have to install the 'stat' command too, or oemake breaks compiling base-files-3.0.14-r9 . Just:

 apt-get install coreutils  

Mandrake Linux instructions

Follow the Debian instructions, only using urpmi instead of apt-get install. Also, ccache is not an official Mandrake package. You can find it in the contrib section of any Mandrake mirror or seach for it using the Mandrake Club RPM database.

FreeBSD instructions

Ports has most of these: python, fileutils, gsed, ccache, jade, docbook, dsssl-docbook-modular, sgmltools

SuSE 9.1 instructions

Install apt4rpm, then follow Debian instructions.

Or download/install the following packages


Gentoo instructions

Most of the development tools (e.g. make, m4) should already be installed by the Gentoo base system. The only needed packages that don't get installed by the base system are psyco, ccache, openjade, cvs, and subversion. Install them with the following:

emerge psyco ccache openjade cvs subversion

You might want to use emerge -p psyco ccache openjade cvs subversion first to verify which of the packages are already installed.

Windows XP instructions

There are two basic approaches on Windows XP: Cygwin and coLinux. I've (bobtm) had limited success with the former, possibly due to lack of RAM, but the latter works. Below is a rough outline on how to do the build with Gentoo on coLinux.

  1. Go to http://www.colinux.org and read through the FAQ to get an idea of how it works.
  2. You have a choice between: The SourceForge stable release 0.6.1 based on kernel 2.4 (http://sourceforge.net/project/showfiles.php?group_id=98788) or CVS development snapshots based on kernel 2.6 either from from colinux.org or those provided by Henry Nestler. I used the second option, but the third also seem to work (I have not completed the build).
  3. Follow the instuctions on http://www.colinux.org/wiki/index.php/GentooCoreImage
  4. Follow the instructions for Gentoo given on this page

Note: You should have at least 768-1024MB of RAM on your computer in order to avoid excess paging - your coLinux memory should be at least 512MB and a swap file should be mounted before building unslung.

Page last modified on July 29, 2005, at 01:38 AM