Bug 1772 - python bindings toolchain installation
python bindings toolchain installation
Status: CONFIRMED
Product: bake
Classification: Unclassified
Component: bakeconf.xml
unspecified
PC Linux
: P5 enhancement
Assigned To: Daniel Camara
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-14 10:37 EDT by Tom Henderson
Modified: 2013-12-15 12:51 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Henderson 2013-10-14 10:37:08 EDT
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.

2) we need to add prerequisite checking to (possibly) ./bake.py show to check for gcc-multilib support

3) we need to check compatibility with Xcode 5.0 (OS X) and clang.
Comment 1 Tom Henderson 2013-12-15 12:51:56 EST
(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.