From d49db10d78043da858957688d36790f03ec06613 Mon Sep 17 00:00:00 2001 From: ahrenholz Date: Wed, 15 Jul 2009 16:36:05 +0000 Subject: [PATCH] FreeBSD instructions for MGEN --- wiki/MGEN.wiki | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/wiki/MGEN.wiki b/wiki/MGEN.wiki index 56e77c36..751bf5ae 100644 --- a/wiki/MGEN.wiki +++ b/wiki/MGEN.wiki @@ -6,8 +6,28 @@ http://downloads.pf.itd.nrl.navy.mil/mgen/nightly_snapshots/mgen-svnsnap.tgz # Download Protolib source from here: http://downloads.pf.itd.nrl.navy.mil/protolib/nightly_snapshots/protolib-svnsnap.tgz - # - + # Unpack the tarballs; this will create `mgen` and `protolib` directories: +{{{ +> cd ~ +> tar xzf mgen-svnsnap.tgz +> tar xzf protolib-svnsnap.tgz +}}} + # Create a symbolic link to protolib from mgen for building properly (see README.TXT for more information on why you need to do this) +{{{ +> cd mgen +> ln -s ../protolib +}}} + # fix the MGEN makefile; edit the file `~/mgen/makefiles/Makefile.freebsd` and change the line `SYSTEM_LIBS = -lc_r` to `SYSTEM_LIBS = -lpthread` + # Build MGEN +{{{ +> cd ~/mgen/makefiles +> make -f Makefile.freebsd +}}} + # Install it +{{{ +> sudo install -g wheel -o root -m 555 mgen /usr/bin +> sudo install -g wheel -o root -m 555 mpmgr /usr/bin +}}} = Linux =