[Bug 702] New: Python binding does not build when using MacPorts python+sip with KDL 1.0.0 release

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=702

Summary: Python binding does not build when using MacPorts
python+sip with KDL 1.0.0 release
Product: KDL
Version: 1.0.0
Platform: All
OS/Version: Mac OS X
Status: NEW
Severity: normal
Priority: P3
Component: Build system
AssignedTo: orocos-dev [..] ...
ReportedBy: kiwi [dot] net [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

Python 2.6
SIP 4.7.9
MacPorts v1.710
Leopard 10.5.7
{{{
Linking CXX shared library liborocos-kdl.dylib
[ 96%] Built target orocos-kdl
Scanning dependencies of target python
[ 96%] Generating Makefile
Parsing SIP files for 'PyKDL' library...
Creating makefiles...
Traceback (most recent call last):
File "/Users/sroderick/software/build/kdl/src/bindings/python/configure.py",
line 67, in <module>
makefile.generate()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/sipconfig.py",
line 1062, in generate
self.generate_macros_and_rules(mfile)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/sipconfig.py",
line 1598, in generate_macros_and_rules
Makefile.generate_macros_and_rules(self, mfile)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/sipconfig.py",
line 1102, in generate_macros_and_rules
if sys.platform == "darwin" and self.config.qt_framework:
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/sipconfig.py",
line 182, in __getattr__
raise AttributeError, "\"%s\" is not a valid configuration value or user
option" % name
AttributeError: "qt_framework" is not a valid configuration value or user
option
make[2]: *** [src/bindings/python/Makefile] Error 1
make[1]: *** [src/bindings/python/CMakeFiles/python.dir/all] Error 2
make: *** [all] Error 2
}}}

[Bug 702] Python binding does not build when using MacPorts pyth

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=702

Anthony Ramine <nox [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |nox [..] ...

--- Comment #2 from Anthony Ramine <nox [..] ...> 2010-02-04 18:22:55 ---
You should just use the port I created a few weeks ago.

sudo port install orocos-kdl +python26

[Bug 702] Python binding does not build when using MacPorts pyth

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=702

--- Comment #3 from S Roderick <kiwi [dot] net [..] ...> 2010-02-04 18:31:33 ---
Anthony, do you have an official "orocos-kdl" port in MacPorts, is that what
you are saying? Or did you modify the portfiles I posted on the Oroco wiki?

Ruben Smits's picture

[Bug 702] Python binding does not build when using MacPorts pyth

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=702

Ruben Smits <ruben [dot] smits [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |ruben [dot] smits [..] ...en.b
| |e

--- Comment #1 from Ruben Smits <ruben [dot] smits [..] ...> 2009-09-01 09:16:39 ---
I updated the bindings cmake logic between 1.0.0 and 1.0.1, can you try with
1.0.1?

Ruben

(In reply to comment #0)
> Python 2.6
> SIP 4.7.9
> MacPorts v1.710
> Leopard 10.5.7
> {{{
> Linking CXX shared library liborocos-kdl.dylib
> [ 96%] Built target orocos-kdl
> Scanning dependencies of target python
> [ 96%] Generating Makefile
> Parsing SIP files for 'PyKDL' library...
> Creating makefiles...
> Traceback (most recent call last):
> File "/Users/sroderick/software/build/kdl/src/bindings/python/configure.py",
> line 67, in <module>
> makefile.generate()
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/sipconfig.py",
> line 1062, in generate
> self.generate_macros_and_rules(mfile)
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/sipconfig.py",
> line 1598, in generate_macros_and_rules
> Makefile.generate_macros_and_rules(self, mfile)
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/sipconfig.py",
> line 1102, in generate_macros_and_rules
> if sys.platform == "darwin" and self.config.qt_framework:
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/sipconfig.py",
> line 182, in __getattr__
> raise AttributeError, "\"%s\" is not a valid configuration value or user
> option" % name
> AttributeError: "qt_framework" is not a valid configuration value or user
> option
> make[2]: *** [src/bindings/python/Makefile] Error 1
> make[1]: *** [src/bindings/python/CMakeFiles/python.dir/all] Error 2
> make: *** [all] Error 2
> }}}

[Bug 702] Python binding does not build when using MacPorts pyth

On Sep 1, 2009, at 03:16 , Ruben Smits wrote:

> https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=702
>
>
> Ruben Smits <ruben [dot] smits [..] ...> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> CC| |
> ruben [dot] smits [..] ...en.b
> | |e
>
>
>
>
> --- Comment #1 from Ruben Smits <ruben [dot] smits [..] ...>
> 2009-09-01 09:16:39 ---
> I updated the bindings cmake logic between 1.0.0 and 1.0.1, can you
> try with
> 1.0.1?

No change with v1.0.1 :-(

Once we get this sorted out, I'll update the portfile to 1.0.1
S

[Bug 702] Python binding does not build when using MacPorts pyth

On Sep 1, 2009, at 07:57 , S Roderick wrote:

> On Sep 1, 2009, at 03:16 , Ruben Smits wrote:
>
>> https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=702
>>
>>
>> Ruben Smits <ruben [dot] smits [..] ...> changed:
>>
>> What |Removed |Added
>> ----------------------------------------------------------------------------
>> CC| |
>> ruben [dot] smits [..] ...en.b
>> | |e
>>
>>
>>
>>
>> --- Comment #1 from Ruben Smits <ruben [dot] smits [..] ...>
>> 2009-09-01 09:16:39 ---
>> I updated the bindings cmake logic between 1.0.0 and 1.0.1, can you
>> try with
>> 1.0.1?
>
> No change with v1.0.1 :-(
>
> Once we get this sorted out, I'll update the portfile to 1.0.1

Tried on another install
- v1.0.1 no good
- trunk is fine

Python 2.5.1
SIP 4.8.1
MacPorts 1.7
Leopard 10.5.8

Stephen