At this point, destiny is really the branch of choice for new installations, 
and is more than ripe to become the new stable branch.

We'll be becoming more transparent about our (rather loose) policies on this 
type of thing, but basically part of it for a while now has been that the 
stable branch runs on OSes/libraries that were current when it was released, 
while the unstable branch more or less tracks current systems/libraries.

-- Murphy

On Oct 21, 2011, at 11:49 PM, Heryandi wrote:

> I see... I will just ignore the test cases then.
> The python error was already fixed almost one year ago in destiny...
> 
> Well, there is no other reason for me to use zaku other than because it is 
> the stable branch...
> Thanks for the help so far, Murphy.
> 
> Regards,
> Heryandi
> ________________________________________
> From: Murphy McCauley [jam...@nau.edu]
> Sent: Saturday, October 22, 2011 2:28 PM
> To: Heryandi
> Cc: nox-dev@noxrepo.org
> Subject: Re: [nox-dev] NOX cannot be compiled in Ubuntu 11.10?
> 
> So yeah, it doesn't surprise me that make check doesn't work.  I don't think 
> I have ever touched the tests, and I think a lot of them have been broken for 
> quite a while now.  If people are interested, maybe someone should take up 
> maintaining them.  But I personally have no knowledge of anyone ever actually 
> finding them useful.  I'm actually inclined to just remove them...
> 
> I think your Python error was also addressed quite a while ago in destiny.  
> This is going to be a recurring theme -- are you using zaku for any 
> particular reason?
> 
> -- Murphy
> 
> On Oct 21, 2011, at 11:19 PM, Heryandi wrote:
> 
>> Thanks again Murphy.
>> After applying 'aee2a3fb696a497a87a30cfc3285d142a464cbc0' and 
>> '473be844299ee7b213e9f7dc67ebea212af7d02f' to zaku, I am now able to 'make' 
>> successfully, with both boost 1.42 and boost 1.46.
>> However, 'make check' didn't run successfully. The error message is the same 
>> for both boost 1.42 and 1.46. Below is the error message:
>> make  test-classifier test-coop-preblock-hook test-coop-sema 
>> test-coop-signals test-ethernetaddr test-event-dispatcher-blocking 
>> test-event-dispatcher-starvation test-poll-loop-removal 
>> test-timer-dispatcher-delay test-timer-dispatcher-duplicates 
>> test-timer-dispatcher-starvation test-timeval test-type-props
>> make[4]: Entering directory 
>> `/home/heryandi/Downloads/nox-patched/build/src/tests'
>> g++ -DHAVE_CONFIG_H -I. -I../../../src/tests -I../..  
>> -DPKGDATADIR=\"/usr/local/share/nox\" -DPKGLIBDIR=\"/usr/local/bin/tests\" 
>> -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   -D_REENTRANT -D__STDC_LIMIT_MACROS=1 
>> -D__STDC_FORMAT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 
>> -D_GLIBCXX_CONCEPT_CHECKS=1 -D_GLIBCXX_DEBUG=1 -D_GLIBCXX_DEBUG_PEDANTIC=1 
>> -I   -fno-omit-frame-pointer -fno-strict-aliasing -Wall -Wno-sign-compare 
>> -Winit-self -Wformat-nonliteral -Wformat-security -g -O2 -MT 
>> test-classifier.o -MD -MP -MF .deps/test-classifier.Tpo -c -o 
>> test-classifier.o ../../../src/tests/test-classifier.cc
>> ../../../src/tests/test-classifier.cc: In function ‘void 
>> timed_test(Classifier_t<vigil::Packet_expr, void*>&, Rule_list&)’:
>> ../../../src/tests/test-classifier.cc:133:38: warning: variable ‘match’ set 
>> but not used [-Wunused-but-set-variable]
>> mv -f .deps/test-classifier.Tpo .deps/test-classifier.Po
>> /bin/bash ../../libtool --tag=CXX   --mode=link g++ -fno-omit-frame-pointer 
>> -fno-strict-aliasing -Wall -Wno-sign-compare -Winit-self -Wformat-nonliteral 
>> -Wformat-security -g -O2 -R/usr/local/bin/tests -export-dynamic  -o 
>> test-classifier test-classifier.o ../lib/libnoxcore.la 
>> ../builtin/.libs/libbuiltin.la -L/usr/lib -lboost_unit_test_framework-mt 
>> -lboost_filesystem-mt -lssl -lcrypto ../components.xsd.o ../nox.xsd.o
>> libtool: link: g++ -fno-omit-frame-pointer -fno-strict-aliasing -Wall 
>> -Wno-sign-compare -Winit-self -Wformat-nonliteral -Wformat-security -g -O2 
>> -o .libs/test-classifier test-classifier.o ../components.xsd.o ../nox.xsd.o 
>> -Wl,--export-dynamic  ../lib/.libs/libnoxcore.so 
>> ../builtin/.libs/libbuiltin.so -L/usr/lib -lboost_unit_test_framework-mt 
>> -lboost_filesystem-mt -lssl -lcrypto -Wl,-rpath -Wl,/usr/local/bin/builtin 
>> -Wl,-rpath -Wl,/usr/local/bin/tests
>> /usr/bin/ld: ../components.xsd.o: undefined reference to symbol 
>> 'boost::system::system_category()'
>> /usr/bin/ld: note: 'boost::system::system_category()' is defined in DSO 
>> /usr/lib/libboost_system.so.1.46.1 so try adding it to the linker command 
>> line
>> /usr/lib/libboost_system.so.1.46.1: could not read symbols: Invalid operation
>> collect2: ld returned 1 exit status
>> 
>> My guess is that the script to run test cases updated with previous changes 
>> yet.
>> 
>> There is another problem, not with boost. When I run './nox_core', the 
>> result is:
>> NOX 0.9.0(zaku)~full~beta (nox_core), compiled Oct 22 2011 11:08:35
>> Compiled with OpenFlow 0x01
>> 00001|nox|ERR:Cannot change the state of 'python' to INSTALLED:
>> 'python' ran into an error:
>>      Unable to construct a Python component:
>>      Traceback (most recent call last):
>>        File "./nox/coreapps/pyrt/pyoxidereactor.py", line 364, in instance
>>          return pyoxidereactor(ctxt)
>>        File "./nox/coreapps/pyrt/pyoxidereactor.py", line 133, in __init__
>>          signal.signal(signal.SIGCHLD, self._handleSigchld)
>>      AttributeError: 'pyoxidereactor' object has no attribute 
>> '_handleSigchld'
>> However, after I apply the patch 9b8aeb5c7401c0f6869c0f214566459520151358 
>> from destiny branch to zaku branch, it can be run without error. Although I 
>> don't know whether there is a problem underneath because the test cases fail 
>> because of the problem with boost.
>> 
>> Regards,
>> Heryandi
>> 
>> ________________________________________
>> From: Murphy McCauley [jam...@nau.edu]
>> Sent: Friday, October 21, 2011 7:39 PM
>> To: Heryandi
>> Cc: nox-dev@noxrepo.org
>> Subject: Re: [nox-dev] NOX cannot be compiled in Ubuntu 11.10?
>> 
>> Patches to fix this link error and to make us compatible with Boost 1.46 
>> have been pushed.
>> 
>> -- Murphy
>> 
>> On Oct 20, 2011, at 11:17 PM, Heryandi wrote:
>> 
>>> Thanks Murphy, I tried applying the changes from 
>>> "73fc9071b9d4f77b8314bf44fe4e5c6bccb480df" in destiny branch to the zaku 
>>> branch and now I can 'configure' successfully.
>>> 
>>> But I am still not able to compile NOX. When I 'make' I got this error 
>>> message:
>>> /bin/bash ../libtool --tag=CXX   --mode=link g++ -fno-omit-frame-pointer 
>>> -fno-strict-aliasing -Wall -Wno-sign-compare -Winit-self 
>>> -Wformat-nonliteral -Wformat-security -g -O2 -R/usr/local/bin 
>>> -export-dynamic -L/usr/lib -lboost_unit_test_framework-mt 
>>> -lboost_filesystem-mt -lssl -lcrypto -Wl,-E   -o nox_core components.xsd.o 
>>> nox.xsd.o nox_main.o ./builtin/.libs/libbuiltin.la ./lib/libnoxcore.la
>>> libtool: link: g++ -fno-omit-frame-pointer -fno-strict-aliasing -Wall 
>>> -Wno-sign-compare -Winit-self -Wformat-nonliteral -Wformat-security -g -O2 
>>> -Wl,-E -o .libs/nox_core components.xsd.o nox.xsd.o nox_main.o 
>>> -Wl,--export-dynamic  -L/usr/lib -lboost_unit_test_framework-mt 
>>> -lboost_filesystem-mt -lssl -lcrypto ./builtin/.libs/libbuiltin.so 
>>> ./lib/.libs/libnoxcore.so -Wl,-rpath -Wl,/usr/local/bin/builtin -Wl,-rpath 
>>> -Wl,/usr/local/bin
>>> /usr/bin/ld: components.xsd.o: undefined reference to symbol 
>>> 'boost::system::get_system_category()'
>>> /usr/bin/ld: note: 'boost::system::get_system_category()' is defined in DSO 
>>> /usr/lib/libboost_system.so.1.42.0 so try adding it to the linker command 
>>> line
>>> /usr/lib/libboost_system.so.1.42.0: could not read symbols: Invalid 
>>> operation
>>> collect2: ld returned 1 exit status
>>> 
>>> I am currently using boost 1.42.
>>> 
>>> Previously I used boost 1.46 but there was another error message (which I 
>>> didn't keep) and I thought the boost used is too new, therefore I changed 
>>> it to 1.42.
>>> I can provide the 'make' log message with boost 1.46 if needed.
>>> 
>>> Regards,
>>> Heryandi
>>> 
>>> -----Original Message-----
>>> From: Murphy McCauley [mailto:jam...@nau.edu]
>>> Sent: Thursday, October 20, 2011 4:52 PM
>>> To: Heryandi
>>> Cc: nox-dev@noxrepo.org
>>> Subject: Re: [nox-dev] NOX cannot be compiled in Ubuntu 11.10?
>>> 
>>> I believe I fixed this in the destiny branch some time ago.  Give that a 
>>> shot?
>>> 
>>> -- Murphy
>>> 
>>> On Oct 20, 2011, at 1:32 AM, Heryandi wrote:
>>> 
>>>> Hi all,
>>>> 
>>>> I have previously compiled NOX successfully in ubuntu 10.04.
>>>> Now, I am trying to compile NOX zaku in my ubuntu 11.10 VM, but it doesn't 
>>>> work.
>>>> All the NOX dependencies have been installed.
>>>> 
>>>> Here is the end of the configure output:
>>>> checking pcap.h usability... yes
>>>> checking pcap.h presence... yes
>>>> checking for pcap.h... yes
>>>> 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
>>>> configure: error: openssl/md5.h not found. NOX requires OpenSSL The
>>>> full log and the config.log output are as attached.
>>>> 
>>>> I have installed openssl and I can find the md5.h inside 
>>>> /usr/include/openssl/md5.h.
>>>> 
>>>> Regards,
>>>> Heryandi
>>>> 
>>>> CONFIDENTIALITY: This email is intended solely for the person(s) named and 
>>>> may be confidential and/or privileged. If you are not the intended 
>>>> recipient, please delete it, notify us and do not copy, use, or disclose 
>>>> its content.
>>>> 
>>>> Towards A Sustainable Earth: Print Only When Necessary. Thank you.
>>>> <config.log><configure
>>>> output.log>_______________________________________________
>>>> nox-dev mailing list
>>>> nox-dev@noxrepo.org
>>>> http://noxrepo.org/mailman/listinfo/nox-dev
>>> 
>> 
> 

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

Reply via email to