Bugzilla – Full Text Bug Listing |
Summary: | python bindings toolchain installation | ||
---|---|---|---|
Product: | bake | Reporter: | Tom Henderson <tomh> |
Component: | bakeconf.xml | Assignee: | Daniel Camara <daniel.camara> |
Status: | CONFIRMED --- | ||
Severity: | enhancement | CC: | ns-bugs |
Priority: | P5 | ||
Version: | unspecified | ||
Hardware: | PC | ||
OS: | Linux |
Description
Tom Henderson
2013-10-14 10:37:08 EDT
(In reply to Tom Henderson from comment #0) > Gustavo recently fixed bug 1530, but we can automate this bindings > capability by making a few enhancements to bake. > > The desired outcome is that user can download future release > (ns-allinone-3.18.1 or ns-allinone-3.19), or current development version of > bake, on a system that has neither gccxml nor pygccxml installed, and have > bake install local versions of them (to bake build/) and waf will detect > these prerequisites. > > While I already updated bakeconf.xml to the needed git changeset, there are > still a few things to do: > > 1) pygccxml is not being installed in a way that waf is detecting it. I > haven't debugged this yet. For ns-3.19, I extended the recommended PATH extensions to cover the directories where pygccxml and gccxml are installed: + > export BAKE_HOME=`pwd` + > export PATH=$PATH:$BAKE_HOME:$BAKE_HOME/build/bin + > export PYTHONPATH=$PYTHONPATH:$BAKE_HOME:$BAKE_HOME/build/lib I recommend to extend ns-3-dev/bindings/python/wscript to add these bake install paths so that waf will not require these environment variables in the future. > > 2) we need to add prerequisite checking to (possibly) ./bake.py show to > check for gcc-multilib support This still needs to be done. > > 3) we need to check compatibility with Xcode 5.0 (OS X) and clang. This is still being looked into. |