ns3 dce build problem

238 views
Skip to first unread message

Saravanan Ragunath

unread,
Aug 19, 2015, 3:11:26 AM8/19/15
to ns-3-users
hi, i am saravanan

i have got the below report, i am using ubuntu 12.04 64 bit, python 2.7,

command used - bake.py --debug build
Building ccnx -ok
Building netanim-3.106 -ok

Building elf-loader -ok

but, 
 
Building ns-3.23 -   -> LD_LIBRARY_PATH /home/elseq/Testing/GitRepo/yem/external/dce/build/lib
Problem

TaskError: <bake.Exceptions.TaskError instance at 0x28bca28>

  File "/home/elseq/Testing/GitRepo/yem/external/dce/bake/bake/Module.py", line 423, in build
    self._build.build(env, jobs)
  File "/home/elseq/Testing/GitRepo/yem/external/dce/bake/bake/ModuleBuild.py", line 414, in build
    env=self._env(env.objdir))
  File "/home/elseq/Testing/GitRepo/yem/external/dce/bake/bake/ModuleEnvironment.py", line 533, in run
    raise TaskError('Subprocess failed with error %d: %s' % (retcode, str(args)))
 > Error:  Critical dependency, module "ns-3.23" failed

DependencyUnmet: <bake.Dependencies.DependencyUnmet instance at 0x2d390e0>

  File "/home/elseq/Testing/GitRepo/yem/external/dce/bake/bake/Bake.py", line 569, in _iterate
    deps.resolve(targets)
  File "/home/elseq/Testing/GitRepo/yem/external/dce/bake/bake/Dependencies.py", line 198, in resolve
    self._resolve_serial(targets, callback)
  File "/home/elseq/Testing/GitRepo/yem/external/dce/bake/bake/Dependencies.py", line 414, in _resolve_serial
    finished = self._resolve_one_iteration(targets, callback)
  File "/home/elseq/Testing/GitRepo/yem/external/dce/bake/bake/Dependencies.py", line 392, in _resolve_one_iteration
    raise DependencyUnmet(i.dst(), tailError)

please help me to resolve it

thankyou
regards,
saravanan

Konstantinos

unread,
Aug 19, 2015, 4:43:58 AM8/19/15
to ns-3-users
Hi,

There seems to be a critical dependency missing. Try to run bake with -vv to get more information.

Saravanan Ragunath

unread,
Aug 19, 2015, 5:44:04 AM8/19/15
to ns-3-...@googlegroups.com
i have used bake.py build -vv


>> Building ns-3.23 -
 /home/elseq/Testing/GitRepo/yem/external/dce/source/ns-3.23/waf configure --prefix=/home/elseq/Testing/GitRepo/yem/external/dce/build --enable-examples --enable-tests dir=/home/elseq/Testing/GitRepo/yem/external/dce/source/ns-3.23
Traceback (most recent call last):
  File "/home/elseq/Testing/GitRepo/yem/external/dce/source/ns-3.23/waf", line 162, in <module>
    from waflib import Scripting
  File "/home/elseq/Testing/GitRepo/yem/external/dce/source/ns-3.23/.waf-1.7.16-9ca17eb492c97b689870b4ff9db75880/waflib/Scripting.py", line 6, in <module>
    from waflib import Utils,Configure,Logs,Options,ConfigSet,Context,Errors,Build,Node
  File "/home/elseq/Testing/GitRepo/yem/external/dce/source/ns-3.23/.waf-1.7.16-9ca17eb492c97b689870b4ff9db75880/waflib/Utils.py", line 5, in <module>
    import os,sys,errno,traceback,inspect,re,shutil,datetime,gc
  File "/usr/lib/python2.7/inspect.py", line 39, in <module>
    import tokenize
  File "/home/elseq/Test_Automation_Git/TestAutomation/external/nltk/tokenize/__init__.py", line 62, in <module>
   
  File "/usr/lib/python2.7/dist-packages/nltk/__init__.py", line 84, in <module>
    from decorators import decorator, memoize
  File "/usr/lib/python2.7/dist-packages/nltk/decorators.py", line 169, in <module>
    @decorator
  File "/usr/lib/python2.7/dist-packages/nltk/decorators.py", line 147, in decorator
    if inspect.isclass(caller):
AttributeError: 'module' object has no attribute 'isclass'

 >> Building ns-3.23 - Problem
   > Subprocess failed with error 1: ['/home/elseq/Testing/GitRepo/yem/external/dce/source/ns-3.23/waf', 'configure', '--prefix=/home/elseq/Testing/GitRepo/yem/external/dce/build', '--enable-examples', '--enable-tests']

 > Error:  Critical dependency, module "ns-3.23" failed
   For more information call Bake with --debug and/or -v, -vvv, for full verbose mode (bake --help)

please resolve it

from saravanan

--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/cLdI86KPL1E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages