NS3-DCE instellation error!

1,482 views
Skip to first unread message

Hyder

unread,
Apr 28, 2014, 10:09:29 AM4/28/14
to ns-3-...@googlegroups.com
Hi everyone,
I have a problem in my ubuntu 12.04 LTS, thats why again I was installed this and now I am trying to install ns3-dce from this link,
http://www.nsnam.org/docs/dce/release/1.0/manual/html/getting-started.html

when I was gave the command,
bake.py download

then I got this error,
[  >> Downloading gccxml-ns3 (target directory:gccxml) - Problem
 > Problem: Optional dependency, module "gccxml-ns3" failed
   This may reduce the  functionality of the final build.
   However, bake will continue since "gccxml-ns3" is not an essential dependency.
   For more information call bake with -v or -vvv, for full verbose mode.

 >> Searching for system dependency python-dev - OK
 >> Searching for system dependency pygraphviz - OK
 >> Searching for system dependency pygoocanvas - OK
 >> Searching for system dependency g++ - OK
 >> Downloading libaspect - Problem
 > Problem: Optional dependency, module "libaspect" failed
   This may reduce the  functionality of the final build.
   However, bake will continue since "libaspect" is not an essential dependency.

 >> Searching for system dependency qt4 - Problem

y.

   This may reduce the  functionality of the final build.
   However, bake will continue since "iperf" is not an essential dependency.
   For more information call bake with -v or -vvv, for full verbose mode.

 >> Downloading wget - Problem
 > Problem: Optional dependency, module "wget" failed
   This may reduce the  functionality of the final build.
   However, bake will continue since "wget" is not an essential dependency.
   For more information call bake with -v or -vvv, for full verbose mode.

 >> Downloading thttpd - Problem
 > Problem: Optional dependency, module "thttpd" failed
   This may reduce the  functionality of the final build.
   However, bake will continue since "thttpd" is not an essential dependency.
   For more information call bake with -v or -vvv, for full verbose mode.

 >> Downloading pygccxml - Problem
 > Problem: Optional dependency, module "pygccxml" failed
   This may reduce the  functionality of the final build.

 >> Downloading elf-loader - Problem
.


































y.
   For more information call bake with -v or -vvv, for full verbose mode.

 >> Downloading ccnx - Problem
  > Error: Problems writing the file, error: [Errno 28] No space left on device
 > Problem: Optional dependency, module "ccnx" failed
   This may reduce the  functionality of the final build.
   However, bake will continue since "ccnx" is not an essential dependency.
   For more information call bake with -v or -vvv, for full verbose mode.

 >> Downloading pybindgen-dev - Problem
  > Error: Problems writing the file, error: [Errno 28] No space left on device
 > Problem: Optional dependency, module "pybindgen-dev" failed
   This may reduce the  functionality of the final build.
   However, bake will continue since "pybindgen-dev" is not an essential dependency.
   For more information call bake with -v or -vvv, for full verbose mode.

 >> Downloading ns-3-dev-dce - Problem
  > Error: Problems writing the file, error: [Errno 28] No space left on device
 > Error:  Critical dependency, module "ns-3-dev-dce" failed
   For more information call Bake with --debug and/or -v, -vvv, for full verbose mode (bake --help)
 ]

I do not know which type of space?

BR,
Hyder

Emilio Mancini

unread,
Apr 28, 2014, 10:19:06 AM4/28/14
to ns-3-...@googlegroups.com
It is very likely to be your hard disk space or quota. The command 'df' may give you some clue.

I suggest you to refer to the latest release of the manual at http://www.nsnam.org/docs/dce/manual/html/getting-started.html
You can also use the command
bake.py check
to see the libraries you may need

Hyder

unread,
Apr 28, 2014, 10:26:01 AM4/28/14
to ns-3-...@googlegroups.com
Hi Emilio,
Thank you for your reply. I giving the command [ bake.py check ]
I have got this result,
[ > Python - OK
 > GNU C++ compiler - OK
 > Mercurial - OK
 > CVS - is missing
 > GIT - OK
 > Bazaar - OK
 > Tar tool - OK
 > Unzip tool - OK
 > Unrar tool - is missing
 > 7z  data compression utility - is missing
 > XZ data compression utility - OK
 > Make - OK
 > cMake - is missing
 > patch tool - OK
 > autoreconf tool - is missing

 > Path searched for tools: /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /usr/games /home/maruf/Desktop/bake /home/maruf/Desktop/ns3-dce/bake bin  /home/maruf/Desktop/bake /home/maruf/Desktop/ns3-dce/bake
 ]

