[
https://issues.apache.org/jira/browse/QPID-3333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13079317#comment-13079317
]
Robbie Gemmell commented on QPID-3333:
--------------------------------------
The commit for this, r1145698, seems to have broken (log below) the python
bindings build on my RHEL 5.3 installation, which has python 2.4.3 and swig
1.3.29 on it. Is a particular version of python or swig required but not being
enforced via the configure script?
Thanks,
Robbie
{noformat}
Making all in python
make[2]: Entering directory
`/home/gemmellr/workspace/qpid/qpid/cpp/bindings/qpid/python'
/usr/bin/swig -c++ -python -w362,401 -I../../../include -I../../../include
-I../../../src/qmf -I../../../src -I../../../src -I../../../src/qmf
-I/usr/include -o cqpid.cpp ./python.i
/usr/bin/swig -c++ -python -w362,401 -I../../../include -I../../../include
-I../../../src/qmf -I../../../src -I../../../src -I../../../src/qmf
-I/usr/include -o cqpid.cpp ./python.i
../../../include/qpid/messaging/Address.h:153: Warning(361): operator! ignored
../../../include/qpid/messaging/Address.h:153: Warning(361): operator! ignored
../../../include/qpid/messaging/Address.h:152: Warning(503): Can't wrap
'operator bool' unless renamed to a valid identifier.
../../../include/qpid/messaging/Address.h:152: Warning(503): Can't wrap
'operator bool' unless renamed to a valid identifier.
../../../include/qpid/messaging/Message.h:199: Warning(467): Overloaded
qpid::messaging::decode(qpid::messaging::Message const
&message,qpid::types::Variant::Map &map) not supported (no type checking rule
for 'qpid::types::Variant::Map &').
../../../include/qpid/messaging/Message.h:211: Warning(467): Overloaded
qpid::messaging::decode(qpid::messaging::Message const
&message,qpid::types::Variant::List &list,std::string const
&encoding=std::string()) not supported (no type checking rule for
'qpid::types::Variant::List &').
../../../include/qpid/messaging/Message.h:199: Warning(467): Overloaded
qpid::messaging::decode(qpid::messaging::Message const
&message,qpid::types::Variant::Map &map) not supported (no type checking rule
for 'qpid::types::Variant::Map &').
../../../include/qpid/messaging/Message.h:211: Warning(467): Overloaded
qpid::messaging::decode(qpid::messaging::Message const
&message,qpid::types::Variant::List &list,std::string const
&encoding=std::string()) not supported (no type checking rule for
'qpid::types::Variant::List &').
../../../include/qpid/messaging/Message.h:223: Warning(467): Overloaded
qpid::messaging::encode(qpid::types::Variant::Map const
&map,qpid::messaging::Message &message) not supported (no type checking rule
for 'qpid::types::Variant::Map const &').
../../../include/qpid/messaging/Message.h:235: Warning(467): Overloaded
qpid::messaging::encode(qpid::types::Variant::List const
&list,qpid::messaging::Message &message,std::string const
&encoding=std::string()) not supported (no type checking rule for
'qpid::types::Variant::List const &').
../../../include/qpid/messaging/Message.h:223: Warning(467): Overloaded
qpid::messaging::encode(qpid::types::Variant::Map const
&map,qpid::messaging::Message &message) not supported (no type checking rule
for 'qpid::types::Variant::Map const &').
../../../include/qpid/messaging/Message.h:235: Warning(467): Overloaded
qpid::messaging::encode(qpid::types::Variant::List const
&list,qpid::messaging::Message &message,std::string const
&encoding=std::string()) not supported (no type checking rule for
'qpid::types::Variant::List const &').
../../../include/qpid/messaging/Connection.h:80: Warning(467): Overloaded
qpid::messaging::Connection(std::string const &url,qpid::types::Variant::Map
const &options=qpid::types::Variant::Map()) not supported (no type checking
rule for 'qpid::types::Variant::Map const &').
../../../include/qpid/messaging/Connection.h:80: Warning(467): Overloaded
qpid::messaging::Connection(std::string const &url,qpid::types::Variant::Map
const &options=qpid::types::Variant::Map()) not supported (no type checking
rule for 'qpid::types::Variant::Map const &').
make all-am
make[3]: Entering directory
`/home/gemmellr/workspace/qpid/qpid/cpp/bindings/qpid/python'
if /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I. -I../../../src -I../../../include -I../../../include -I../../../src/qmf
-I../../../src -I../../../src -I../../../include -I../../../include
-I../../../src/qmf -I../../../src -I../../../src -I/usr/include/python2.4
-fno-strict-aliasing -g -O2 -MT _cqpid_la-cqpid.lo -MD -MP -MF
".deps/_cqpid_la-cqpid.Tpo" -c -o _cqpid_la-cqpid.lo `test -f 'cqpid.cpp' ||
echo './'`cqpid.cpp; \
then mv -f ".deps/_cqpid_la-cqpid.Tpo" ".deps/_cqpid_la-cqpid.Plo";
else rm -f ".deps/_cqpid_la-cqpid.Tpo"; exit 1; fi
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../include
-I../../../include -I../../../src/qmf -I../../../src -I../../../src
-I../../../include -I../../../include -I../../../src/qmf -I../../../src
-I../../../src -I/usr/include/python2.4 -fno-strict-aliasing -g -O2 -MT
_cqpid_la-cqpid.lo -MD -MP -MF .deps/_cqpid_la-cqpid.Tpo -c cqpid.cpp -fPIC
-DPIC -o .libs/_cqpid_la-cqpid.o
cqpid.cpp: In function 'qpid::messaging::Session
qpid_messaging_Connection__session(qpid::messaging::Connection*, const
std::string&, bool)':
cqpid.cpp:2986: error: '$self' was not declared in this scope
cqpid.cpp:2992: error: '$self' was not declared in this scope
cqpid.cpp:2995: error: '$self' was not declared in this scope
make[3]: *** [_cqpid_la-cqpid.lo] Error 1
make[3]: Leaving directory
`/home/gemmellr/workspace/qpid/qpid/cpp/bindings/qpid/python'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/gemmellr/workspace/qpid/qpid/cpp/bindings/qpid/python'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/gemmellr/workspace/qpid/qpid/cpp/bindings/qpid'
make: *** [all-recursive] Error 1
{noformat}
> Make Python SWIG bindings a drop-in replacement for pure Python
> qpid.messaging package
> --------------------------------------------------------------------------------------
>
> Key: QPID-3333
> URL: https://issues.apache.org/jira/browse/QPID-3333
> Project: Qpid
> Issue Type: Improvement
> Components: C++ Client
> Affects Versions: 0.11, Future
> Reporter: Anthony Foglia
> Assignee: Gordon Sim
> Attachments: 0001-Wrap-NoMessageAvailable-as-Empty-exception.patch,
> 0002-Change-Connection-interface-to-match-pure-python.patch,
> 0003-Change-Session-interface-to-match-pure-python.patch,
> 0004-Change-Receiver-interface-to-match-pure-python.patch,
> 0005-Change-Sender-interface-to-match-pure-python.patch,
> 0006-Change-Message-interface-to-match-pure-python.patch,
> 0007-Handle-connection-options.patch,
> 0008-Fixes-and-more-improvements-to-Message-objects.patch
>
>
> These patches are make the compile Python SWIG bindings to the C++ client
> much closer to a drop-in replacement for the Python qpid.messaging package.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]