Hi all,
After got nox source through (git clone git://noxrepo.org/nox), I want to 
compile it, but failed in (./configure), error info as following:


checking whether twisted python is installed... yes
checking for swig... /usr/bin/swig
checking for SWIG version... 2.0.4
configure: WARNING: SWIG version >= 1.3.0 is required.  You have 2.0.4.  You 
should look at http://www.swig.org
configure: error: When configured with python, NOX requires swig 1.3.0 or later 
to be installed


BUT, I have installed swig 2.0.4! After I modify the configure file , comment 
the region:
if test -z "$SWIG"; then
      as_fn_error $? "When configured with python, NOX requires swig 1.3.0 or 
later to be installed" "$LINENO" 5
fi
 I config successed but got make errors as following:
c++ -python  -external-runtime swigpyrun.h
c++: error: swigpyrun.h: No such file or directory
c++: error: unrecognized option ‘-python’
c++: fatal error: no input files
compilation terminated.
make[4]: [swigpyrun.h] Error 4 (ignored)
make  all-recursive
make[5]: Entering directory `/home/zhuyu/Workspace/net/nox/src/nox'
Making all in lib
make[6]: Entering directory `/home/zhuyu/Workspace/net/nox/src/nox/lib'
c++ -python  -outdir ./. -I../../../src/include/openflow -o openflow_wrap.cc 
-module openflow ./openflow.i
c++: error: openflow: No such file or directory
c++: error: unrecognized option ‘-python’
make[6]: [openflow.py] Error 1 (ignored)
c++ -python  -outdir ./. -o config_wrap.cc -module config ./config.i
c++: error: config: No such file or directory
c++: error: unrecognized option ‘-python’
make[6]: [config.py] Error 1 (ignored)
make  all-recursive
make[7]: Entering directory `/home/zhuyu/Workspace/net/nox/src/nox/lib'
Making all in netinet
make[8]: Entering directory `/home/zhuyu/Workspace/net/nox/src/nox/lib/netinet'
c++ -python  -outdir ./. -I../../../../src/nox/lib/ -o netinet_wrap.cc -module 
netinet ./netinet.i
c++: error: netinet: No such file or directory
c++: error: unrecognized option ‘-python’
make[8]: [netinet.py] Error 1 (ignored)
make  all-am
make[9]: Entering directory `/home/zhuyu/Workspace/net/nox/src/nox/lib/netinet'
c++ -python  -outdir ./. -I../../../../src/nox/lib/ -o netinet_wrap.cc -module 
netinet ./netinet.i


Should I uninstall my current swig, instead of installing the version of 1.3.0? 
I'm working in Fedora16 32bit, and install swig through "yum install swig" 
which always give me the lastest version software.


Thanks a lot!
Best regards,
zhuyu

Reply via email to