Re: [nox-dev] nox testing build

2010-01-11 Thread Martin Casado
Yeah, the unit test framework hasn't been fully ported yet.  However, 
system testing should work:


badwater:~/noxrepo/nox/build> cd src/
badwater:~/noxrepo/nox/build/src> sudo make test
++
| nox/coreapps/coretests/test_async.sh
| nox/coreapps/coretests/test_basic_callback.sh
| nox/coreapps/coretests/test_packet.sh
| nox/coreapps/coretests/test_ssl.sh
| nox/coreapps/examples/t/test_example.sh
| nox/netapps/bindings_storage/t/test_bs_link.sh
++
 Total testing time: 11s
 reported results:  6
 success rate: 483/483
 timeouts:  0
 bad formatting:  0
++


Hi:

I was able to successfully execute 'make check'. Now, to verify that 
the NOX built was correct, when I run './nox_core tests', it fails. 
This was posted by some else on Dec 21, 2009 but I could not find any 
replied to that post that answer the query.


./nox_core tests
NOX 0.8.0~full~beta (nox_core), compiled Jan 11 2010 17:34:14
Compiled with OpenFlow 0x97 (exp)
1|nox|ERR:Application 'pytstorage' description not found.

Regards,
Immad


___
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] nox testing build

2010-01-11 Thread Muhammad Immad Uddin
Hi:

I was able to successfully execute 'make check'. Now, to verify that the NOX
built was correct, when I run './nox_core tests', it fails. This was posted
by some else on Dec 21, 2009 but I could not find any replied to that post
that answer the query.

./nox_core tests
NOX 0.8.0~full~beta (nox_core), compiled Jan 11 2010 17:34:14
Compiled with OpenFlow 0x97 (exp)
1|nox|ERR:Application 'pytstorage' description not found.

Regards,
Immad
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Nox installation: problem with make check

2010-01-11 Thread Martin Casado

Awesome, thanks kk.


Hi,

I have pushed this patch to the master branch.  Just do a git pull
--rebase, and you should be okay.

Regards
KK

2010/1/11 Ashish Agarwal :
  

Looks like the same error I reported a few weeks ago. The following sequence
of commands led to a successful install for me:
git clone git://noxrepo.org/nox
cd nox
git cherry-pick 8f34004cbce1bf94965c336502665e72a929612a
./boot.sh
./configure
make
make check

On Mon, Jan 11, 2010 at 4:30 PM, kk yap  wrote:


Hi,

I believe there is a patch in NOX 0.6 for OpenFlow 1.0.  Looks like
that got overwritten.  Just cherry pick.

commit 8f34004cbce1bf94965c336502665e72a929612a
Author: Mikio Hara 
Date:   Thu Dec 3 12:47:32 2009 -0800

   GCC 4.4 compliance patch for test suite (make check)
   Fixed header compatibility issues

Regards
KK

2010/1/11 Martin Casado :
  

#include 

using namespace std;

.m



Hi,

I am trying to install and configure nox on ubuntu 9.10. I was able to
install all dependencies and was able to get the noxcore using git. I
was
able to configure and make nox. However, when I tried the command 'make
check', I get the following error:

(End portion of the output when running 'make check')

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[5]: Entering directory `/home/immad/nox/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
-I/usr/include/xercesc -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 -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
mv -f .deps/test-classifier.Tpo .deps/test-classifier.Po
/bin/bash ../../libtool --tag=CXX   --mode=link g++
-fno-omit-frame-pointer -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-d -lboost_filesystem-mt-d
-lssl
../components.xsd.o ../nox.xsd.o
libtool: link: g++ -fno-omit-frame-pointer -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-d
-lboost_filesystem-mt-d -lssl -Wl,-rpath -Wl,/usr/local/bin/builtin
-Wl,-rpath -Wl,/usr/local/bin/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
-I/usr/include/xercesc -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 -Wall -Wno-sign-compare -Winit-self
-Wformat-nonliteral -Wformat-security -g -O2 -MT
test-coop-preblock-hook.o
-MD -MP -MF .deps/test-coop-preblock-hook.Tpo -c -o
test-coop-preblock-hook.o ../../../src/tests/test-coop-preblock-hook.cc
../../../src/tests/test-coop-preblock-hook.cc: In function ‘void
thread1_hook()’:
../../../src/tests/test-coop-preblock-hook.cc:32: error: ‘printf’ was
not
declared in this scope
../../../src/tests/test-coop-preblock-hook.cc: In function ‘void
thread1()’:
../../../src/tests/test-coop-preblock-hook.cc:40: error: ‘printf’ was
not
declared in this scope
../../../src/tests/test-coop-preblock-hook.cc: In function ‘void
thread2()’:
../../../src/tests/test-coop-preblock-hook.cc:52: error: ‘printf’ was
not
declared in this scope
make[5]: *** [test-coop-preblock-hook.o] Error 1
make[5]: Leaving directory `/home/immad/nox/build/src/tests'
make[4]: *** [check-am] Error 2
make[4]: Leaving directory `/home/immad/nox/build/src/tests'
make[3]: *** [check] Error 2
make[3]: Leaving directory `/home/immad/nox/build/src/tests'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/home/immad/nox/build/src'
make[1]: *** [check] Error 2
make[1]:

