[ndnSIM] Compiling Problem with Python Bindings

Ayush Agarwal ayush0071 at gmail.com
Thu Jan 28 23:03:59 PST 2016


Hello,
Yes the issue varies from system to system. I had also faced this problem
earlier. To solve this problem manually, go to
*/ndnSIM/ns-3/bindings/python/wscript* and replace the pybindgen version at
line 16 with the version present in your system.
You can see the version present while configuring ns-3.

* Python Bindings               : not enabled (PyBindGen version not
correct and newer version could not be retrieved) *
Replace the version shown in the above line in the line stated below.

*REQUIRED_PYBINDGEN_VERSION = '0.17.0.887'*

Hope this solves your problem.


*Thanks & Regards,*

*Ayush Agarwal*

*Research Scholar*
*National Institute of Technology Surathkal (Karnataka, India)*

On Fri, Jan 29, 2016 at 1:12 AM, Muhammad Hosain Abdollahi Sabet <
M.AbdollahiSabet at mail.sbu.ac.ir> wrote:

> Alex,
>
> There seem to be some issue about pybindgen thing. I've faced this very
> issue on another workstation. And I did make sure that the packages were
> downloaded as described.
>
> Thanks,
> Sabet
>
>
> -----Original Message-----
> From: ndnSIM on behalf of Alex Afanasyev
> Sent: Thu 1/28/2016 10:10 PM
> To: ???
> Cc: ndnsim
> Subject: Re: [ndnSIM] Compiling Problem with Python Bindings
>
> Please check that you followed the installation instructions
> http://ndnsim.net/2.1/getting-started.html#downloading-ndnsim-source <
> http://ndnsim.net/2.1/getting-started.html#downloading-ndnsim-source>
> For ndnSIM python bindings to work, you have to use a slightly customized
> version of NS-3 and python bindings.  If you got NS-3 or pybindgen from
> somewhere else, you should download again as described.
>
> --
> Alex
>
> > On Jan 12, 2016, at 5:45 PM, ??? <ee07b296 at bupt.edu.cn> wrote:
> >
> > Dear ndnSIM scholars,
> > Sorry to disturb you, but I have met with a problem when compiling
> ndnSIM. After running the code "./waf configure --enable-examples", I met a
> problem: Python Bindings               : not enabled (PyBindGen version not
> correct and newer version could not be retrieved), which I can't solve or
> find answers on Internet. So if you know the answers, please tell me. Thank
> you sincerely!
> > A student from China
> > 2016.01.13
>
>
>
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160129/f707936a/attachment.html>


More information about the ndnSIM mailing list