[Ns-developers] NS-3 PyBindGen again

Gustavo Carneiro gjcarneiro at gmail.com
Tue Jan 8 04:13:45 PST 2008


On 07/01/2008, Raj Bhattacharjea <raj.b at gatech.edu> wrote:
>
> On Jan 7, 2008 6:29 AM, Gustavo Carneiro <gjcarneiro at gmail.com> wrote:
>
> > On 07/01/2008, Mathieu Lacage <mathieu.lacage at sophia.inria.fr> wrote:
> > [snip]
> > > >    1. Make python bindings generation mandatory, require gccxml
> > > (currently
> > > > from CVS only, unfortunately), pygccxml, and pybindgen, from
> > everybody;
> > >
> > > how about detecting automatically if these tools are available and
> > > attempt to build the bindings if they are. If the tools are not there,
> >
> > > do nothing ?
> >
> >
> > That is what is being done right now.
> >
>
> This is not quite my experience.  I cloned a fresh copy of the repo (it
> appears you've pushed the previous bundle), and although ./waf check says:
> Checking for pybindgen                         : not found
> WARNING:  == wscript ==  pybindgen is missing (No module named pybindgen)
> => disabling Python bindings
>
> I get the following compilation error:
> Traceback (most recent call last):
>   File "../bindings/python/ns3modulegen.py", line 7, in <module>
>     import pybindgen
> ImportError: No module named pybindgen
>

Thanks.  It was a bug.  Fixed now.

-- 
Gustavo J. A. M. Carneiro
INESC Porto, Telecommunications and Multimedia Unit
"The universe is always one step beyond logic." -- Frank Herbert


More information about the Ns-developers mailing list