Re: [nox-dev] Nox installation: problem with make check

2010-01-11 Thread kk yap
Hi,

I have pushed this patch to the master branch.  Just do a git pull
--rebase, and you should be okay.

Regards
KK

2010/1/11 Ashish Agarwal :
> Looks like the same error I reported a few weeks ago. The following sequence
> of commands led to a successful install for me:
> git clone git://noxrepo.org/nox
> cd nox
> git cherry-pick 8f34004cbce1bf94965c336502665e72a929612a
> ./boot.sh
> ./configure
> make
> make check
>
> On Mon, Jan 11, 2010 at 4:30 PM, kk yap  wrote:
>>
>> Hi,
>>
>> I believe there is a patch in NOX 0.6 for OpenFlow 1.0.  Looks like
>> that got overwritten.  Just cherry pick.
>>
>> commit 8f34004cbce1bf94965c336502665e72a929612a
>> Author: Mikio Hara 
>> Date:   Thu Dec 3 12:47:32 2009 -0800
>>
>>    GCC 4.4 compliance patch for test suite (make check)
>>    Fixed header compatibility issues
>>
>> Regards
>> KK
>>
>> 2010/1/11 Martin Casado :
>> > #include 
>> >
>> > using namespace std;
>> >
>> > .m
>> >
>> >> Hi,
>> >>
>> >> I am trying to install and configure nox on ubuntu 9.10. I was able to
>> >> install all dependencies and was able to get the noxcore using git. I
>> >> was
>> >> able to configure and make nox. However, when I tried the command 'make
>> >> check', I get the following error:
>> >>
>> >> (End portion of the output when running 'make check')
>> >>
>> >> 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[5]: Entering directory `/home/immad/nox/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
>> >> -I/usr/include/xercesc -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 -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
>> >> mv -f .deps/test-classifier.Tpo .deps/test-classifier.Po
>> >> /bin/bash ../../libtool --tag=CXX   --mode=link g++
>> >> -fno-omit-frame-pointer -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-d -lboost_filesystem-mt-d
>> >> -lssl
>> >> ../components.xsd.o ../nox.xsd.o
>> >> libtool: link: g++ -fno-omit-frame-pointer -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-d
>> >> -lboost_filesystem-mt-d -lssl -Wl,-rpath -Wl,/usr/local/bin/builtin
>> >> -Wl,-rpath -Wl,/usr/local/bin/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
>> >> -I/usr/include/xercesc -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 -Wall -Wno-sign-compare -Winit-self
>> >> -Wformat-nonliteral -Wformat-security -g -O2 -MT
>> >> test-coop-preblock-hook.o
>> >> -MD -MP -MF .deps/test-coop-preblock-hook.Tpo -c -o
>> >> test-coop-preblock-hook.o ../../../src/tests/test-coop-preblock-hook.cc
>> >> ../../../src/tests/test-coop-preblock-hook.cc: In function ‘void
>> >> thread1_hook()’:
>> >> ../../../src/tests/test-coop-preblock-hook.cc:32: error: ‘printf’ was
>> >> not
>> >> declared in this scope
>> >> ../../../src/tests/test-coop-preblock-hook.cc: In function ‘void
>> >> thread1()’:
>> >> ../../../src/tests/test-coop-preblock-hook.cc:40: error: ‘printf’ was
>> >> not
>> >> declared in this scope
>> >> ../../../src/tests/test-coop-preblock-hook.cc: In function ‘void
>> >> thread2()’:
>

Re: [nox-dev] Nox installation: problem with make check

2010-01-11 Thread Ashish Agarwal
Looks like the same error I reported a few weeks ago. The following sequence
of commands led to a successful install for me:

git clone git://noxrepo.org/nox
cd nox
git cherry-pick 8f34004cbce1bf94965c336502665e72a929612a
./boot.sh
./configure
make
make check


On Mon, Jan 11, 2010 at 4:30 PM, kk yap  wrote:

> Hi,
>
> I believe there is a patch in NOX 0.6 for OpenFlow 1.0.  Looks like
> that got overwritten.  Just cherry pick.
>
> commit 8f34004cbce1bf94965c336502665e72a929612a
> Author: Mikio Hara 
> Date:   Thu Dec 3 12:47:32 2009 -0800
>
>GCC 4.4 compliance patch for test suite (make check)
>Fixed header compatibility issues
>
> Regards
> KK
>
> 2010/1/11 Martin Casado :
> > #include 
> >
> > using namespace std;
> >
> > .m
> >
> >> Hi,
> >>
> >> I am trying to install and configure nox on ubuntu 9.10. I was able to
> >> install all dependencies and was able to get the noxcore using git. I
> was
> >> able to configure and make nox. However, when I tried the command 'make
> >> check', I get the following error:
> >>
> >> (End portion of the output when running 'make check')
> >>
> >> 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[5]: Entering directory `/home/immad/nox/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
> >> -I/usr/include/xercesc -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 -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
> >> mv -f .deps/test-classifier.Tpo .deps/test-classifier.Po
> >> /bin/bash ../../libtool --tag=CXX   --mode=link g++
> >> -fno-omit-frame-pointer -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 <
> http://libbuiltin.la>
> >> -L/usr/lib -lboost_unit_test_framework-mt-d -lboost_filesystem-mt-d
> -lssl
> >> ../components.xsd.o ../nox.xsd.o
> >> libtool: link: g++ -fno-omit-frame-pointer -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-d
> >> -lboost_filesystem-mt-d -lssl -Wl,-rpath -Wl,/usr/local/bin/builtin
> >> -Wl,-rpath -Wl,/usr/local/bin/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
> >> -I/usr/include/xercesc -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 -Wall -Wno-sign-compare -Winit-self
> >> -Wformat-nonliteral -Wformat-security -g -O2 -MT
> test-coop-preblock-hook.o
> >> -MD -MP -MF .deps/test-coop-preblock-hook.Tpo -c -o
> >> test-coop-preblock-hook.o ../../../src/tests/test-coop-preblock-hook.cc
> >> ../../../src/tests/test-coop-preblock-hook.cc: In function ‘void
> >> thread1_hook()’:
> >> ../../../src/tests/test-coop-preblock-hook.cc:32: error: ‘printf’ was
> not
> >> declared in this scope
> >> ../../../src/tests/test-coop-preblock-hook.cc: In function ‘void
> >> thread1()’:
> >> ../../../src/tests/test-coop-preblock-hook.cc:40: error: ‘printf’ was
> not
> >> declared in this scope
> >> ../../../src/tests/test-coop-preblock-hook.cc: In function ‘void
> >> thread2()’:
> >> ../../../src/tests/test-coop-preblock-hook.cc:52: error: ‘printf’ was
> not
> >> declared in this scope
> >> make[5]: *** [test-coop-preblock-hook.o] Error 1
> >> make[5]: Leaving directory `/home/immad/nox/build/src/tests'
> >> make[4]: *** [check-am] Error 2
> >> make[4]: Leaving directory `/home/immad/nox/bui

