The fix Murphy suggested earlier should work fine and I expect NOX Classic to work on Ubuntu 12.04.
We recommend new users to experiment with the new NOX. As I said in the other thread, I suspect your OVS setup is faulty. We use OVS for our internal testings. Cheers, Amin On Mon, Jul 2, 2012 at 2:16 AM, YIMIN CHEN <[email protected]> wrote: > Hi Murphy, > > Thank you for your reply! > > Is new NOX in a working state? NOX classic works with openvswitch, and > new NOX I installed does not seem to work. What is the state of new > NOX now? > > > Thanks! > Yimin > > On Sun, Jul 1, 2012 at 3:46 PM, Murphy McCauley > <[email protected]> wrote: >> Those instructions are for the new NOX, not NOX-Classic, so... I don't know? >> >> NOX-Classic currently takes a bit of work to build on 12.04, due to... I >> think new versions of autoconf and swig and possibly other packages... >> >> -- Murphy >> >> On Jul 1, 2012, at 12:40 AM, YIMIN CHEN wrote: >> >>> Hi Murphy, >>> >>> I found the following instructions on google, and installed all >>> related packages, which seem to solve the issue. Would you please >>> verify?: >>> >>> http://networkstatic.net/2012/05/nox-openflow-controller-install-on-ubuntu-12-04-precise-lts/ >>> >>> The instructions: >>> ------------------------------------------------ >>> $ cd /etc/apt/sources.list.d/ >>> $ wget http://openflowswitch.org/downloads/debian/nox.list >>> $ apt-get update >>> $ apt-get install nox-dependencies >>> >>> Install dependencies: >>> $ apt-get install nox-dependencies >>> $ apt-get install libtbb-dev >>> $ apt-get install libboost-serialization-dev libboost-all-dev >>> $ git clone git://github.com/noxrepo/nox >>> >>> $ ./boot.sh <========= now this part works for me. So I guess it >>> was my ubuntu install was missing some nox-dependencies. >>> $cd nox >>> $ mkdir build >>> $ cd build >>> >>> Configure, make && make install >>> $ ../configure >>> $ make >>> $ make install >>> >>> ----------------------------------------------- >>> >>> Thanks! >>> Yimin >>> On Sun, Jul 1, 2012 at 3:07 PM, Murphy McCauley >>> <[email protected]> wrote: >>>> In src/Make.vars around like 56, you will find: >>>> pkglib_SCRIPTS = $(NOX_RUNTIMEFILES) $(NOX_PYBUILDFILES) >>>> >>>> Try changing this to: >>>> pkgdata_SCRIPTS = $(NOX_RUNTIMEFILES) $(NOX_PYBUILDFILES) >>>> >>>> This may or may not fix things -- I can't check at the moment. :) Let us >>>> know how it goes... >>>> >>>> -- Murphy >>>> >>>> On Jun 30, 2012, at 9:43 PM, YIMIN CHEN wrote: >>>> >>>>> Hi Murphy, >>>>> >>>>> ./boot.sh failed. The following is only the last part of the output: >>>>> >>>>> src/nox/webapps/webserver/../../../Make.vars:56: `pkglibdir' is not a >>>>> legitimate directory for `SCRIPTS' >>>>> src/nox/webapps/webserver/Makefile.am:1: >>>>> `src/nox/webapps/webserver/../../../Make.vars' included from here >>>>> src/nox/webapps/webservice/../../../Make.vars:56: `pkglibdir' is not a >>>>> legitimate directory for `SCRIPTS' >>>>> src/nox/webapps/webservice/Makefile.am:1: >>>>> `src/nox/webapps/webservice/../../../Make.vars' included from here >>>>> src/nox/webapps/webserviceclient/../../../Make.vars:56: `pkglibdir' is >>>>> not a legitimate directory for `SCRIPTS' >>>>> src/nox/webapps/webserviceclient/Makefile.am:1: >>>>> `src/nox/webapps/webserviceclient/../../../Make.vars' included from >>>>> here >>>>> src/nox/webapps/webserviceclient/t/../../../../Make.vars:56: >>>>> `pkglibdir' is not a legitimate directory for `SCRIPTS' >>>>> src/nox/webapps/webserviceclient/t/Makefile.am:1: >>>>> `src/nox/webapps/webserviceclient/t/../../../../Make.vars' included >>>>> from here >>>>> src/tests/../Make.vars:56: `pkglibdir' is not a legitimate directory >>>>> for `SCRIPTS' >>>>> src/tests/Makefile.am:1: `src/tests/../Make.vars' included from here >>>>> src/utilities/../Make.vars:56: `pkglibdir' is not a legitimate >>>>> directory for `SCRIPTS' >>>>> >>>>> src/utilities/Makefile.am:1: `src/utilities/../Make.vars' included from >>>>> here >>>>> autoreconf: automake failed with exit status: 1 >>>>> >>>>> I didn't continue build NOX, and boot.sh seems to fail running. >>>>> >>>>> Thanks! >>>>> Yimin >>>>> >>>>> >>>>> On Sun, Jul 1, 2012 at 12:03 PM, Murphy McCauley >>>>> <[email protected]> wrote: >>>>>> Are you getting any errors, or just warnings? Have you tried building >>>>>> NOX after running boot.sh and seeing how that goes? >>>>>> >>>>>> -- Murphy >>>>>> >>>>>> On Jun 30, 2012, at 8:00 PM, YIMIN CHEN wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I am working on installing nox classic on ubuntu 12.04LTS, and getting >>>>>>> the following errors about autoconf: >>>>>>> >>>>>>> ------------------------------------------------------------------------------------------------------------------------------------- >>>>>>> ymchen@ymchen-lnx:~/nox$ ./boot.sh >>>>>>> building with all apps >>>>>>> Disabling noxext... >>>>>>> configure.ac:33: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call >>>>>>> detected in body >>>>>>> ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... >>>>>>> ../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded >>>>>>> from... >>>>>>> ../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded >>>>>>> from... >>>>>>> ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from... >>>>>>> ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from... >>>>>>> ../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from... >>>>>>> /home/ymchen/nox/config/ax_boost_filesystem.m4:34: AX_BOOST_FILESYSTEM >>>>>>> is expanded from... >>>>>>> configure.ac:33: the top level >>>>>>> configure.ac:108: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call >>>>>>> detected in body >>>>>>> >>>>>>> ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... >>>>>>> ../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded >>>>>>> from... >>>>>>> ../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded >>>>>>> from... >>>>>>> ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from... >>>>>>> ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from... >>>>>>> ../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from... >>>>>>> >>>>>>> aclocal.m4:1616: AX_BOOST_FILESYSTEM is expanded from... >>>>>>> ------------------------------------------------------------------------------------------------------------------------------------- >>>>>>> >>>>>>> >>>>>>> I googled for this error and found one reason being autoconf version >>>>>>> has to be 2.68. On my system, autoconf version is already 2.68. >>>>>>> >>>>>>> -------------------------------------------------------------------------------------------- >>>>>>> ymchen@ymchen-lnx:~/nox$ autoconf --version >>>>>>> autoconf (GNU Autoconf) 2.68 >>>>>>> Copyright (C) 2010 Free Software Foundation, Inc. >>>>>>> License GPLv3+/Autoconf: GNU GPL version 3 or later >>>>>>> <http://gnu.org/licenses/gpl.html>, >>>>>>> <http://gnu.org/licenses/exceptions.html> >>>>>>> This is free software: you are free to change and redistribute it. >>>>>>> There is NO WARRANTY, to the extent permitted by law. >>>>>>> >>>>>>> Written by David J. MacKenzie and Akim Demaille. >>>>>>> -------------------------------------------------------------------------------------------- >>>>>>> >>>>>>> Does anyone know what is causing this error? >>>>>>> >>>>>>> >>>>>>> Thanks! >>>>>>> Yimin >>>>>> >>>> >>
