Hi,
In fact I forgot to add this line to configure: src/nox/coreapps/try_topology/Makefile Now, the problem is with make. I think I did not edit well the makefile.am since when compiling it gives me this error: "No rule to make target `try_topology.py', needed by `all-am'. Stop."
Here is my makefile.am:

include ../../../Make.vars

EXTRA_DIST =\
    meta.json\
    __init__.py\
    try_topology.py

NOX_RUNTIMEFILES = meta.json    \
    __init__.py        \
    try_topology.py

all-local: nox-all-local
clean-local: nox-clean-local
install-exec-hook: nox-install-local

and my meta.json file:

{
    "components": [
    {
            "name": "try_topology" ,
            "dependencies": [
                "python"
            ],
            "python": "nox.coreapps.try_topology.try_topology"
        }
    ]
}

Can you please check if everything is ok ?
Thanks a lot for your kind help.
Regards,
Karim


On 04/01/2011 10:32 AM, kk yap wrote:
Try editing configure.ac.in and rerunning ./boot.sh, ../configure and make.

Regards
KK

On 1 April 2011 01:30, Kyriakos Zarifis<[email protected]>  wrote:
Hey,
you only need to rebuild NOX the first time you introduce a new python
component (after following the instructions on the wiki), so that the links
are created to the build/src/ directory. After that, you can simply run NOX
each time you edit your python component.

On Thu, Mar 31, 2011 at 11:32 PM, Bill Liao<[email protected]>  wrote:
On Fri, Apr 1, 2011 at 5:29 AM, Kyriakos Zarifis<[email protected]>
wrote:
Hi Karim,
did you rerun ../configure and make after you edited configure.ac and
Makefile.am?

On Thu, Mar 31, 2011 at 7:42 AM, karim torkmen
<[email protected]>
wrote:
Hi,
I developed a component when I try to run it, I get the following error
message :

****************************
00001|nox|INFO:Starting nox_core (/nox/build/src/.libs/lt-nox_core)
00002|nox|DBG:Application installation report:
00003|nox|DBG:built-in DSO deployer:
    Current state: INSTALLED
    Required state: INSTALLED
    Dependencies:

00004|nox|DBG:built-in event dispatcher:
    Current state: INSTALLED
    Required state: INSTALLED
    Dependencies:

00005|nox|ERR:Application 'try_topology' description not found.
***************************************
To add my component I tried two methods:
The first one is through executing the script : nox-new-c-app.py
The second one is by editing meta.json, configure.ac and Makefile.am.
Unfortunately, none of them was able to make me run my component.

Thank you for your help.
Regards,
Karim


_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev

_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev


Hi, Kyriakos
   Sorry to interrupt. But I'm wondering is it necessary to re-make
after building a new python component.
   As far as I know after reading some source, there is no such
requirement right?
   The python component is managed by PyRt, just as Dso-deployer. So,
for c++ component, maybe we should make to produce the *.so dynamic
library, but what will MAKE produce for new python component?

   Regards
   wliao

_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev


_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev

_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev

Reply via email to