Yeah, I didn't re-run ./boot.sh
./configure worked after that :)
However, make ran into the following error:
make[6]: *** No rule to make target `pyopenflow.py', needed by `all'. Stop.
The output of make is attached with this email.
On Wed, Jul 11, 2012 at 3:41 PM, Murphy McCauley
<[email protected]>wrote:
> I guess I didn't say this before, but after replacing ax_boost_base.m4,
> you need to re-run ./boot.sh. Did you do that?
>
> Also, you ARE sure you have the relevant boost development packages
> installed, right? I think you need at least boost filesystem, boost
> system, boost unit test, and possibly some others. On Ubuntu and Debian I
> usually just install the metapackage which installs all of the boost
> development stuff (libboost-all-dev).
>
> If you do want to try specifying the paths manually... you can try any of
> the --with-boost... options that you can see when you do configure --help.
> I'd start by figuring out where your boost libraries are installed
> (/usr/lib64?) and manually specifying that with --with-boost=/usr/lib64 and
> see if that does any good.
>
> -- Murphy
>
> On Jul 11, 2012, at 2:52 AM, Neha Jatav wrote:
>
> Thanks, Murphy. The attached version didn't work. Can you please specify
> which variables do I need to set?
>
> On Wed, Jul 11, 2012 at 1:02 AM, Murphy McCauley <
> [email protected]> wrote:
>
>> I think it's looking in lib instead of lib64.
>>
>> Can you try replacing config/ax_boost_base.m4 with the attached version?
>>
>> If this doesn't work, you might try manually setting the boost paths on
>> the ./configure commandline.
>>
>> -- Murphy
>>
>>
>> On Jul 10, 2012, at 7:07 AM, Neha Jatav wrote:
>>
>> > I have done a checkout from the destiny branch. I am facing the same
>> problem. Please find config.log & configure output attached with this
>> e-mail.
>> >
>> > -Neha
>> > <configure_output.txt><config.log>
>>
>>
>>
>
>
checking build number... none
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to
x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared
libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared
libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for fdatasync... yes
checking for ppoll... yes
checking for boostlib >= 1.34.1... yes
checking whether the Boost::System library is available... yes
checking for exit in -lboost_system-mt... yes
checking whether the Boost::Filesystem library is available... yes
checking for exit in -lboost_filesystem-mt... yes
checking pcap.h usability... no
checking pcap.h presence... no
checking for pcap.h... no
checking openssl/md5.h usability... yes
checking openssl/md5.h presence... yes
checking for openssl/md5.h... yes
checking for MD5_Init in -lssl... no
checking for MD5_Init in -lcrypto... yes
checking for openssl... yes
checking if SSL_CTX_new() can take a const argument... yes
checking for linux/netlink.h... yes
checking whether thread-local storage with __thread is supported... yes
checking whether libc supports hooks for malloc and related functions... yes
checking for sphinx-build... no
configure: WARNING: cannot find sphinx-build. While not build documentation
checking for doxygen... /usr/bin/doxygen
checking for python... /usr/bin/python
checking for a version of Python >= '2.1.0'... yes
checking for a version of Python >='2.5'... yes
checking for the distutils Python package... yes
checking for Python include path... -I/usr/include/python2.7
checking for Python library path... -L/usr/lib64/python2.7/config -lpython2.7
checking for Python site-packages path... /usr/lib/python2.7/site-packages
checking python extra libraries... -lpthread -ldl -lutil -lm
checking python extra linking flags... -Xlinker -export-dynamic
checking consistency of all components of python development environment... yes
checking whether twisted python is installed... yes
checking for swig... /usr/local/bin/swig
checking for SWIG version... 1.3.40
configure: SWIG executable is '/usr/local/bin/swig'
configure: SWIG library directory is '/usr/local/share/swig/1.3.40'
checking for SWIG 64-bit support... yes
checking whether the Boost::Unit_Test_Framework library is available... yes
checking for exit in -lboost_unit_test_framework-mt... yes
configure: creating ./config.status
config.status: creating src/tests/Makefile
config.status: creating src/builtin/Makefile
config.status: creating src/lib/Makefile
config.status: creating src/etc/Makefile
config.status: creating src/nox/netapps/monitoring/Makefile
config.status: creating src/nox/netapps/tests/pyunittests/Makefile
config.status: creating src/nox/netapps/tests/Makefile
config.status: creating src/nox/netapps/switchstats/Makefile
config.status: creating src/nox/netapps/flow_fetcher/Makefile
config.status: creating src/nox/netapps/networkstate/Makefile
config.status: creating src/nox/netapps/user_event_log/Makefile
config.status: creating src/nox/netapps/tablog/Makefile
config.status: creating src/nox/netapps/authenticator/Makefile
config.status: creating src/nox/netapps/data/Makefile
config.status: creating src/nox/netapps/topology/Makefile
config.status: creating src/nox/netapps/hoststate/Makefile
config.status: creating src/nox/netapps/spanning_tree/Makefile
config.status: creating src/nox/netapps/discovery/Makefile
config.status: creating src/nox/netapps/switch_management/Makefile
config.status: creating src/nox/netapps/flowtracer/Makefile
config.status: creating src/nox/netapps/routing/Makefile
config.status: creating src/nox/netapps/lavi/Makefile
config.status: creating src/nox/netapps/Makefile
config.status: creating src/nox/netapps/route/Makefile
config.status: creating src/nox/netapps/storage/t/Makefile
config.status: creating src/nox/netapps/storage/Makefile
config.status: creating src/nox/netapps/bindings_storage/t/Makefile
config.status: creating src/nox/netapps/bindings_storage/Makefile
config.status: creating src/nox/coreapps/coretests/Makefile
config.status: creating src/nox/coreapps/messenger/Makefile
config.status: creating src/nox/coreapps/hub/Makefile
config.status: creating src/nox/coreapps/simple_py_app/Makefile
config.status: creating src/nox/coreapps/snmp/Makefile
config.status: creating src/nox/coreapps/examples/t/Makefile
config.status: creating src/nox/coreapps/examples/Makefile
config.status: creating src/nox/coreapps/simple_c_py_app/Makefile
config.status: creating src/nox/coreapps/testharness/Makefile
config.status: creating src/nox/coreapps/Makefile
config.status: creating src/nox/coreapps/switch/Makefile
config.status: creating src/nox/coreapps/pyrt/Makefile
config.status: creating src/nox/coreapps/simple_c_app/Makefile
config.status: creating src/nox/lib/packet/t/Makefile
config.status: creating src/nox/lib/packet/Makefile
config.status: creating src/nox/lib/Makefile
config.status: creating src/nox/lib/netinet/Makefile
config.status: creating src/nox/webapps/webservice/Makefile
config.status: creating src/nox/webapps/webserver/Makefile
config.status: creating src/nox/webapps/webserviceclient/t/Makefile
config.status: creating src/nox/webapps/webserviceclient/Makefile
config.status: creating src/nox/webapps/Makefile
config.status: creating src/nox/webapps/miscws/Makefile
config.status: creating src/nox/Makefile
config.status: creating src/utilities/Makefile
config.status: creating src/Makefile
config.status: creating src/include/Makefile
config.status: creating doc/Makefile
config.status: creating doc/doxygen/Makefile
config.status: creating doc/manual/Makefile
config.status: creating man/man1/Makefile
config.status: creating man/man5/Makefile
config.status: creating man/Makefile
config.status: creating Makefile
config.status: creating doc/doxygen/doxygen.conf
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
[neha@doorsingdog-dx build]$ make
make all-recursive
make[1]: Entering directory `/home/neha/nox/build'
Making all in src
make[2]: Entering directory `/home/neha/nox/build/src'
make all-recursive
make[3]: Entering directory `/home/neha/nox/build/src'
Making all in include
make[4]: Entering directory `/home/neha/nox/build/src/include'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/neha/nox/build/src/include'
Making all in lib
make[4]: Entering directory `/home/neha/nox/build/src/lib'
make all-am
make[5]: Entering directory `/home/neha/nox/build/src/lib'
CXX async_file.lo
CXX async_io.lo
CXX auto_fd.lo
CXX buffer.lo
CXX cfg.lo
CXX command-line.lo
CXX errno_exception.lo
CXX event-dispatcher.lo
CXX event.lo
CXX expr.lo
In file included from ../../../src/include/expr.hh:25:0,
from ../../../src/lib/expr.cc:18:
../../../src/include/cnode.hh: In instantiation of 'const uint32_t
vigil::Cnode<vigil::Packet_expr, void*>::MASKS [32]':
../../../src/lib/expr.cc:96:37: required from here
../../../src/include/cnode.hh:93:16: warning: narrowing conversion of
'-2147483648' from 'int' to 'const uint32_t {aka const unsigned int}' inside {
} is ill-formed in C++11 [-Wnarrowing]
CXX fault.lo
In file included from /usr/include/python2.7/pyconfig.h:6:0,
from /usr/include/python2.7/Python.h:8,
from ../../../src/lib/fault.cc:33:
/usr/include/python2.7/pyconfig-64.h:1170:0: warning: "_POSIX_C_SOURCE"
redefined [enabled by default]
In file included from
/usr/lib/gcc/x86_64-redhat-linux/4.7.0/../../../../include/c++/4.7.0/x86_64-redhat-linux/bits/os_defines.h:40:0,
from
/usr/lib/gcc/x86_64-redhat-linux/4.7.0/../../../../include/c++/4.7.0/x86_64-redhat-linux/bits/c++config.h:2058,
from
/usr/lib/gcc/x86_64-redhat-linux/4.7.0/../../../../include/c++/4.7.0/string:40,
from ../../../src/include/fault.hh:21,
from ../../../src/lib/fault.cc:19:
/usr/include/features.h:164:0: note: this is the location of the previous
definition
In file included from /usr/include/python2.7/pyconfig.h:6:0,
from /usr/include/python2.7/Python.h:8,
from ../../../src/lib/fault.cc:33:
/usr/include/python2.7/pyconfig-64.h:1192:0: warning: "_XOPEN_SOURCE" redefined
[enabled by default]
In file included from
/usr/lib/gcc/x86_64-redhat-linux/4.7.0/../../../../include/c++/4.7.0/x86_64-redhat-linux/bits/os_defines.h:40:0,
from
/usr/lib/gcc/x86_64-redhat-linux/4.7.0/../../../../include/c++/4.7.0/x86_64-redhat-linux/bits/c++config.h:2058,
from
/usr/lib/gcc/x86_64-redhat-linux/4.7.0/../../../../include/c++/4.7.0/string:40,
from ../../../src/include/fault.hh:21,
from ../../../src/lib/fault.cc:19:
/usr/include/features.h:166:0: note: this is the location of the previous
definition
CXX flow.lo
CXX flow-stats-in.lo
CC JSON_parser.lo
CXX json_object.lo
CXX leak-checker.lo
../../../src/lib/leak-checker.cc: In function 'void
vigil::get_hooks(vigil::hooks*)':
../../../src/lib/leak-checker.cc:141:31: warning: 'vigil::__malloc_hook' is
deprecated (declared at /usr/include/malloc.h:176) [-Wdeprecated-declarations]
../../../src/lib/leak-checker.cc:142:32: warning: 'vigil::__realloc_hook' is
deprecated (declared at /usr/include/malloc.h:179) [-Wdeprecated-declarations]
../../../src/lib/leak-checker.cc:143:29: warning: 'vigil::__free_hook' is
deprecated (declared at /usr/include/malloc.h:173) [-Wdeprecated-declarations]
../../../src/lib/leak-checker.cc: In function 'void vigil::set_hooks(const
vigil::hooks*)':
../../../src/lib/leak-checker.cc:149:5: warning: 'vigil::__malloc_hook' is
deprecated (declared at /usr/include/malloc.h:176) [-Wdeprecated-declarations]
../../../src/lib/leak-checker.cc:150:5: warning: 'vigil::__realloc_hook' is
deprecated (declared at /usr/include/malloc.h:179) [-Wdeprecated-declarations]
../../../src/lib/leak-checker.cc:151:5: warning: 'vigil::__free_hook' is
deprecated (declared at /usr/include/malloc.h:173) [-Wdeprecated-declarations]
CXX ethernetaddr.lo
CXX network_graph.lo
CXX openflow-event.lo
CXX openflow-pack.lo
CXX openflow-pack-raw.lo
CXX openflow-action.lo
CXX openflow.lo
CXX packetgen.lo
CXX poll-loop.lo
CXX ppoll.lo
CXX queue-stats-in.lo
CXX queue-config-in.lo
CXX resolver.lo
CXX sha1.lo
CXX sigset.lo
CXX string.lo
CXX switch-mgr.lo
CXX ssl-config.lo
CXX ssl-socket.lo
CXX tcp-socket.lo
CXX cooperative.lo
CXX impl.lo
CXX native.lo
CXX signals.lo
CXX timer-dispatcher.lo
../../../src/lib/timer-dispatcher.cc: In member function 'void
vigil::Timer_dispatcher::debug() const':
../../../src/lib/timer-dispatcher.cc:118:72: warning: format '%d' expects
argument of type 'int', but argument 3 has type
'std::tr1::_Hashtable<vigil::Timer_impl*, vigil::Timer_impl*,
std::allocator<vigil::Timer_impl*>, std::_Identity<vigil::Timer_impl*>,
std::equal_to<vigil::Timer_impl*>, std::tr1::hash<vigil::Timer_impl*>,
std::tr1::__detail::_Mod_range_hashing,
std::tr1::__detail::_Default_ranged_hash,
std::tr1::__detail::_Prime_rehash_policy, false, true, true>::size_type {aka
long unsigned int}' [-Wformat]
../../../src/lib/timer-dispatcher.cc:118:72: warning: format '%d' expects
argument of type 'int', but argument 4 has type
'std::tr1::_Hashtable<vigil::Timer_impl*, vigil::Timer_impl*,
std::allocator<vigil::Timer_impl*>, std::_Identity<vigil::Timer_impl*>,
std::equal_to<vigil::Timer_impl*>, std::tr1::hash<vigil::Timer_impl*>,
std::tr1::__detail::_Mod_range_hashing,
std::tr1::__detail::_Default_ranged_hash,
std::tr1::__detail::_Prime_rehash_policy, false, true, true>::size_type {aka
long unsigned int}' [-Wformat]
../../../src/lib/timer-dispatcher.cc:118:72: warning: format '%d' expects
argument of type 'int', but argument 5 has type
'std::__cxx1998::set<vigil::Timer_impl*, vigil::Compare_timer,
std::allocator<vigil::Timer_impl*> >::size_type {aka long unsigned int}'
[-Wformat]
CXX timeval.lo
CXX json-util.lo
CXX datapath.lo
CXX netlink.lo
CXX vlog.lo
CXX vlog-socket.lo
CC dhparams.lo
CXXLD libnoxcore.la
make[5]: Leaving directory `/home/neha/nox/build/src/lib'
make[4]: Leaving directory `/home/neha/nox/build/src/lib'
Making all in builtin
make[4]: Entering directory `/home/neha/nox/build/src/builtin'
make all-am
make[5]: Entering directory `/home/neha/nox/build/src/builtin'
CXX deployer.lo
CXX component.lo
CXX dso-deployer.lo
CXX event-dispatcher-component.lo
CXX kernel.lo
CXX nox.lo
In file included from ../../../src/include/classifier.hh:26:0,
from ../../../src/nox/packet-classifier.hh:21,
from ../../../src/nox/nox.hh:46,
from ../../../src/builtin/nox.cc:19:
../../../src/include/cnode.hh: In instantiation of 'const uint32_t
vigil::Cnode<vigil::Packet_expr, boost::function<void(const vigil::Event&)>
>::MASKS [32]':
../../../src/include/cnode.hh:254:5: required from 'void vigil::Cnode<Expr,
Action>::add_rule(vigil::Rule<Expr, Action>* const&, uint32_t, bool) [with Expr
= vigil::Packet_expr; Action = boost::function<void(const vigil::Event&)>;
vigil::Cnode<Expr, Action>::Rule_ptr = vigil::Rule<vigil::Packet_expr,
boost::function<void(const vigil::Event&)> >*; uint32_t = unsigned int]'
../../../src/include/classifier.hh:215:13: required from 'uint32_t
vigil::Classifier<Expr, Action>::add_rule(uint32_t, const Expr&, const Action&)
[with Expr = vigil::Packet_expr; Action = boost::function<void(const
vigil::Event&)>; uint32_t = unsigned int]'
../../../src/builtin/nox.cc:757:56: required from here
../../../src/include/cnode.hh:93:16: warning: narrowing conversion of
'-2147483648' from 'int' to 'const uint32_t {aka const unsigned int}' inside {
} is ill-formed in C++11 [-Wnarrowing]
CXX packet-classifier.lo
CXX static-deployer.lo
CXXLD libbuiltin.la
make[5]: Leaving directory `/home/neha/nox/build/src/builtin'
make[4]: Leaving directory `/home/neha/nox/build/src/builtin'
Making all in nox
make[4]: Entering directory `/home/neha/nox/build/src/nox'
make all-recursive
make[5]: Entering directory `/home/neha/nox/build/src/nox'
Making all in lib
make[6]: Entering directory `/home/neha/nox/build/src/nox/lib'
/usr/local/bin/swig -c++ -python -DSWIGWORDSIZE64 -outdir ./.
-I../../../../src/include/openflow -o openflow_wrap.cc -module openflow
../../../../src/nox/lib/openflow.i
/usr/local/bin/swig -c++ -python -DSWIGWORDSIZE64 -outdir ./. -o
config_wrap.cc -module config ../../../../src/nox/lib/config.i
make[6]: *** No rule to make target `pyopenflow.py', needed by `all'. Stop.
make[6]: Leaving directory `/home/neha/nox/build/src/nox/lib'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/neha/nox/build/src/nox'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/neha/nox/build/src/nox'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/neha/nox/build/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/neha/nox/build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/neha/nox/build'
make: *** [all] Error 2