Re: [nox-dev] g++ internal when compiling

2012-02-16 Thread Kyriakos Zarifis
Murphy pointed out that this could be because of the -j 5 flag. This flag
make to run 5 jobs at a time.
Indeed, from the wiki:
The *../configure* step checks for required dependencies. 'make -j 5'
should work on a system with 1 GB of RAM; 'make -j' may work on systems
with more RAM.
I was indeed compiling in a vm with 1gb ram, and running make without '-j
5' worked. It looks like 'authenticator' and 'user_event_log' are the most
memory intensive components to compile. Or there's a breaking change with a
more recent version of g++. Or a combination :
Anyway, give that a try, I'm guessing that this will work for you too.

On Wed, Feb 15, 2012 at 2:33 PM, Kyriakos Zarifis kyr.zari...@gmail.comwrote:

 I couldn't look at it at the time, so I ended up simply not compiling the
 offending components.. I am planning to take a look at some point soon (but
 if you do it first feel free to share: )

 On Wed, Feb 15, 2012 at 2:15 PM, Shrutarshi Basu ba...@cs.cornell.eduwrote:

 Did you manage to fix it? If so, do you remember what you did?
 Thanks,


 On Wed, Feb 15, 2012 at 3:00 PM, Kyriakos Zarifis 
 kyr.zari...@gmail.comwrote:

 I actually came across this too last week when compiling destiny on
 Ubuntu 11.10.
 It also happened for user_event_log and I think maybe one more
 component.

 On Wed, Feb 15, 2012 at 9:58 AM, Shrutarshi Basu 
 ba...@cs.cornell.eduwrote:

 Hi guys,
 I'm trying to compile the Destiny branch on Ubuntu 10.04 with GCC 4.4
 but I keep getting the following error:

 g++: Internal error: Killed (program cc1plus)
 Please submit a full bug report.
 See file:///usr/share/doc/gcc-4.4/README.Bugs for instructions.
 make[9]: *** [authenticator_la-authenticator_util.lo] Error 1
 make[9]: *** Waiting for unfinished jobs
 make[9]: Leaving directory
 `/home/user/src/nox/build/src/nox/netapps/authenticator'
 make[8]: *** [all] Error 2

 Can someone tell me what's wrong? Configure finishes fine, should I be
 using a different GCC version?
 Thanks,
 Basu

 --
 Shrutarshi Basu
 Basus.me
 The ByteBaker http://bytebaker.com


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





 --
 Shrutarshi Basu
 Basus.me
 The ByteBaker http://bytebaker.com



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


[nox-dev] monitoring module not available in my nox repository

2012-02-16 Thread Baraki Halefom
hello every one,

I am trying to gather the flow statistics info from switches in my network
through my Component.
I tried to import the 'monitoring' module to use it send flow statistics
request as follows.

 from nox.netapps.monitoring.monitoring import Monitoring
and got the following error
ImportError: No module named monitoring.monitoring

isn't the monitoring module available in the zaku version? what else could
it be? similarly it gives me similar error when i import the pyopenflow
(import nox.lib.pyopenflow as of) model. when i check the directory list
both modules are not available.


Moreover,

inst.register_for_flow_stats_in(my_flow_in_handler)
gives me the following error
Attribute erro: myswitch instance has no attribute
'register_for_flow_stats_in' where 'myswitch' is my custom component

thanks in advance

-- 


Baraki H. Abay
Department of Math and Computer science
North Carolina Central University
Durham, 27707 NC
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev


Re: [nox-dev] monitoring module not available in my nox repository

2012-02-16 Thread Kyriakos Zarifis
That's right, 'monitoring' is only in destiny.

git checkout -b destiny origin/destiny
to create a new local destiny branch and switch to it   (from
herehttp://noxrepo.org/noxwiki/index.php/Installation/DebianUbuntu
)

On Thu, Feb 16, 2012 at 9:22 AM, Aaron Rosen aro...@clemson.edu wrote:

 I know it's definitely in destiny if you switch branches to that.

 Aaron

 On Thu, Feb 16, 2012 at 12:02 PM, Baraki Halefom bara...@gmail.com
 wrote:
  hello every one,
 
  I am trying to gather the flow statistics info from switches in my
 network
  through my Component.
  I tried to import the 'monitoring' module to use it send flow statistics
  request as follows.
 
   from nox.netapps.monitoring.monitoring import Monitoring
  and got the following error
  ImportError: No module named monitoring.monitoring
 
  isn't the monitoring module available in the zaku version? what else
 could
  it be? similarly it gives me similar error when i import the pyopenflow
  (import nox.lib.pyopenflow as of) model. when i check the directory list
  both modules are not available.
 
 
  Moreover,
 
  inst.register_for_flow_stats_in(my_flow_in_handler)
  gives me the following error
  Attribute erro: myswitch instance has no attribute
  'register_for_flow_stats_in' where 'myswitch' is my custom component
 
  thanks in advance
 
  --
 
 
  Baraki H. Abay
  Department of Math and Computer science
  North Carolina Central University
  Durham, 27707 NC
 
 
  ___
  nox-dev mailing list
  nox-dev@noxrepo.org
  http://noxrepo.org/mailman/listinfo/nox-dev
 



 --
 Aaron O. Rosen
 Masters Student - Network Communication
 306B Fluor Daniel
 ___
 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


[nox-dev] I can't run nox after checking out to destiny

2012-02-16 Thread Baraki Halefom
please help me. after checking out to destiny branch I can not even run nox
controller

the command  ./nox_core -i ptcp:6633
displays a bunch of information with a last info  Caught signal 6 
Aborted.

what am I supposed to do after checkout.
I have done the following after checking out.

./boot.sh
   mkdir build/
   cd build/
   ../configure
   make -j 5

thanks

-- 


Baraki H. Abay
Department of Math and Computer science
North Carolina Central University
Durham, 27707 NC
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev