Java 2 Ada

Installation NetBSD

Version 2 by Stephane Carrez

Virtual Machine

  • Avoid running with acpi
  • Choose ne2k_pci network interface type
  • This creates the ne2 interface

http://www.linux-kvm.org/page/Guest_Support_Status

PATH="/usr/sbin:$PATH" PKG_PATH="ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/i386/6.1.2/All"
export PATH PKG_PATH

Packages

pkg_add ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/6.1.2/All/libslang-1.4.9nb7.tgz
pkg_add ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/6.1.2/All/jed-0.99.16nb2.tgz
  1. useradd -m ciceron

Packages to install:

pkg_add -f iperf
pkg_add -f jed
pkg_add -f bash
pkg_add -f sudo
pkg_add -f tcpdump
pkg_add -f gdbada
pkg_add -f subversion

pkg_add -f gmake

poseidon# export PKG_PATH=ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/6.1.2/All
poseidon# pkg_add -f gdbada
pkg_add: Warning: package `gdbada-6.3nb3' was built with a newer pkg_install version
gdbada-6.3nb3: registering info file /usr/pkg/gdbada/info/annotate.info
gdbada-6.3nb3: registering info file /usr/pkg/gdbada/info/bfd.info
gdbada-6.3nb3: registering info file /usr/pkg/gdbada/info/configure.info
gdbada-6.3nb3: registering info file /usr/pkg/gdbada/info/gdb.info
gdbada-6.3nb3: registering info file /usr/pkg/gdbada/info/gdbint.info
gdbada-6.3nb3: registering info file /usr/pkg/gdbada/info/stabs.info
gdbada-6.3nb3: registering info file /usr/pkg/gdbada/info/standards.info

Ada Installation

pkg_add -f gnat-aux-20130412nb1
pkg_add -f gprbuild-aux-20120510

pkg_add: Warning: package `gnat-aux-20110627' was built with a newer pkg_install version
pkg_add: Warning: package `libiconv-1.14nb2' was built with a newer pkg_install version
libiconv-1.14nb2: copying /usr/pkg/share/examples/libiconv/charset.alias to /usr/pkg/lib/charset.alias

bash-4.2# pkg_add -f binutils
pkg_add: Warning: package `binutils-2.17nb1' was built with a newer pkg_install version
pkg_add: Conflicting PLIST with gnat-aux-20110627: lib/libiberty.a
binutils-2.17nb1: registering info file /usr/pkg/info/as.info
binutils-2.17nb1: registering info file /usr/pkg/info/bfd.info
binutils-2.17nb1: registering info file /usr/pkg/info/binutils.info
binutils-2.17nb1: registering info file /usr/pkg/info/gprof.info
binutils-2.17nb1: registering info file /usr/pkg/info/ld.info

Installation for AWA

pkg_add -f mysql-server-5.6.13 mysql-client-5.6.13nb1 postgresql93-client-9.3.0 postgresql93-server-9.3.0 sqlite3-3.8.0.2

pkg_add -f curl-7.32.0
pkg_add -f autoconf-2.69nb2

Installation for Jenkins

# Jenkins
pkg_add -f openjdk7-bin-20090502


export ADA_PROJECT_PATH=/usr/pkg/lib/gnat
export PATH=/usr/pkg/gcc-aux/bin:$PATH

AWA installation:

pkgin install ImageMagick-6.8.6.9

Installation pkgsrc

Setup /usr/pkgsrc

Get the pkgsrc.tar.gz:

ftp ftp://ftp.NetBSD.org/pub/pkgsrc/pkgsrc-2021Q1/pkgsrc.tar.gz

Exract it in /usr/pkgsrc:

tar -xzf pkgsrc.tar.gz -C /usr

Setup pkgsrc wip

cd /usr/pkgsrc/
git clone git://wip.pkgsrc.org/pkgsrc-wip.git wip