NSLU2-Linux
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

 bison-1.875-51.i586.rpm
 blt-2.4z-200.i586.rpm
 ccache-2.3-83.i586.rpm
 cvs-1.11.14-20.i586.rpm
 docbook2x-0.8.2-38.i586.rpm
 libapr0-2.0.49-23.i586.rpm
 neon-0.24.4-66.i586.rpm
 openjade-1.3.2-208.i586.rpm
 opensp-1.5.1-76.i586.rpm
 perl-HTML-Parser-3.35-31.i586.rpm
 perl-HTML-Tagset-3.03-550.i586.rpm
 perl-libwww-perl-5.76-30.i586.rpm
 perl-libxml-perl-0.07-478.i586.rpm
 perl-URI-1.30-29.i586.rpm
 perl-XML-DOM-1.43-28.i586.rpm
 perl-XML-RegExp-0.03-475.i586.rpm
 python-devel-2.3.3-85.i586.rpm
 python-tk-2.3.3-85.i586.rpm
 sgml-skel-0.6-259.noarch.rpm
 sgmltool-1.0.9-908.i586.rpm
 subversion-1.0.0-51.i586.rpm
 texinfo-4.6-61.i586.rpm
 tidy-020428-259.i586.rpm

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 08:38 AM