I think this problem is just due to nox 0.5 (in the noxcore repo) not
supporting xerces 3.  This was addressed in nox 0.6.  And in the future,
the dependency on xerces will be removed.  So any way you slice it --
yes, this has been resolved.

If for some reason you really need nox 0.5, you can just install and
build against xerces 2 (you may have to point at it when you run
configure if you leave xerces 3 installed).  Or -- since it doesn't look
like the interface has changed at all -- you should be able to just copy
the nox 0.6 version of xml-util.cc into nox 0.5.

-- Murphy

On Mon, 2010-07-12 at 11:36 -0700, Nikhil Handigol wrote:
> Has this issue been resolved? 
> 
> 
> I get exactly the same error when I try to compile nox from
> git://noxrepo.org/noxcore. I can compile nox from
> git://noxrepo.org/nox just fine. I've attached my config.log.
> 
> 
> Thanks,
> Nikhil
> 
> On Tue, Jan 12, 2010 at 9:17 PM, Martin Casado <cas...@nicira.com>
> wrote:
>         It seems like xerces isn't being picked up.  Can you send me
>         your config.log?
>         
>         thanks.
>         .m
>                 
>                 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
>         
> 
> 
> 
> -- 
> /\/
> _______________________________________________
> 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