[ndnSIM] boost lib error
Spyridon (Spyros) Mastorakis
spiros.mastorakis at gmail.com
Wed Feb 25 19:20:37 PST 2015
Hello,
I remember that I have encountered this error. It happened to me when I tried to move an installed version of ndn-cxx from one directory to another. I guess that this moving should have broken something. :)
Solutions for your problem:
1) First of all, run sudo ./waf
2) If step 1 does not work, run ./waf distclean and then try to configure, build and install again
3) if step 2 does not work, delete your current directory of ndn-cxx and run git clone again for a fresh clone of the library. Then, configure and build again.
--
Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/
Internet Research Laboratory
PhD Computer Science
UCLA
> On Feb 25, 2015, at 6:54 PM, 최원준 <wonjunchoi001 at gmail.com> wrote:
>
> Hello.
>
> I got the error when ./waf configure for ndn-cxx.
> Please review this.
>
> Wonjun, Choi
> ------------------------------------------------------------------------------------------
> Checking boost libs : Traceback (most recent call last):
> File "/home/choiwonjun/ndnSIM/ndn-cxx/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", line 103, in waf_entry_point
> run_commands()
> File "/home/choiwonjun/ndnSIM/ndn-cxx/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", line 164, in run_commands
> ctx=run_command(cmd_name)
> File "/home/choiwonjun/ndnSIM/ndn-cxx/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", line 155, in run_command
> ctx.execute()
> File "/home/choiwonjun/ndnSIM/ndn-cxx/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Configure.py", line 92, in execute
> super(ConfigurationContext,self).execute()
> File "/home/choiwonjun/ndnSIM/ndn-cxx/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py", line 92, in execute
> self.recurse([os.path.dirname(g_module.root_path)])
> File "/home/choiwonjun/ndnSIM/ndn-cxx/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py", line 133, in recurse
> user_function(self)
> File "/home/choiwonjun/ndnSIM/ndn-cxx/wscript", line 82, in configure
> conf.check_boost(lib=USED_BOOST_LIBS, mandatory=True)
> File "/home/choiwonjun/ndnSIM/ndn-cxx/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Configure.py", line 191, in fun
> return f(*k,**kw)
> File ".waf-tools/boost.py", line 312, in check_boost
> path, libs = self.boost_get_libs(**params)
> File "/home/choiwonjun/ndnSIM/ndn-cxx/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Configure.py", line 191, in fun
> return f(*k,**kw)
> File ".waf-tools/boost.py", line 231, in boost_get_libs
> path, files = self.__boost_get_libs_path(**kw)
> File "/home/choiwonjun/ndnSIM/ndn-cxx/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Configure.py", line 191, in fun
> return f(*k,**kw)
> File ".waf-tools/boost.py", line 199, in __boost_get_libs_path
> files = path.ant_glob('*boost_*')
> AttributeError: 'NoneType' object has no attribute 'ant_glob'
> ------------------------------------------------------------------------------------------
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
More information about the ndnSIM
mailing list