Re: [nox-dev] Nox installation: problem with make check

2010-01-11 Thread kk yap
Hi,

I believe there is a patch in NOX 0.6 for OpenFlow 1.0.  Looks like
that got overwritten.  Just cherry pick.

commit 8f34004cbce1bf94965c336502665e72a929612a
Author: Mikio Hara 
Date:   Thu Dec 3 12:47:32 2009 -0800

GCC 4.4 compliance patch for test suite (make check)
Fixed header compatibility issues

Regards
KK

2010/1/11 Martin Casado :
> #include 
>
> using namespace std;
>
> .m
>
>> Hi,
>>
>> I am trying to install and configure nox on ubuntu 9.10. I was able to
>> install all dependencies and was able to get the noxcore using git. I was
>> able to configure and make nox. However, when I tried the command 'make
>> check', I get the following error:
>>
>> (End portion of the output when running 'make check')
>>
>> 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[5]: Entering directory `/home/immad/nox/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
>> -I/usr/include/xercesc -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 -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
>> mv -f .deps/test-classifier.Tpo .deps/test-classifier.Po
>> /bin/bash ../../libtool --tag=CXX   --mode=link g++
>> -fno-omit-frame-pointer -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-d -lboost_filesystem-mt-d -lssl
>> ../components.xsd.o ../nox.xsd.o
>> libtool: link: g++ -fno-omit-frame-pointer -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-d
>> -lboost_filesystem-mt-d -lssl -Wl,-rpath -Wl,/usr/local/bin/builtin
>> -Wl,-rpath -Wl,/usr/local/bin/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
>> -I/usr/include/xercesc -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 -Wall -Wno-sign-compare -Winit-self
>> -Wformat-nonliteral -Wformat-security -g -O2 -MT test-coop-preblock-hook.o
>> -MD -MP -MF .deps/test-coop-preblock-hook.Tpo -c -o
>> test-coop-preblock-hook.o ../../../src/tests/test-coop-preblock-hook.cc
>> ../../../src/tests/test-coop-preblock-hook.cc: In function ‘void
>> thread1_hook()’:
>> ../../../src/tests/test-coop-preblock-hook.cc:32: error: ‘printf’ was not
>> declared in this scope
>> ../../../src/tests/test-coop-preblock-hook.cc: In function ‘void
>> thread1()’:
>> ../../../src/tests/test-coop-preblock-hook.cc:40: error: ‘printf’ was not
>> declared in this scope
>> ../../../src/tests/test-coop-preblock-hook.cc: In function ‘void
>> thread2()’:
>> ../../../src/tests/test-coop-preblock-hook.cc:52: error: ‘printf’ was not
>> declared in this scope
>> make[5]: *** [test-coop-preblock-hook.o] Error 1
>> make[5]: Leaving directory `/home/immad/nox/build/src/tests'
>> make[4]: *** [check-am] Error 2
>> make[4]: Leaving directory `/home/immad/nox/build/src/tests'
>> make[3]: *** [check] Error 2
>> make[3]: Leaving directory `/home/immad/nox/build/src/tests'
>> make[2]: *** [check-recursive] Error 1
>> make[2]: Leaving directory `/home/immad/nox/build/src'
>> make[1]: *** [check] Error 2
>> make[1]: Leaving directory `/home/immad/nox/build/src'
>> make: *** [check-recursive] Error 1
>>
>> Can anyone please help me out with this?
>>
>> Regards,
>> Immad
>>
>>
>> 
>>
>> 

