Hi Anthony, have you also updated the files Makefile.am and meta.json in your component folder in the src/ tree?
In Makefile.am the first line points to "Make.vars". It should probably be something like "include ../../../Make.vars" Can you verify that the path there is correct? You also need to add your component files under EXTRA_DIST and NOX_RUNTIMEFILES. Look at another python component for an example. In meta.json, you need to define the name of your component, its dependencies, and its python module. (Again looking at another component would help) BTW, if you only work in python, you should probably take a look at POX<http://www.noxrepo.org/pox/about-pox/>. A lot of those things are much simpler there. On Sun, Jun 17, 2012 at 4:53 AM, Anthony Salim < [email protected]> wrote: > Hi Kyriakos, > > May i know is the steps that i did is correct? i tried every ways to > compile it but still getting the errors. Thanks. > > Regards, > Anthony > > > On Sun, Jun 17, 2012 at 12:09 AM, Anthony Salim < > [email protected]> wrote: > >> Hi Kyriakos, >> >> This is the exact error message when i tried to run ./boot.sh >> >> automake: cannot open < >> src/nox/netapps/.fr-wrXqt0/nox/src/nox/netapps/mycomponent/../../../Make.vars: >> No such file or directory >> >> I run this under the nox root folder. component name also been included >> in configure.ac.in file. Thanks. >> >> >> Regards, >> Anthony >> >> On Sat, Jun 16, 2012 at 11:32 PM, Anthony Salim < >> [email protected]> wrote: >> >>> Hi Kyriakos, >>> >>> Yes. steps i did: >>> >>> 1. I put the component folder inside the nox/src/netapps folder >>> 2. go to nox root folder and rerun the "./boot.sh >>> >>> From this on, the error said could not open the file inside the >>> nox/src/netapps folder make.vars file. This error appear before i do "make". >>> >>> Regards, >>> Anthony >>> >>> >>> On Sat, Jun 16, 2012 at 6:03 AM, Kyriakos Zarifis <[email protected] >>> > wrote: >>> >>>> Hey Anthony, >>>> >>>> how are you trying to compile? you should be running make in the root >>>> src/ folder (not build/src), just like when you compiled NOX for the first >>>> time, after having added your src files inside >>>> src/nox/netapps/something_component. >>>> Also, make sure you add your component's name under "netapps" in >>>> configure.ac.in. >>>> >>>> Then rerun ./boot, ../configure, and make. >>>> >>>> The compiled component should then appear in the build/ tree >>>> (build/src/nox/netapps/something_component) >>>> (In case of a python component, the "compiled" component will be simply >>>> links to the source files in the src tree - but this is the right way to do >>>> it) >>>> >>>> Kyriakos >>>> >>>> On Fri, Jun 15, 2012 at 6:16 AM, Anthony Salim < >>>> [email protected]> wrote: >>>> >>>>> Hi guys, >>>>> >>>>> When i try to compile some component folder, it will gives me an error >>>>> that says, >>>>> >>>>> automake: cannot open < >>>>> build/src/nox/netapps/something_component/../../../Make.vars: no such file >>>>> or directory >>>>> >>>>> How to resolve this because when i see under the build folder, the >>>>> component name is there but inside only make file. Its supposed to build >>>>> automatically all the files inside. Thanks. >>>>> >>>>> Regards, >>>>> Anthony >>>>> >>>> >>>> >>> >> >
