waf cannot find pybindgen

2,063 views
Skip to first unread message

H. Rahimi

unread,
Sep 16, 2011, 8:56:47 PM9/16/11
to ns-3-users
Hey,

I have decided to use ns3 as my first ever network simulator because I
have lots of experience with Python.

I am trying to build and install ns3 under Linux Mint (Ubuntu), and I
have already installed Bazaar and GCCXML and pygccxml and other
prerequisites.

I have cloned the latest version of ns3 and before every try I simply
update my copy by issuing hg pul -u...

I run ./waf configure, but it does not try to get pybindgen via Bazaar
and at the end of the output I get something like this:

Python Bindings : not enabled (PyBindGen missing)


So, I tried to get the pybindgen manually via bzr, and run this
command:

./waf configure --with-pybindgen=some dir...

But I keep being given the same thing above, PyBindGen missing...

Then I tried to manually copy the pybindgen repository version into my
Python's site-packages folder, issuing the command ./waf configure
again, I get the sam output...

Finally, no use in googling and your IRC channel is also captured by
bots :D lol.

I have tried to build and install ns3 ignoring this error (maybe not
error, just information) but there in python dist-packages directory,
I get an ns folder including a single __init__.py file...

and when I wanna run an example of the ns3, it raises and exception
about being unable to find module ns.applications...

I just don't know what I have done wrong,

I appreciate any help!

Thanks in advance

Mitch Watrous

unread,
Sep 19, 2011, 2:55:08 PM9/19/11
to ns-3-users
Did you get ns-3-allinone to begin this whole process?

Did you run download.py?

Mitch

Hossein Rahimi

unread,
Sep 19, 2011, 2:56:45 PM9/19/11
to ns-3-...@googlegroups.com
I downloaded the allin one and everything is already fixed, Thank you :)

--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.


Radhika Patel

unread,
Dec 2, 2017, 2:59:56 AM12/2/17
to ns-3-users
Please explain me how to solve this error/problem.

Thank you.

Tommaso Pecorella

unread,
Dec 3, 2017, 8:04:52 AM12/3/17
to ns-3-users
Please read the posting guidelines.
We can not answer a question if we don't have the basic elements to answer it.

T.
Reply all
Reply to author
Forward
0 new messages