Re: [nox-dev] Nox installation: problem with make check

2010-01-11 Thread Martin Casado

#include 

using namespace std;

.m


Hi,

I am trying to install and configure nox on ubuntu 9.10. I was able to 
install all dependencies and was able to get the noxcore using git. I 
was able to configure and make nox. However, when I tried the command 
'make check', I get the following error:


(End portion of the output when running 'make check')

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[5]: Entering directory `/home/immad/nox/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 
-I/usr/include/xercesc -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 -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

mv -f .deps/test-classifier.Tpo .deps/test-classifier.Po
/bin/bash ../../libtool --tag=CXX   --mode=link g++ 
-fno-omit-frame-pointer -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-d -lboost_filesystem-mt-d -lssl 
../components.xsd.o ../nox.xsd.o
libtool: link: g++ -fno-omit-frame-pointer -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-d -lboost_filesystem-mt-d -lssl 
-Wl,-rpath -Wl,/usr/local/bin/builtin -Wl,-rpath -Wl,/usr/local/bin/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 
-I/usr/include/xercesc -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 -Wall -Wno-sign-compare -Winit-self 
-Wformat-nonliteral -Wformat-security -g -O2 -MT 
test-coop-preblock-hook.o -MD -MP -MF 
.deps/test-coop-preblock-hook.Tpo -c -o test-coop-preblock-hook.o 
../../../src/tests/test-coop-preblock-hook.cc
../../../src/tests/test-coop-preblock-hook.cc: In function ‘void 
thread1_hook()’:
../../../src/tests/test-coop-preblock-hook.cc:32: error: ‘printf’ was 
not declared in this scope
../../../src/tests/test-coop-preblock-hook.cc: In function ‘void 
thread1()’:
../../../src/tests/test-coop-preblock-hook.cc:40: error: ‘printf’ was 
not declared in this scope
../../../src/tests/test-coop-preblock-hook.cc: In function ‘void 
thread2()’:
../../../src/tests/test-coop-preblock-hook.cc:52: error: ‘printf’ was 
not declared in this scope

make[5]: *** [test-coop-preblock-hook.o] Error 1
make[5]: Leaving directory `/home/immad/nox/build/src/tests'
make[4]: *** [check-am] Error 2
make[4]: Leaving directory `/home/immad/nox/build/src/tests'
make[3]: *** [check] Error 2
make[3]: Leaving directory `/home/immad/nox/build/src/tests'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/home/immad/nox/build/src'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/home/immad/nox/build/src'
make: *** [check-recursive] Error 1

Can anyone please help me out with this?

Regards,
Immad




___
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


Re: [nox-dev] Unable to configure nox

2010-01-11 Thread Martin Casado

Great thanks.  Pushed to 0.6.

Yes it worked.

Thanks,
Immad

On Mon, Jan 11, 2010 at 3:38 PM, Martin Casado > wrote:


Let me know if this works and I'll add a patch for it to 0.6.

thanks guys,
.martin

Hi,

Maybe this might be better.

autoreconf -Wno-portability --install -I `pwd`/config --force

Regards
KK

2010/1/11 Daniel Wagner-Hall mailto:n...@illicitonion.com>>:
 


As a short-term fix, edit boot.sh editing line 97 from:

autoreconf -Wno-portability --install -I config --force

it reads:

autoreconf -Wno-portability --install -I /path/to/config
--force

replace /path/to with the path to the directory containing
boot.sh

You may also want to try creating the folder config, if it
doesn't exist, or
deleting it if it does.  I can't remember exactly what I
had to do to get it
working, and am not on an Ubuntu machine at the moment.

Muhammad Immad Uddin wrote:
   


Thanks for the info. I was able to install
libboost1.38-dev. However, now
when I was able to get noxcore using git. When I tried
to configure it and
ran boot.sh, I get the following error.

./boot.sh
Disabling noxext...
building with all apps
aclocal: couldn't open directory `config': No such
file or directory
autoreconf: aclocal failed with exit status: 1

If anyone can help me with that.

Regards,
Immad


On Mon, Jan 11, 2010 at 1:38 PM, Kyriakos Zarifis
mailto:kyr.zari...@gmail.com>
>> wrote:

  Hey there,

  for 9.10 I'd just try installing liboost1.38-dev
 (my current setup
  has had no problems with this version so far) or
libboorst1.40-dev
  instead

  On Mon, Jan 11, 2010 at 7:43 PM, Muhammad Immad Uddin
  mailto:immadud...@gmail.com>
>> wrote:

  Hi,

  I tried to install nox. I am using ubuntu 9.10.
The problem I am
  facing is that libboost1.35-dev cannot be
installed using
  get-apt. The error that I see is as follows:

  sudo apt-get install autoconf automake g++
