I'm pulling from noxrepo right now.  Do you know when this option will get
pushed there?  I guess I'll switch to pulling from nicira if this will take
awhile.

-b

On Sat, Jan 3, 2009 at 2:42 PM, Martin Casado <[email protected]> wrote:

> Are you pulling from nicira or noxrepo?  If you're pulling from nicira then
> just boot with:
>
> ./booth.sh --apps-core
>
> and it will only build the core.  The greatly reduced compile time really
> helps.
>
> Thanks for pointing out the compiler error, I'll fix that.
> .martin
>
> On Jan 3, 2009, at 2:37 PM, Brandon Heller wrote:
>
> Thanks Martin and Ben,
>
> The issue was either the symlinking, for which I copied the all-am rule
> from switchstats/Makefile.am, or that I was running configure from the
> top-level dir but invoking nox from the build dir.
>
> Either way, works now, thanks.
>
> Also I tried to build the nox core beta (faster build would always be nice)
> and came across a make error:
>
> brand...@mvm-of1:~/nox2/nox-0.4.0~core~beta$ time make
> cd . && /bin/sh /home/brandonh/nox2/nox-0.4.0~core~beta/config/missing
> --run aclocal-1.10 -I config
>  cd . && /bin/sh /home/brandonh/nox2/nox-0.4.0~core~beta/config/missing
> --run automake-1.10 --foreign
> src/nox/thirdparty/Makefile.am:17: required directory
> src/nox/thirdparty/apache-log4cxx does not exist
> src/nox/thirdparty/Makefile.am:18: required directory
> src/nox/thirdparty/apache-log4cxx does not exist
> make: *** [Makefile.in] Error 1
>
> This was easy to fix by commenting out these two lines in
> src/nox/thirdparty/Makefile.am:
> #SUBDIRS += apache-log4cxx
> #DIST_SUBDIRS += apache-log4cxx
>
> Is there some way to build only the core nox parts while keeping git repo
> access?  It compiled in 1/4 the time.
>
> Thanks,
> Brandon
>
> On Sat, Jan 3, 2009 at 1:58 PM, Martin Casado <[email protected]> wrote:
>
>> Double check that your meta.xml file is being symlinked into the build
>> directory.  If not, you'll want to add it to NOX_RUNTIMEFILES in your
>> Makefile.am.
>>
>>  Hi,
>>>
>>> I'd like to add my application to nox in its own directory, rather than
>>> in
>>> examples.  I did the following:
>>>
>>> modified configure.ac at top level:
>>>  -ACI_MODULE([app],[Description of app],
>>>               [],[],[yes])
>>>  -add to ACI_MODULE[apps]... {app}
>>>  -at bottom: src/nox/apps/{app}/Makefile
>>> created dir
>>>  -add app
>>>  -add meta.xml
>>>  -add __init__.py?
>>>  -add Makefile.am
>>> ./boot.sh
>>> configure
>>> make
>>>
>>> ...but the application fails to load, because the description can't be
>>> found:
>>>
>>> ^cbrand...@mvm-of1:~/nox/noxcore/build/src$ ./nox_core -v -i ptcp:6633
>>> static_setup
>>> 00001|nox|DBG:Starting nox_core
>>> (/home/brandonh/nox/noxcore/build/src/.libs/lt-nox_core)
>>> 00002|pyrt|DBG:Loading a component description file
>>> 'nox/apps/topology/meta.xml'.
>>> 00003|pyrt|DBG:Loading a component description file
>>> 'nox/apps/noop/meta.xml'.
>>> 00004|pyrt|DBG:Loading a component description file
>>> 'nox/apps/examples/meta.xml'.
>>> 00005|pyrt|DBG:Loading a component description file
>>> 'nox/apps/simple_c_app/meta.xml'.
>>> 00006|pyrt|DBG:Loading a component description file
>>> 'nox/apps/authenticator/meta.xml'.
>>> 00007|pyrt|DBG:Loading a component description file
>>> 'nox/apps/hub/meta.xml'.
>>> 00008|pyrt|DBG:Loading a component description file
>>> 'nox/apps/storagews/meta.xml'.
>>> 00009|pyrt|DBG:Loading a component description file
>>> 'nox/apps/configuration/meta.xml'.
>>> 00010|pyrt|DBG:Loading a component description file
>>> 'nox/apps/pyrt/meta.xml'.
>>> 00011|pyrt|DBG:Loading a component description file
>>> 'nox/apps/switchstats/meta.xml'.
>>> 00012|pyrt|DBG:Loading a component description file
>>> 'nox/apps/coreui/meta.xml'.
>>> 00013|pyrt|DBG:Loading a component description file
>>> 'nox/apps/bcast_resolve/meta.xml'.
>>> 00014|pyrt|DBG:Loading a component description file
>>> 'nox/apps/switch/meta.xml'.
>>> 00015|pyrt|DBG:Loading a component description file
>>> 'nox/apps/storage/meta.xml'.
>>> 00016|pyrt|DBG:Loading a component description file
>>> 'nox/apps/default_switch_approval/meta.xml'.
>>> 00017|pyrt|DBG:Loading a component description file
>>> 'nox/apps/exit/meta.xml'.
>>> 00018|pyrt|DBG:Loading a component description file
>>> 'nox/apps/switchconfig/meta.xml'.
>>> 00019|pyrt|DBG:Loading a component description file
>>> 'nox/apps/bindings_storage/meta.xml'.
>>> 00020|pyrt|DBG:Loading a component description file
>>> 'nox/apps/user_event_log/meta.xml'.
>>> 00021|pyrt|DBG:Loading a component description file
>>> 'nox/apps/simple_c_py_app/meta.xml'.
>>> 00022|pyrt|DBG:Loading a component description file
>>> 'nox/apps/tests/meta.xml'.
>>> 00023|pyrt|DBG:Loading a component description file
>>> 'nox/apps/directory/meta.xml'.
>>> 00024|pyrt|DBG:Loading a component description file
>>> 'nox/apps/discovery/meta.xml'.
>>> 00025|pyrt|DBG:Loading a component description file
>>> 'nox/apps/routing/meta.xml'.
>>> 00026|pyrt|DBG:Loading a component description file
>>> 'nox/apps/miscws/meta.xml'.
>>> 00027|pyrt|DBG:Loading a component description file
>>> 'nox/apps/flow_fetcher/meta.xml'.
>>> 00028|nox|DBG:Application installation report:
>>> built-in event dispatcher:
>>>    Current state: INSTALLED
>>>    Required state: INSTALLED
>>>    Dependencies:
>>>
>>> built-in DSO deployer:
>>>    Current state: INSTALLED
>>>    Required state: INSTALLED
>>>    Dependencies:
>>>
>>> python:
>>>    Current state: INSTALLED
>>>    Required state: INSTALLED
>>>    Dependencies:
>>>
>>> 00029|nox|ERR:Application 'static_setup' description not found.
>>>
>>> What step did I miss?
>>>
>>> -Brandon
>>>
>>>  ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> nox-dev mailing list
>>> [email protected]
>>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>>>
>>>
>>
>>
>
>
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to