You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Paul Colby (JIRA)" <ji...@apache.org> on 2012/11/04 12:44:12 UTC

[jira] [Comment Edited] (QPID-3027) PHP binding of Qpid Messaging API

    [ https://issues.apache.org/jira/browse/QPID-3027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490165#comment-13490165 ] 

Paul Colby edited comment on QPID-3027 at 11/4/12 11:43 AM:
------------------------------------------------------------

Ok, so the build error is the result of changes in the PHP development headers.

Somewhere between PHP 5.3.8 and 5.4.7, the signature of the following functions changed:
* {{zend_get_object_classname}}
* {{zend_rsrc_list_get_rsrc_type}}

Now to track down the exact PHP version that changed, and {{#ifdef}} some variable declarations...

*Edit:* changes were in commit [aaa2f1c30b3ba3da3e0030804054ee9c70e80bc7|https://github.com/php/php-src/commit/aaa2f1c30b3ba3da3e0030804054ee9c70e80bc7]

                
      was (Author: pcolby):
    Ok, so the build error is the result of changes in the PHP development headers.

Somewhere between PHP 5.3.8 and 5.4.7, the signature of the following functions changed:
* {{zend_get_object_classname}}
* {{zend_rsrc_list_get_rsrc_type}}

Now to track down the exact PHP version that changed, and #ifdef some variable declarations...
                  
> 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: Darryl L. Pierce
>         Attachments: cqpid_php.20110220.diff, cqpid_php.20110301.diff, cqpid_php.20110328.diff, cqpid_php.20110415.diff, cqpid_php.20120406.diff, cqpid_php.diff, FindPHPDev.cmake, Makefile
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org