libtool python2.5
  python2.5-dev python-twisted swig libboost1.35-dev
  libxerces-c2-dev libssl-dev make libsqlite3-dev
  python-simplejson python-sphinx qemu vde2 screen
slirp
  genisoimage debootstrap sharutils
  Reading package lists... Done
  Building dependency tree  Reading
state information...
Done
  autoconf is already the newest version.
  automake is already the newest version.
  g++ is already the newest version.
  libtool is already the newest version.
  python2.5 is already the newest version.
  python2.5-dev is already the newest version.
  python-twisted is already the newest version.
  swig is already the newest version.
  Package libboost1.35-dev is not available, but
is referred to by
  another package.
  This may mean that the package is missing, has
been obsoleted, or
  is only available from another source
  E: Package libboost1.35-dev has no installation
candidate

  Can anyone help me with this.

  Regards,
  Immad

  ___
  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.o

Re: [nox-dev] Unable to configure nox

2010-01-11 Thread Muhammad Immad Uddin
Yes it worked.

Thanks,
Immad

On Mon, Jan 11, 2010 at 3:38 PM, Martin Casado  wrote:

> Let me know if this works and I'll add a patch for it to 0.6.
>
> thanks guys,
> .martin
>
>  Hi,
>>
>> Maybe this might be better.
>>
>> autoreconf -Wno-portability --install -I `pwd`/config --force
>>
>> Regards
>> KK
>>
>> 2010/1/11 Daniel Wagner-Hall :
>>
>>
>>> As a short-term fix, edit boot.sh editing line 97 from:
>>>
>>> autoreconf -Wno-portability --install -I config --force
>>>
>>> it reads:
>>>
>>> autoreconf -Wno-portability --install -I /path/to/config --force
>>>
>>> replace /path/to with the path to the directory containing boot.sh
>>>
>>> You may also want to try creating the folder config, if it doesn't exist,
>>> or
>>> deleting it if it does.  I can't remember exactly what I had to do to get
>>> it
>>> working, and am not on an Ubuntu machine at the moment.
>>>
>>> Muhammad Immad Uddin wrote:
>>>
>>>
 Thanks for the info. I was able to install libboost1.38-dev. However,
 now
 when I was able to get noxcore using git. When I tried to configure it
 and
 ran boot.sh, I get the following error.

 ./boot.sh
 Disabling noxext...
 building with all apps
 aclocal: couldn't open directory `config': No such file or directory
 autoreconf: aclocal failed with exit status: 1

 If anyone can help me with that.

 Regards,
 Immad


 On Mon, Jan 11, 2010 at 1:38 PM, Kyriakos Zarifis <
 kyr.zari...@gmail.com
 > wrote:

   Hey there,

   for 9.10 I'd just try installing liboost1.38-dev  (my current setup
   has had no problems with this version so far) or libboorst1.40-dev
   instead

   On Mon, Jan 11, 2010 at 7:43 PM, Muhammad Immad Uddin
   mailto:immadud...@gmail.com>> wrote:

   Hi,

   I tried to install nox. I am using ubuntu 9.10. The problem I am
   facing is that libboost1.35-dev cannot be installed using
   get-apt. The error that I see is as follows:

   sudo apt-get install autoconf automake g++ libtool python2.5
   python2.5-dev python-twisted swig libboost1.35-dev
   libxerces-c2-dev libssl-dev make libsqlite3-dev
   python-simplejson python-sphinx qemu vde2 screen slirp
   genisoimage debootstrap sharutils
   Reading package lists... Done
   Building dependency tree  Reading state information...
 Done
   autoconf is already the newest version.
   automake is already the newest version.
   g++ is already the newest version.
   libtool is already the newest version.
   python2.5 is already the newest version.
   python2.5-dev is already the newest version.
   python-twisted is already the newest version.
   swig is already the newest version.
   Package libboost1.35-dev is not available, but is referred to by
   another package.
   This may mean that the package is missing, has been obsoleted, or
   is only available from another source
   E: Package libboost1.35-dev has no installation candidate

   Can anyone help me with this.

   Regards,
   Immad

   ___
   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
>>
>>
>
>
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Unable to configure nox

2010-01-11 Thread Martin Casado

Let me know if this works and I'll add a patch for it to 0.6.

thanks guys,
.martin

Hi,

Maybe this might be better.

autoreconf -Wno-portability --install -I `pwd`/config --force

Regards
KK

2010/1/11 Daniel Wagner-Hall :
  

As a short-term fix, edit boot.sh editing line 97 from:

autoreconf -Wno-portability --install -I config --force

it reads:

autoreconf -Wno-portability --install -I /path/to/config --force

replace /path/to with the path to the directory containing boot.sh

You may also want to try creating the folder config, if it doesn't exist, or
deleting it if it does.  I can't remember exactly what I had to do to get it
working, and am not on an Ubuntu machine at the moment.

Muhammad Immad Uddin wrote:


Thanks for the info. I was able to install libboost1.38-dev. However, now
when I was able to get noxcore using git. When I tried to configure it and
ran boot.sh, I get the following error.

