Updated UB 11.10 post here
It is all pretty straight forward except for the default branch is zaku(stable) which has compilation issues. This switches the branch to destiny(unstable).
$wget http://openflowswitch.org/downloads/debian/binary/nox-dependencies.deb
$dpkg –info nox-dependencies.deb $cd /etc/apt/sources.list.d
$sudo wget http://openflowswitch.org/downloads/debian/nox.list
$sudo apt-get update $sudo apt-get install nox-dependencies
$git clone git://noxrepo.org/nox
$cd nox
Make sure you run the destiny branch from within the Nox directory.
$git checkout -b destiny remotes/origin/destiny
To avoid the md5 lib errors I sudoed. The lib was linked but no avail.
$sudo ./boot.sh
$mkdir build
$cd build
$sudo ../configure –with-boost-filesystem=boost_filesystem –with-boost-unit-test-framework=mt LDFLAGS=’-L/usr/include/openssl -lssl -lcrypto’
$sudo make
$cd src
Verify install with:
$./nox_core -h
Some dependencies that may be missed are:
$sudo apt-get install python-mako python-twisted swig libboost-dev
Hi, i’ve been following the procedures above to install NOX. I currently having problem in sudo ../configure part… it says it openssl/md5.h is not found. How do get this? I open synaptic to find it, but i already have openSSL installed. What should i do now? Thank you!
Hi Rebecca,
Sounds like you are still on the ‘Zaku’ branch with dated libraries. Just need to switch to Destiny. I put up a screencast here. http://networkstatic.net/2012/04/22/nox-openflow-controller-installation-screencast/
Cya!
thanks alot!
hi! is me again! now i encounter another problem.
when i enter git checkout -b destiny remotes/origin/destiny, i got this error.
fatal: Not a git repository (or any of the parent directories): .git
what is this error?
Heyas, CD into the directory after you clone to switch the branch. I think I left that out of the install steps on the post.
git clone git://noxrepo.org/nox
cd nox
git checkout -b destiny remotes/origin/destiny
HI, I had follow the step shown above to install the NOX, while i’m installing the NOX until
step: sudo apt-get install nox-dependencies. Following description pop up,
The following packages have unmet dependencies:
nox-dependencies : Depends: python-dev but it is not going to be installed
Depends: python-dev but it is not going to be installed
Depends: libssl-dev but it is not going to be installed
N: Ignoring file ‘nox.list.1’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension
N: Ignoring file ‘nox.list.1’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension
E: Unable to correct problems, you have held broken packages.
and i going to synaptic packet manager to install it individually, but i fail.
So, what should i do next??
looks like you downloaded the list twice. I would rm /etc/apt/sources.list.d/nox.list.1 and then run ‘apt-get update’ and try again.
Hi, after trying to remove the nox.list 1 in source.d file. seem like the file can not be removed. Following description appear again.
root@yikee-Vostro1510:/home/yikee# rm /etc/apt/source.list.d/nox.list.1
rm: cannot remove `/etc/apt/source.list.d/nox.list.1′: No such file or directory.
And i had try to remove it manually in source.list.d folder but there have no delete button for delete the file..
Hi.
I get the following error on running “boot.sh”
aclocal.m4:1739: AX_BOOST_UNIT_TEST_FRAMEWORK is expanded from…
configure.ac:108: the top level
configure.ac:21: error: possibly undefined macro: AC_DISABLE_STATIC
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:22: error: possibly undefined macro: AC_LIBTOOL_DLOPEN
configure.ac:23: error: possibly undefined macro: AC_PROG_LIBTOOL
autoreconf: /usr/bin/autoconf failed with exit status: 1
—
I have aclocal (GNU automake) 1.12, and autoconf (GNU Autoconf) 2.68 installed.
can you please help me to resolve this? Thanks a lot. venkat
Hi, Brent, I have a tricky question.
I am currently a phD student, and my current research project is trying to integrate NOX with our own software.
I try to add some code in the NOX/src/include, but unfortunately, I cannot compile, I already added the file names into directory’s Makefile.am, and sometimes it did compile, more precisely, if I only add one basic file, it did compile, but once I add several files into it, I got error like :
libtool: link: g++ -fno-omit-frame-pointer -fno-strict-aliasing -Wall -Wno-sign-compare -Winit-self -Wformat-nonliteral -Wformat-security -g -O2 -Wl,-E -o .libs/nox_core components.xsd.o nox.xsd.o nox_main.o -Wl,–export-dynamic -L/usr/lib -lboost_unit_test_framework-mt -lboost_filesystem-mt -lssl ./builtin/.libs/libbuiltin.so ./lib/.libs/libnoxcore.so -Wl,-rpath -Wl,/usr/local/bin/builtin -Wl,-rpath -Wl,/usr/local/bin
./builtin/.libs/libbuiltin.so: undefined reference to `vigil::RuleNodeData::RuleNodeData()’
collect2: ld returned 1 exit status
make[4]: *** [nox_core] Error 1
make[4]: Leaving directory `/home/kelvinzou/nox/src’
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/kelvinzou/nox/src’
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/kelvinzou/nox/src’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kelvinzou/nox’
make: *** [all] Error 2
I did make clean, and ./configure before make every time, do you have any idea what is wrong here?
Many thanks!
Brent, i ran into an issue while installing NOX on Linux 11.04. It happens while executing “git clone git://noxrepo.org/nox” . It says connection couldnt be established.
There is no firewall and no ports are blocked anywhere. Please help as its a dead end for me now.