Bugzilla – Full Text Bug Listing |
Summary: | Python Binding Compilation error with Cygwin | ||
---|---|---|---|
Product: | ns-3 | Reporter: | Gavin Weng <gavinweng> |
Component: | python bindings | Assignee: | ns-bugs <ns-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gjcarneiro, mathieu.lacage |
Priority: | P1 | ||
Version: | pre-release | ||
Hardware: | PC | ||
OS: | Windows |
Description
Gavin Weng
2008-08-28 12:34:34 UTC
*** Bug 298 has been marked as a duplicate of this bug. *** I don't think that this bug is fixable. I would like to suggest that we disable python bindings on cygwin unless the user installs gccxml. *** Bug 310 has been marked as a duplicate of this bug. *** (In reply to comment #2) > I don't think that this bug is fixable. I would like to suggest that we disable > python bindings on cygwin unless the user installs gccxml. Python bindings are disabled now on cygwin. Should we really enable Python bindings if (py)gccxml are installed? They would be arbitrary versions, and in my experience things might easily go wrong if the wrong versions are used. For instance, pygccxml svn trunk works works well with gccxml cvs head, but pygccxml 0.9.5 doesn't work well with gccxml head, only with gccxml cvs from around the date 2008-04-20, neither does pygccxml trunk work well gccxml cvs from 2008-04-20, only with HEAD. At least for NS-3.2 I see no better solution than this: when on CygWin disable python bindings with a warning suggesting the use of MingW in order to get Python bindings on Win32. Anything else sounds too complicated and error prone to work, especially in such a short time frame. One problem I forgot with MingW is that it is not compiling atm (bug #296) :-( (In reply to comment #4) > (In reply to comment #2) > > I don't think that this bug is fixable. I would like to suggest that we disable > > python bindings on cygwin unless the user installs gccxml. > > Python bindings are disabled now on cygwin. > > Should we really enable Python bindings if (py)gccxml are installed? They > would be arbitrary versions, and in my experience things might easily go wrong > if the wrong versions are used. For instance, pygccxml svn trunk works works > well with gccxml cvs head, but pygccxml 0.9.5 doesn't work well with gccxml > head, only with gccxml cvs from around the date 2008-04-20, neither does > pygccxml trunk work well gccxml cvs from 2008-04-20, only with HEAD. > > At least for NS-3.2 I see no better solution than this: when on CygWin disable > python bindings with a warning suggesting the use of MingW in order to get > Python bindings on Win32. Anything else sounds too complicated and error prone > to work, especially in such a short time frame. I would be fine with this. this bug is fixed now too: we disable python on cygwin. |