./boot.sh
Disabling noxext...
building with all apps
aclocal: couldn't open directory `config': No such file or directory
autoreconf: aclocal failed with exit status: 1

If anyone can help me with that.

Regards,
Immad


On Mon, Jan 11, 2010 at 1:38 PM, Kyriakos Zarifis mailto:kyr.zari...@gmail.com>> wrote:

   Hey there,

   for 9.10 I'd just try installing liboost1.38-dev  (my current setup
   has had no problems with this version so far) or libboorst1.40-dev
   instead

   On Mon, Jan 11, 2010 at 7:43 PM, Muhammad Immad Uddin
   mailto:immadud...@gmail.com>> wrote:

   Hi,

   I tried to install nox. I am using ubuntu 9.10. The problem I am
   facing is that libboost1.35-dev cannot be installed using
   get-apt. The error that I see is as follows:

   sudo apt-get install autoconf automake g++ libtool python2.5
   python2.5-dev python-twisted swig libboost1.35-dev
   libxerces-c2-dev libssl-dev make libsqlite3-dev
   python-simplejson python-sphinx qemu vde2 screen slirp
   genisoimage debootstrap sharutils
   Reading package lists... Done
   Building dependency tree  Reading state information...
Done
   autoconf is already the newest version.
   automake is already the newest version.
   g++ is already the newest version.
   libtool is already the newest version.
   python2.5 is already the newest version.
   python2.5-dev is already the newest version.
   python-twisted is already the newest version.
   swig is already the newest version.
   Package libboost1.35-dev is not available, but is referred to by
   another package.
   This may mean that the package is missing, has been obsoleted, or
   is only available from another source
   E: Package libboost1.35-dev has no installation candidate

   Can anyone help me with this.

   Regards,
   Immad

   ___
   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
  



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


[nox-dev] Nox installation: problem with make check

2010-01-11 Thread Muhammad Immad Uddin
Hi,

I am trying to install and configure nox on ubuntu 9.10. I was able to
install all dependencies and was able to get the noxcore using git. I was
able to configure and make nox. However, when I tried the command 'make
check', I get the following error:

(End portion of the output when running 'make check')

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[5]: Entering directory `/home/immad/nox/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
-I/usr/include/xercesc -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 -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
mv -f .deps/test-classifier.Tpo .deps/test-classifier.Po
/bin/bash ../../libtool --tag=CXX   --mode=link g++ -fno-omit-frame-pointer
-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-d -lboost_filesystem-mt-d -lssl
../components.xsd.o ../nox.xsd.o
libtool: link: g++ -fno-omit-frame-pointer -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-d
-lboost_filesystem-mt-d -lssl -Wl,-rpath -Wl,/usr/local/bin/builtin
-Wl,-rpath -Wl,/usr/local/bin/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
-I/usr/include/xercesc -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 -Wall -Wno-sign-compare -Winit-self
-Wformat-nonliteral -Wformat-security -g -O2 -MT test-coop-preblock-hook.o
-MD -MP -MF .deps/test-coop-preblock-hook.Tpo -c -o
test-coop-preblock-hook.o ../../../src/tests/test-coop-preblock-hook.cc
../../../src/tests/test-coop-preblock-hook.cc: In function ‘void
thread1_hook()’:
../../../src/tests/test-coop-preblock-hook.cc:32: error: ‘printf’ was not
declared in this scope
../../../src/tests/test-coop-preblock-hook.cc: In function ‘void thread1()’:
../../../src/tests/test-coop-preblock-hook.cc:40: error: ‘printf’ was not
declared in this scope
../../../src/tests/test-coop-preblock-hook.cc: In function ‘void thread2()’:
../../../src/tests/test-coop-preblock-hook.cc:52: error: ‘printf’ was not
declared in this scope
make[5]: *** [test-coop-preblock-hook.o] Error 1
make[5]: Leaving directory `/home/immad/nox/build/src/tests'
make[4]: *** [check-am] Error 2
make[4]: Leaving directory `/home/immad/nox/build/src/tests'
make[3]: *** [check] Error 2
make[3]: Leaving directory `/home/immad/nox/build/src/tests'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/home/immad/nox/build/src'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/home/immad/nox/build/src'
make: *** [check-recursive] Error 1

Can anyone please help me out with this?

Regards,
Immad
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Unable to configure nox

2010-01-11 Thread kk yap
Hi,

Maybe this might be better.

autoreconf -Wno-portability --install -I `pwd`/config --force

Regards
KK

