Skip to content

NeXTStep Software Ports

Robert Brown edited this page Aug 11, 2020 · 16 revisions

Porting Software to NeXTStep

This is the order in which I compile, patch, and install software on a NeXTStep 3.3 installation. Since the OS has a maximum of a 2GB partition size (and I'm using a SCSI2SD for my drive), I have a series of 2GB partitions mounted as /storage1, /storage2, and so forth. In my case I install all compiled software to /storage2/opt as an installation path to avoid cluttering up the primary filesystem and running out of space.

This assumes that NeXTStep user and developer are installed with all available patches.

  1. Add /storage2/opt/bin to /.cshrc

  2. Compile uname from this repository.

    • Edit the Makefile to change DESTDIR to something, in my case /storage2/opt
    • make ; make install
    • Test that it works via uname -a
  3. sed 3.02

    • configure --prefix=/storage2/opt
    • make install
  4. fileutils 3.16

    • configure --prefix=/storage2/opt
    • make install
  5. make 3.76

    • configure --prefix=/storage2/opt
    • make install
  6. m4 1.4.1

    • configure --prefix=/storage2/opt
    • make install
  7. textutils 1.22

    • ./configure --prefix=/storage2/opt
    • make install
  8. bash 2.03

    • ./configure --prefix=/storage2/opt
    • make install
  9. grep 2.3

    • ./configure --prefix=/storage2/opt
    • make install
  10. perl 5.005_04

    • <for OpenStep i386, edit hints/next_4.sh and uncomment the line starting with 'optimize', and add the line archs='i386'>
    • ./Configure -Dprefix=’/storage2/opt’ (default answers)
    • make; make test
    • make install
  11. autoconf 2.53

    • configure --prefix=/storage2/opt
    • make install
  12. gawk 3.0.6

    • configure --prefix=/storage2/opt
    • make install
  13. termcap 1.3.1

    • configure --prefix=/storage2/opt
    • make install
  14. automake 1.4-p6

    • configure --prefix=/storage2/opt
    • make install
  15. openssl 0.9.6m

    • ./config --prefix=/storage2/opt –openssldir=/storage2/opt/openssl
    • make install
  16. patch 2.5.9

    • configure --prefix=/storage2/opt
    • make install
  17. bash 2.05b (patched with all available)

    • patch -p0 < ../bash205b-001 (run each time for 001 through 013)
    • bash ./configure --prefix=/storage2/opt
    • make install
  18. libiconv 1.6.1

    • configure --prefix=/storage2/opt
    • make install
  19. m4 1.4.4

    • configure --prefix=/storage2/opt
    • make install
  20. zlib 1.2.8

    • configure --prefix=/storage2/opt
    • make install
  21. bison 1.875

    • ./configure --prefix=/storage2/opt
    • make install
  22. flex 2.5.4a

    • configure --prefix=/storage2/opt
    • make install
  23. findutils 4.1 (not one of the dot releases)

    • configure --prefix=/storage2/opt
    • make install
  24. wget 1.4.5

    • configure --prefix=/storage2/opt
    • make install
  25. pcre 3.4

    • configure --build=next --prefix=/storage2/opt
    • make install
  26. sh-utils 1.16

    • configure --prefix=/storage2/opt
    • make install
  27. libtool 1.3.5

    • configure --prefix=/storage2/opt
    • make install
  28. openssh 3.4p1

    • configure --prefix=/storage2/opt --with-zlib=/storage2/opt --sysconfdir=/etc/ssh --with-md5-passwords --with-privsep-path=/var/empty --with-privsep-user=sshd --with-ipv4-default --without-shadow
    • make install
  29. screen 3.7.6

    • configure --prefix=/storage2/opt
    • make install
    • cp ./etc/etcscreenrc /storage2/opt/etc/screenrc
    • cat ./terminfo/screencap >> /etc/termcap
  30. gcc 2.8.1

    • configure --prefix=/storage2/opt --enable-languages='c,objc,c++,f77' --disable-shared --disable-threads --enable-cpp
    • make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap
    • make install
  31. gettext 0.10.37

    • configure --prefix=/storage2/opt
    • make install
  32. gcc 2.95.3 (with patch from this github repo)

    • patch -p1 < ../gcc-2.95.3.next.patch
    • configure --prefix=/storage2/opt --enable-languages='c,objc,c++,f77' --disable-shared --disable-threads --enable-cpp
    • make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap
    • make install
    • cd /storage2/opt/lib/gcc-lib/m68k-next-nextstep3/2.95.3
    • patch -p0 < /storage2/src/gcc.2.95.3.specs.patch
  33. glib 1.2.10

    • bash ./configure --prefix=/storage2/opt
    • make install
  34. make 3.80

    • bash ./configure --prefix=/storage2/opt
    • make install
  35. sed 4.1

    • bash ./configure --prefix=/storage2/opt
    • make install
  36. pkgconfig 0.3.0

    • bash ./configure --prefix=/storage2/opt
    • make install
  37. unzip 5.52

    • cp unix/Makefile .
    • vi Makefile (change prefix to /storage2/opt)
    • make next3x
Clone this wiki locally