hi Kyriakos Zarifis
    Thank you very much for your quick reply, the following is my steps:
1) delete the folder(mobilevms) from nox/build/src/nox/netapps

2) copy the folder(mobilevms) to nox/src/nox/netapps (the file meta.xml in 
mobilevms is replaced by the file meta.json)
3) switch to nox directory and run the command: ./boot.sh
 the terminal shows:
building with all apps
Disabling noxext...
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
libtoolize: copying file `config/config.guess'
libtoolize: copying file `config/config.sub'
libtoolize: copying file `config/install-sh'
libtoolize: copying file `config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `config'.
libtoolize: copying file `config/libtool.m4'
libtoolize: You should add the contents of `config/libtool.m4' to `aclocal.m4'.
libtoolize: copying file `config/ltoptions.m4'
libtoolize: You should add the contents of `config/ltoptions.m4' to 
`aclocal.m4'.
libtoolize: copying file `config/ltsugar.m4'
libtoolize: You should add the contents of `config/ltsugar.m4' to `aclocal.m4'.
libtoolize: copying file `config/ltversion.m4'
libtoolize: copying file `config/lt~obsolete.m4'
libtoolize: You should add the contents of `config/lt~obsolete.m4' to 
`aclocal.m4'.
src/nox/netapps/mobilevms/wireshark_dissectors/dc_cmd/Makefile.am:23: 
`hsapi.la' is not a standard libtool library name
src/nox/netapps/mobilevms/wireshark_dissectors/dc_cmd/Makefile.am:23: did you 
mean `libhsapi.la'?
src/nox/netapps/mobilevms/wireshark_dissectors/dc_cmd/Makefile.am:31: variable 
`dc_cmd_la_LIBADD' is defined but no program or
src/nox/netapps/mobilevms/wireshark_dissectors/dc_cmd/Makefile.am:31: library 
has `dc_cmd_la' as canonical name (possible typo)
src/nox/netapps/mobilevms/wireshark_dissectors/dc_cmd/Makefile.am:30: variable 
`dc_cmd_la_LDFLAGS' is defined but no program or
src/nox/netapps/mobilevms/wireshark_dissectors/dc_cmd/Makefile.am:30: library 
has `dc_cmd_la' as canonical name (possible typo)
src/nox/netapps/mobilevms/wireshark_dissectors/dc_laptop/Makefile.am:23: 
`hsapi.la' is not a standard libtool library name
src/nox/netapps/mobilevms/wireshark_dissectors/dc_laptop/Makefile.am:23: did 
you mean `libhsapi.la'?
src/nox/netapps/mobilevms/wireshark_dissectors/dc_laptop/Makefile.am:31: 
variable `dc_laptop_la_LIBADD' is defined but no program or
src/nox/netapps/mobilevms/wireshark_dissectors/dc_laptop/Makefile.am:31: 
library has `dc_laptop_la' as canonical name (possible typo)
src/nox/netapps/mobilevms/wireshark_dissectors/dc_laptop/Makefile.am:30: 
variable `dc_laptop_la_LDFLAGS' is defined but no program or
src/nox/netapps/mobilevms/wireshark_dissectors/dc_laptop/Makefile.am:30: 
library has `dc_laptop_la' as canonical name (possible typo)
src/nox/netapps/mobilevms/wireshark_dissectors/dc_stats/Makefile.am:23: 
`hsapi.la' is not a standard libtool library name
src/nox/netapps/mobilevms/wireshark_dissectors/dc_stats/Makefile.am:23: did you 
mean `libhsapi.la'?
src/nox/netapps/mobilevms/wireshark_dissectors/dc_stats/Makefile.am:31: 
variable `dc_stats_la_LIBADD' is defined but no program or
src/nox/netapps/mobilevms/wireshark_dissectors/dc_stats/Makefile.am:31: library 
has `dc_stats_la' as canonical name (possible typo)
src/nox/netapps/mobilevms/wireshark_dissectors/dc_stats/Makefile.am:30: 
variable `dc_stats_la_LDFLAGS' is defined but no program or
src/nox/netapps/mobilevms/wireshark_dissectors/dc_stats/Makefile.am:30: library 
has `dc_stats_la' as canonical name (possible typo)
autoreconf: automake failed with exit status: 1

4)  cd build/
    ../configure
there is no error here
5) make -j
    there is also no error
6) cd src/
  ./nox_core -v -v -i ptcp:6633 mobilevms
the terminal shows:
00043|nox|ERR:Application 'mobilevms' description not found.

Now i try some methods to solve this problem. The first one is: i think the 
wireshark_dissectors folder(in mobilevms) is no usefulness , so i delete it 
from mobilevms and run the ./boot.sh command again(there is no error now), but 
when i run the command
  ./nox_core -v -v -i ptcp:6633 mobilevms
it also shows: 00043|nox|ERR:Application 'mobilevms' description not found.
At this time i copy the meta.json from nox/src/nox/netapps/mobilevms to 
nox/build/src/nox/netapps/mobilevms and then run the command ./nox_core -v -v 
-i ptcp:6633 mobilevms again ,the terminal shows:
00081|nox|ERR:Cannot change the state of 'mobilevms' to INSTALLED:
'mobilevms' ran into an error:
    cannot import a Python module 'nox.netapps.mobilevms.mobilevms':
    ImportError: No module named mobilevms.mobilevms
Now i have no idea for this, please help me...
best wishes
                                                                             
wang jian
                                                                    Thursday 
October 27, 2011


   
At 2011-10-27 10:50:35,"Kyriakos Zarifis" <kyr.zari...@gmail.com> wrote:
You shouldn't copy any source code into the build/ directory. Anything that 
needs to be there will be created automatically when you build
So only copy the folder you downloaded into nox/src/nox/netapps    (delete it 
from nox/build/src/nox/netapps)


On Wed, Oct 26, 2011 at 7:41 PM, 王健<wangjian2008_12...@126.com> wrote:

 Thank you very much for your help, this is my first time to ask a question on 
NOX,  you give me confidence to finish this experiment.
   I downloaded the source code of nox-0.40-with-mobilevms 
fromhttp://www.openflow.org/wk/index.php/Mobile_VMs. Now i want to use its 
mobilevms code on my NOX(destiny), so i follow the steps on nox 
website--http://noxrepo.org/noxwiki/index.php/Developing_in_NOX.
   First i copy the folder mobilevms in nox-0.40-with-mobilevms/src/nox/netapps 
to the specified path(src/nox/netapps) indicated by the website.  But there are 
two paths, one is nox/src/nox/netapps, the other is nox/build/src/nox/netapps. 
As i do not sure which it is, so i copy the folder to both. At then i use the 
meta.json you sended to me to replace the meta.xml. Next step i switch to nox 
directory and run the command:  ./boot.sh
the terminal shows: automake: cannot open < 
build/src/nox/netapps/mobilevms/../../../Make.vars: no such file or directory
autoreconf: automake failed with exit status: 1
then i go on and run: cd build/
                                   ../configure
the terminal shows: config.status: error: cannot find input file: 
`build/src/nox/netapps/mobilevms/wireshark_dissectors/dc_stats/Makefile.in'
i also go on and run:                              
                                        make -j
it shows:automake-1.11: cannot open < 
build/src/nox/netapps/mobilevms/../../../Make.vars: no such file or directory
make: *** [../Makefile.in] error 1
I don't know where it is wrong, could you please give me some suggests, thank 
you very very much, look forward to hear form you~
best wishes
                                                                                
                        wang jian
                                                                                
                 Thursday  October  27, 2011< br>       



_______________________________________________
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

Reply via email to