2010/1/11 Daniel Wagner-Hall :
> As a short-term fix, edit boot.sh editing line 97 from:
>
> autoreconf -Wno-portability --install -I config --force
>
> it reads:
>
> autoreconf -Wno-portability --install -I /path/to/config --force
>
> replace /path/to with the path to the directory containing boot.sh
>
> You may also want to try creating the folder config, if it doesn't exist, or
> deleting it if it does.  I can't remember exactly what I had to do to get it
> working, and am not on an Ubuntu machine at the moment.
>
> Muhammad Immad Uddin wrote:
>>
>> Thanks for the info. I was able to install libboost1.38-dev. However, now
>> when I was able to get noxcore using git. When I tried to configure it and
>> ran boot.sh, I get the following error.
>>
>> ./boot.sh
>> Disabling noxext...
>> building with all apps
>> aclocal: couldn't open directory `config': No such file or directory
>> autoreconf: aclocal failed with exit status: 1
>>
>> If anyone can help me with that.
>>
>> Regards,
>> Immad
>>
>>
>> On Mon, Jan 11, 2010 at 1:38 PM, Kyriakos Zarifis > > wrote:
>>
>>    Hey there,
>>
>>    for 9.10 I'd just try installing liboost1.38-dev  (my current setup
>>    has had no problems with this version so far) or libboorst1.40-dev
>>    instead
>>
>>    On Mon, Jan 11, 2010 at 7:43 PM, Muhammad Immad Uddin
>>    mailto:immadud...@gmail.com>> wrote:
>>
>>        Hi,
>>
>>        I tried to install nox. I am using ubuntu 9.10. The problem I am
>>        facing is that libboost1.35-dev cannot be installed using
>>        get-apt. The error that I see is as follows:
>>
>>        sudo apt-get install autoconf automake g++ libtool python2.5
>>        python2.5-dev python-twisted swig libboost1.35-dev
>>        libxerces-c2-dev libssl-dev make libsqlite3-dev
>>        python-simplejson python-sphinx qemu vde2 screen slirp
>>        genisoimage debootstrap sharutils
>>        Reading package lists... Done
>>        Building dependency tree              Reading state information...
>> Done
>>        autoconf is already the newest version.
>>        automake is already the newest version.
>>        g++ is already the newest version.
>>        libtool is already the newest version.
>>        python2.5 is already the newest version.
>>        python2.5-dev is already the newest version.
>>        python-twisted is already the newest version.
>>        swig is already the newest version.
>>        Package libboost1.35-dev is not available, but is referred to by
>>        another package.
>>        This may mean that the package is missing, has been obsoleted, or
>>        is only available from another source
>>        E: Package libboost1.35-dev has no installation candidate
>>
>>        Can anyone help me with this.
>>
>>        Regards,
>>        Immad
>>
>>        ___
>>        nox-dev mailing list
>>        nox-...@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


Re: [nox-dev] Unable to configure nox

2010-01-11 Thread Daniel Wagner-Hall

As a short-term fix, edit boot.sh editing line 97 from:

autoreconf -Wno-portability --install -I config --force

it reads:

autoreconf -Wno-portability --install -I /path/to/config --force

replace /path/to with the path to the directory containing boot.sh

You may also want to try creating the folder config, if it doesn't exist, or 
deleting it if it does.  I can't remember exactly what I had to do to get it 
working, and am not on an Ubuntu machine at the moment.


Muhammad Immad Uddin wrote:
Thanks for the info. I was able to install libboost1.38-dev. However, 
now when I was able to get noxcore using git. When I tried to configure 
it and ran boot.sh, I get the following error.


./boot.sh
Disabling noxext...
building with all apps
aclocal: couldn't open directory `config': No such file or directory
autoreconf: aclocal failed with exit status: 1

If anyone can help me with that.

Regards,
Immad


On Mon, Jan 11, 2010 at 1:38 PM, Kyriakos Zarifis > wrote:


Hey there,

for 9.10 I'd just try installing liboost1.38-dev  (my current setup
has had no problems with this version so far) or libboorst1.40-dev
instead

On Mon, Jan 11, 2010 at 7:43 PM, Muhammad Immad Uddin
mailto:immadud...@gmail.com>> wrote:

Hi,

I tried to install nox. I am using ubuntu 9.10. The problem I am
facing is that libboost1.35-dev cannot be installed using
get-apt. The error that I see is as follows:

sudo apt-get install autoconf automake g++ libtool python2.5
python2.5-dev python-twisted swig libboost1.35-dev
libxerces-c2-dev libssl-dev make libsqlite3-dev
python-simplejson python-sphinx qemu vde2 screen slirp
genisoimage debootstrap sharutils
Reading package lists... Done
Building dependency tree  
Reading state information... Done

autoconf is already the newest version.
automake is already the newest version.
g++ is already the newest version.
libtool is already the newest version.
python2.5 is already the newest version.
python2.5-dev is already the newest version.
python-twisted is already the newest version.
swig is already the newest version.
Package libboost1.35-dev is not available, but is referred to by
another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package libboost1.35-dev has no installation candidate

Can anyone help me with this.

Regards,
Immad

___
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


Re: [nox-dev] Unable to configure nox

2010-01-11 Thread Muhammad Immad Uddin
Thanks for the info. I was able to install libboost1.38-dev. However, now
when I was able to get noxcore using git. When I tried to configure it and
ran boot.sh, I get the following error.

./boot.sh
Disabling noxext...
building with all apps
aclocal: couldn't open directory `config': No such file or directory
autoreconf: aclocal failed with exit status: 1

If anyone can help me with that.

Regards,
Immad


On Mon, Jan 11, 2010 at 1:38 PM, Kyriakos Zarifis wrote:

