Re: [nox-dev] Fwd: help! i have problem wiht testing 'nox_core tests'

2009-07-15 Thread Noah
Hi Dan.

Thank your help,

But, unfortunately, I build with that one line command there's still
same problem,

2009/7/16 Dan Wendlandt :
> Hi Noah,
>
> It looks like the problem might be that the instructions are somewhat
> unclear.  The following line should be run as a single command:
>
> apt-get install autoconf automake g++ libtool python python-twisted swig
> libboost1.35-dev libxerces-c2-dev libssl-dev make
>
> On the webpage, there is a line-break between python-twisted and swig
> packages, and it seem that you may have interpreted this as starting a new
> command.
>
> There is no need for you to run 'swig' yourself. Once 'swig' is installed by
> apt-get, it will be invoked by the build system when you type 'make'.
>
> Dan
>
>
> Noah wrote:
>
> Hi Dan,
>
> I'm really thank your reply.
>
> As you said, I checked both files are exist and build is complete.
>
> I found out that build is incomplete. When I checked using 'make
> check', they show me some error.
>
>  Test suite "NOX" failed with:
>  25 assertions out of 96 passed
>  71 assertions out of 96 failed
>  3 test cases out of 74 passed
>  71 test cases out of 74 failed
>  71 test cases out of 74 aborted
>
>  FAIL: nox.test
>  
>  1 of 1 test failed
>  Please report to cont...@noxrepo.org
>  
>  make[3]: *** [check-TESTS] error 1
>  make[3]: Leaving directory `/root/noxcore/build/src'
>  make[2]: *** [check-am] error 2
>  make[2]: Leaving directory `/root/noxcore/build/src'
>  make[1]: *** [check-recursive] error1
>  make[1]: Leaving directory `/root/noxcore/build/src'
>  make: *** [check] error 2
>
>
> When I build nox, I didn't know how to handle swig libboost1.35-dev
> libxerces-c2-dev libssl-dev make' ,
> because I typed that command, is didn't work in terminal,
>
> just show
>
>  r...@nox-desktop:~# swig libboost1.35-dev libxerces-c2-dev libssl-dev make
>  swig error : Unrecognized option libboost1.35-dev
>  swig error : Unrecognized option libxerces-c2-dev
>  swig error : Unrecognized option libssl-dev
>  Use 'swig -help' for available options.
>
>
> so, I just install like 'apt-get install libboost1.35-dev
> libxerces-c2-dev libssl-dev'
>
> does it make some problem?
> and if I had to use swig, how can I handle it?
>
>
> 2009/7/14 Dan Wendlandt :
>
>
> Hi Noah,
>
> From what directory are you running "./nox_core tests"?   From that
> directory, does the file nox/netapps/user_event_log/pyuser_event_log.py
> exist?  If not, does the file nox/netapps/switchstats/pycswitchstats.py
> exist?  I assume the build completely successfully with no errors.
> dan
>
> Noah wrote:
>
>
> Hi,
>
> I need to run the noxrepo scripts for OpenFlow Switch.
>
> So, following the NOX installation, I installed nox.
>
> After that i tried to ./nox_core tests.
>
> Then there's an error message like below
>
> 1|sqlite3-impl|WARN:Transactional storage file not given in the
> command line; defaulting to 'testing.sqlite'
> 2|nox|ERR:Cannot change the state of 'tests' to INSTALLED:
> 'tests' has an unmet dependency:
>        'pyuser_event_log' ran into an error:
>                cannot import a Python module
> 'nox.netapps.user_event_log.pyuser_event_log':
>                ImportError: No module named
> netapps.user_event_log.pyuser_event_log
>
> can you tell me what's the problem??
>
> i'm working on Ubuntu 9.04.
>
> ___
> 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] Fwd: help! i have problem wiht testing 'nox_core tests'

2009-07-15 Thread Dan Wendlandt

Hi Noah,

It looks like the problem might be that the instructions are somewhat 
unclear.  The following line should be run as a single command:


apt-get install autoconf automake g++ libtool python python-twisted swig 
libboost1.35-dev libxerces-c2-dev libssl-dev make


On the webpage, there is a line-break between python-twisted and swig 
packages, and it seem that you may have interpreted this as starting a 
new command.


There is no need for you to run 'swig' yourself. Once 'swig' is 
installed by apt-get, it will be invoked by the build system when you 
type 'make'.


Dan


Noah wrote:

Hi Dan,

I'm really thank your reply.

As you said, I checked both files are exist and build is complete.

I found out that build is incomplete. When I checked using 'make
check', they show me some error.

 Test suite "NOX" failed with:
 25 assertions out of 96 passed
 71 assertions out of 96 failed
 3 test cases out of 74 passed
 71 test cases out of 74 failed
 71 test cases out of 74 aborted

 FAIL: nox.test
 
 1 of 1 test failed
 Please report to cont...@noxrepo.org
 
 make[3]: *** [check-TESTS] error 1
 make[3]: Leaving directory `/root/noxcore/build/src'
 make[2]: *** [check-am] error 2
 make[2]: Leaving directory `/root/noxcore/build/src'
 make[1]: *** [check-recursive] error1
 make[1]: Leaving directory `/root/noxcore/build/src'
 make: *** [check] error 2


When I build nox, I didn't know how to handle swig libboost1.35-dev
libxerces-c2-dev libssl-dev make' ,
because I typed that command, is didn't work in terminal,

just show

 r...@nox-desktop:~# swig libboost1.35-dev libxerces-c2-dev libssl-dev make
 swig error : Unrecognized option libboost1.35-dev
 swig error : Unrecognized option libxerces-c2-dev
 swig error : Unrecognized option libssl-dev
 Use 'swig -help' for available options.


so, I just install like 'apt-get install libboost1.35-dev
libxerces-c2-dev libssl-dev'

does it make some problem?
and if I had to use swig, how can I handle it?


2009/7/14 Dan Wendlandt :
  

Hi Noah,

From what directory are you running "./nox_core tests"?   From that
directory, does the file nox/netapps/user_event_log/pyuser_event_log.py
exist?  If not, does the file nox/netapps/switchstats/pycswitchstats.py
exist?  I assume the build completely successfully with no errors.
dan

Noah wrote:


Hi,

I need to run the noxrepo scripts for OpenFlow Switch.

So, following the NOX installation, I installed nox.

After that i tried to ./nox_core tests.

Then there's an error message like below

1|sqlite3-impl|WARN:Transactional storage file not given in the
command line; defaulting to 'testing.sqlite'
2|nox|ERR:Cannot change the state of 'tests' to INSTALLED:
'tests' has an unmet dependency:
   'pyuser_event_log' ran into an error:
   cannot import a Python module
'nox.netapps.user_event_log.pyuser_event_log':
   ImportError: No module named
netapps.user_event_log.pyuser_event_log

can you tell me what's the problem??

i'm working on Ubuntu 9.04.

___
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