This is a bug in 0.5 which has been fixed in 0.6. From your config.log, it looks like you're trying to build 0.5
(nox configure 0.5.0~full~beta).

I would recommend building against 0.6. If, for some reason you're not able to, you can try copying over the xml-util.cc file from 0.6 to your source tree and let us know if that works.

.martin
Dear Sir or Madam,

Recently, I'm setting environment for openflow switches. But I have encountered some trouble when I install the NOX as follows:

My software environment: Linux Ubuntu 9.10
Xerces C++  parser 3.1.0
Twisted 9.0.0
Mako 0.2.5
Boost C++ lib 1.41.0
Python 2.5
Swig 1.3.40

I have done some things successfully shown below:


git clone git://noxrepo.org/nox
cd nox
*autoreconf --install --force*
*mkdir build
cd build/
../configure --with-python=yes --enable-ndebug

*
However, when I try "make", I get the following error:
...
...
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../src/lib -I../.. -DPKGDATADIR=\"/usr/local/share/nox\" -DPKGLIBDIR=\"/usr/local/bin/lib\" -DPKGLOCALSTATEDIR=\"/usr/local/var/nox\" -DPKGSYSCONFDIR=\"/usr/local/etc/nox\" -include ../../config.h -I ../../../src/include -I../../../src/include/openflow -I/usr/include -D_GNU_SOURCE=1 -g -DNDEBUG -D_REENTRANT -D__STDC_LIMIT_MACROS=1 -D__STDC_FORMAT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -I/usr/local/include/python2.6 -I../../../src/include/openflow -I../../../src/nox -fno-omit-frame-pointer -Wall -Wno-sign-compare -Winit-self -Wformat-nonliteral -Wformat-security -g -O2 -MT xml-util.lo -MD -MP -MF .deps/xml-util.Tpo -c ../../../src/lib/xml-util.cc -fPIC -DPIC -o .libs/xml-util.o ../../../src/lib/xml-util.cc:75: error: expected initializer before ‘*’ token
../../../src/lib/xml-util.cc:144: error: expected ‘}’ at end of input
../../../src/lib/xml-util.cc:144: error: expected ‘}’ at end of input
make[5]: *** [xml-util.lo] Error 1
make[5]: Leaving directory `/home/sxia01/noxcore/build/src/lib'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/sxia01/noxcore/build/src/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/sxia01/noxcore/build/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/sxia01/noxcore/build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sxia01/noxcore/build'
make: *** [all] Error 2

For these reason, I cannot get nox_core, by which I start NOX, in the /noxcore/build/src/.

I have found on google for three days, but I could not find any solutions. Please help me. I'm looking forward to your reply.

Thanks,

Sumin Xia
------------------------------------------------------------------------

_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to