> Hey there,
>
> for 9.10 I'd just try installing liboost1.38-dev  (my current setup has had
> no problems with this version so far) or libboorst1.40-dev instead
>
> On Mon, Jan 11, 2010 at 7:43 PM, Muhammad Immad Uddin <
> immadud...@gmail.com> wrote:
>
>> Hi,
>>
>> I tried to install nox. I am using ubuntu 9.10. The problem I am facing is
>> that libboost1.35-dev cannot be installed using get-apt. The error that I
>> see is as follows:
>>
>> sudo apt-get install autoconf automake g++ libtool python2.5 python2.5-dev
>> python-twisted swig libboost1.35-dev libxerces-c2-dev libssl-dev make
>> libsqlite3-dev python-simplejson python-sphinx qemu vde2 screen slirp
>> genisoimage debootstrap sharutils
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> autoconf is already the newest version.
>> automake is already the newest version.
>> g++ is already the newest version.
>> libtool is already the newest version.
>> python2.5 is already the newest version.
>> python2.5-dev is already the newest version.
>> python-twisted is already the newest version.
>> swig is already the newest version.
>> Package libboost1.35-dev is not available, but is referred to by another
>> package.
>> This may mean that the package is missing, has been obsoleted, or
>> is only available from another source
>> E: Package libboost1.35-dev has no installation candidate
>>
>> Can anyone help me with this.
>>
>> Regards,
>> Immad
>>
>> ___
>> 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


Re: [nox-dev] Unable to configure nox

2010-01-11 Thread Kyriakos Zarifis
Hey there,

for 9.10 I'd just try installing liboost1.38-dev  (my current setup has had
no problems with this version so far) or libboorst1.40-dev instead

On Mon, Jan 11, 2010 at 7:43 PM, Muhammad Immad Uddin
wrote:

> Hi,
>
> I tried to install nox. I am using ubuntu 9.10. The problem I am facing is
> that libboost1.35-dev cannot be installed using get-apt. The error that I
> see is as follows:
>
> sudo apt-get install autoconf automake g++ libtool python2.5 python2.5-dev
> python-twisted swig libboost1.35-dev libxerces-c2-dev libssl-dev make
> libsqlite3-dev python-simplejson python-sphinx qemu vde2 screen slirp
> genisoimage debootstrap sharutils
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> autoconf is already the newest version.
> automake is already the newest version.
> g++ is already the newest version.
> libtool is already the newest version.
> python2.5 is already the newest version.
> python2.5-dev is already the newest version.
> python-twisted is already the newest version.
> swig is already the newest version.
> Package libboost1.35-dev is not available, but is referred to by another
> package.
> This may mean that the package is missing, has been obsoleted, or
> is only available from another source
> E: Package libboost1.35-dev has no installation candidate
>
> Can anyone help me with this.
>
> Regards,
> Immad
>
> ___
> 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


Re: [nox-dev] Unable to configure nox

2010-01-11 Thread Brandon Heller
Hi Muhammad,

Run:
 apt-cache search libboost

... to see which libboost packages are available, and go for the newest.  I
had to do this to get NOX to compile with a newer version of Debian.

-b

On Mon, Jan 11, 2010 at 9:43 AM, Muhammad Immad Uddin
wrote:

> Hi,
>
> I tried to install nox. I am using ubuntu 9.10. The problem I am facing is
> that libboost1.35-dev cannot be installed using get-apt. The error that I
> see is as follows:
>
> sudo apt-get install autoconf automake g++ libtool python2.5 python2.5-dev
> python-twisted swig libboost1.35-dev libxerces-c2-dev libssl-dev make
> libsqlite3-dev python-simplejson python-sphinx qemu vde2 screen slirp
> genisoimage debootstrap sharutils
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> autoconf is already the newest version.
> automake is already the newest version.
> g++ is already the newest version.
> libtool is already the newest version.
> python2.5 is already the newest version.
> python2.5-dev is already the newest version.
> python-twisted is already the newest version.
> swig is already the newest version.
> Package libboost1.35-dev is not available, but is referred to by another
> package.
> This may mean that the package is missing, has been obsoleted, or
> is only available from another source
> E: Package libboost1.35-dev has no installation candidate
>
> Can anyone help me with this.
>
> Regards,
> Immad
>
> ___
> 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] Unable to configure nox

2010-01-11 Thread Muhammad Immad Uddin
Hi,

I tried to install nox. I am using ubuntu 9.10. The problem I am facing is
that libboost1.35-dev cannot be installed using get-apt. The error that I
see is as follows:

sudo apt-get install autoconf automake g++ libtool python2.5 python2.5-dev
python-twisted swig libboost1.35-dev libxerces-c2-dev libssl-dev make
libsqlite3-dev python-simplejson python-sphinx qemu vde2 screen slirp
genisoimage debootstrap sharutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
autoconf is already the newest version.
automake is already the newest version.
g++ is already the newest version.
libtool is already the newest version.
python2.5 is already the newest version.
python2.5-dev is already the newest version.
python-twisted is already the newest version.
swig is already the newest version.
Package libboost1.35-dev is not available, but is referred to by another
package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package libboost1.35-dev has no installation candidate

Can anyone help me with this.

Regards,
Immad
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org