[
https://issues.apache.org/jira/browse/QPID-3027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Colby updated QPID-3027:
-----------------------------
Attachment: FindPHPDev.cmake
cqpid_php.20110415.diff
Attaching a new version: {{cqpid_php.20110415.diff}}
Main changes in this version:
* CMake support! :)
* fixed typemap error that can occur on some 32-bit platforms.
The CMake support requires a {{FindPHPDev.cmake}} file (attached separately),
which should be placed in the CMake {{Modules}} directory (eg
{{/usr/share/cmake-2.8/Modules/FindPHPDev.cmake}}). The PHP module included
with CMake only supports PHP4, not 5, and doesn't fetch anywhere near as much
{{php-config}} info as the PHP bindings require.
Note also, if you see "undefined variable: r" notices from PHP, then you're
probably using a very old version if SWIG (ie pre-2.0)... those notices are
benign, so either ignore them, or upgrade SWIG ;)
PS - Diff is against http://svn.apache.org/repos/asf/qpid/trunk/ *r1092662*.
Paul.
> PHP binding of Qpid Messaging API
> ---------------------------------
>
> Key: QPID-3027
> URL: https://issues.apache.org/jira/browse/QPID-3027
> Project: Qpid
> Issue Type: New Feature
> Components: C++ Client
> Affects Versions: 0.8
> Reporter: Paul Colby
> Assignee: Ted Ross
> Attachments: FindPHPDev.cmake, Makefile, cqpid_php.20110220.diff,
> cqpid_php.20110301.diff, cqpid_php.20110328.diff, cqpid_php.20110415.diff,
> cqpid_php.diff
>
>
> Working on a PHP binding for the Qpid Messaging API via SWIG. There are
> several PHP-specific issues with C++ and SWIG which I've managed to
> workaround, so the binding is starting to take shape, but still very much a
> work in progress.
> The rough plan:
> 1. report relevant bugs / feature requests to SWIG (done).
> 2. clean-up Qpid php.i SWIG interface file (mostly done - just need to
> implement PHP namespaces).
> 3. implement qpid::types::Variant <-> PHP typemapping (not started).
> 4. implement printinfo pragma (should be easy, just need to choose what info
> to include).
> 5. create relevant [auto]makefile.
> Of course, there's lots of things to discuss / decide along the way... so
> I'll post 'em here as they come up.
--
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]