How I can solve the missing file? Can you give me any suggestion?

BR,
Hyder

Konstantinos

unread,
Apr 28, 2014, 10:33:38 AM4/28/14
to ns-3-...@googlegroups.com
Try using the latest stable NS-3-DCE, that is dce-1.2 (with 1.3 coming soon) instead of 1.0


Hope that it helps.

Sumeet Ranka

unread,
Feb 9, 2017, 9:57:30 AM2/9/17
to ns-3-users
Hi
I have been using version 1.9
I am facing the same problem. When trying
bake.py check
then I get this output:
 > Python - OK
 > GNU C++ compiler - OK
 > Mercurial - OK
 > CVS - OK

 > GIT - OK
 > Bazaar - OK
 > Tar tool - OK
 > Unzip tool - OK
 > Unrar tool - OK
 > 7z  data compression utility - OK

 > XZ data compression utility - OK
 > Make - OK
 > cMake - OK
 > patch tool - OK
 > autoreconf tool - OK

However when I run
bake.py build
it shows me

 > Problem: Optional dependency, module * failed
* = iperf,  gccxml-ns3, pygccxml ,  netanim-3.107 ,  pybindgen-0.17.0.post57+nga6376f2, elf-loader

Also inside the folder source/ns-3-dce when I am running
./way configure
I am getting this error:
Setting top to                           : /home/ranka47/BTP/dce/source/ns-3-dce
Setting out to                           : /home/ranka47/BTP/dce/source/ns-3-dce/build
Checking for 'gcc' (c compiler)          : /usr/bin/gcc
Checking for 'g++' (c++ compiler)        : /usr/bin/g++
Checking for program pkg-config          : /usr/bin/pkg-config
Checking for pkg-config version >= '0.0.0' : yes
Checking for -Wl,--soname=foo              : yes
Traceback (most recent call last):
  File "/home/ranka47/BTP/dce/source/ns-3-dce/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Scripting.py", line 97, in waf_entry_point
    run_commands()
  File "/home/ranka47/BTP/dce/source/ns-3-dce/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Scripting.py", line 151, in run_commands
    run_command(cmd_name)
  File "/home/ranka47/BTP/dce/source/ns-3-dce/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Scripting.py", line 143, in run_command
    ctx.execute()
  File "/home/ranka47/BTP/dce/source/ns-3-dce/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Configure.py", line 128, in execute
    super(ConfigurationContext,self).execute()
  File "/home/ranka47/BTP/dce/source/ns-3-dce/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Context.py", line 87, in execute
    self.recurse([os.path.dirname(g_module.root_path)])
  File "/home/ranka47/BTP/dce/source/ns-3-dce/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Context.py", line 128, in recurse
    user_function(self)
  File "/home/ranka47/BTP/dce/source/ns-3-dce/wscript", line 91, in configure
    ns3waf.check_modules(conf, ['core', 'network', 'internet'], mandatory = True)
  File "/home/ranka47/BTP/dce/source/ns-3-dce/ns3waf/__init__.py", line 273, in check_modules
    _check_dependencies(conf, modules, mandatory)
  File "/home/ranka47/BTP/dce/source/ns-3-dce/ns3waf/__init__.py", line 158, in _check_dependencies
    pcfiles = glob.glob(conf.env['NS3_DIR'] + '/lib*/pkgconfig/' + 'libns%s*-%s-%s*'
TypeError: can only concatenate list (not "str") to list

Please help me out with this
Thanks.

Babu

unread,
Feb 12, 2017, 11:15:00 AM2/12/17
to ns-3-users
Open the file /home/ranka47/BTP/dce/source/ns-3-dce/bindings/wscript

and add the below line by replacing the existing one

REQUIRED_PYBINDGEN_VERSION = ' pybindgen-0.17.0.post57+nga6376f2'
Reply all
Reply to author
Forward
0 new messages