You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Darryl L. Pierce" <dp...@redhat.com> on 2012/11/27 19:32:25 UTC
New Perl bindings committed
I've pushed the new Qpid Perl bindings to master today. This newer
binding layer more closely matches what's defined in the C++ layer.
The namespace for each class is qpid::messaging and the class names are
a 1:1 match to what's in C++. The method names as well, with underscore
case replacing camel case, which is more intuitive for dynamic
languages.
Also updated are the Perl examples, which now use the updated APIs.
--
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
Re: New Perl bindings committed
Posted by Gordon Sim <gs...@redhat.com>.
On 11/27/2012 06:32 PM, Darryl L. Pierce wrote:
> I've pushed the new Qpid Perl bindings to master today. This newer
> binding layer more closely matches what's defined in the C++ layer.
>
> The namespace for each class is qpid::messaging and the class names are
> a 1:1 match to what's in C++. The method names as well, with underscore
> case replacing camel case, which is more intuitive for dynamic
> languages.
>
> Also updated are the Perl examples, which now use the updated APIs.
Information concerning APIs, examples etc should really be posted on the
user list.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org
Re: New Perl bindings committed
Posted by Andrew Stitcher <as...@redhat.com>.
On Wed, 2012-11-28 at 16:05 +0000, Robbie Gemmell wrote:
> The CI job (https://builds.apache.org/job/Qpid-Java-Cpp-Test/) still
> doesn't seem to be very happy. Is there anything needing done to cleanup
> from the previous issue?
>
> <snip>
> make[1]: Entering directory `<
> https://builds.apache.org/job/Qpid-Java-Cpp-Test/ws/trunk/qpid/cpp/managementgen
> '>
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `<
> https://builds.apache.org/job/Qpid-Java-Cpp-Test/ws/trunk/qpid/cpp/managementgen
> '>
> Making all in etc
> make[1]: Entering directory `<
> https://builds.apache.org/job/Qpid-Java-Cpp-Test/ws/trunk/qpid/cpp/etc'>
> sed "s|!!sysconfdir!!|/usr/local/
> etc|;s|!!sbindir!!|/usr/local/sbin|;s|!!bindir!!|/usr/local/bin|"
> qpidd.in> qpidd
> sed
> "s|!!sysconfdir!!|/usr/local/etc|;s|!!sbindir!!|/usr/local/sbin|;s|!!bindir!!|/usr/local/bin|"
> qpidd-primary.in > qpidd-primary
> make[1]: *** No rule to make target `qpidd.service', needed by `all-am'.
> Stop.
> make[1]: *** Waiting for unfinished jobs....
> make[1]: Leaving directory `<
> https://builds.apache.org/job/Qpid-Java-Cpp-Test/ws/trunk/qpid/cpp/etc'>
> make: *** [all-recursive] Error 1
>
I think this derives from a change that came after the changes I fixed,
so I did not fix it. Also I was fixing failures for a pure "make" and I
think this failure is from "make install"
The error I'm now getting is a little bit different:
/usr/bin/mkdir -p '/usr/lib/systemd/system'
/usr/bin/install -c ../../src-released/qpid/cpp/etc/qpidd.service
'/usr/lib/systemd/system'
/usr/bin/install: cannot create regular file
`/usr/lib/systemd/system/qpidd.service': Permission denied
make[2]: *** [install-nobase_systemdSCRIPTS] Error 1
make[2]: Leaving directory `/home/andrew/Work/qpid/blda-released/etc'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/andrew/Work/qpid/blda-released/etc'
make: *** [install-recursive] Error 1
But might be the same underlying cause - the install is now not
respecting --prefix.
Andrew
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org
Re: New Perl bindings committed
Posted by Robbie Gemmell <ro...@gmail.com>.
The CI job (https://builds.apache.org/job/Qpid-Java-Cpp-Test/) still
doesn't seem to be very happy. Is there anything needing done to cleanup
from the previous issue?
<snip>
make[1]: Entering directory `<
https://builds.apache.org/job/Qpid-Java-Cpp-Test/ws/trunk/qpid/cpp/managementgen
'>
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `<
https://builds.apache.org/job/Qpid-Java-Cpp-Test/ws/trunk/qpid/cpp/managementgen
'>
Making all in etc
make[1]: Entering directory `<
https://builds.apache.org/job/Qpid-Java-Cpp-Test/ws/trunk/qpid/cpp/etc'>
sed "s|!!sysconfdir!!|/usr/local/
etc|;s|!!sbindir!!|/usr/local/sbin|;s|!!bindir!!|/usr/local/bin|"
qpidd.in> qpidd
sed
"s|!!sysconfdir!!|/usr/local/etc|;s|!!sbindir!!|/usr/local/sbin|;s|!!bindir!!|/usr/local/bin|"
qpidd-primary.in > qpidd-primary
make[1]: *** No rule to make target `qpidd.service', needed by `all-am'.
Stop.
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `<
https://builds.apache.org/job/Qpid-Java-Cpp-Test/ws/trunk/qpid/cpp/etc'>
make: *** [all-recursive] Error 1
On 28 November 2012 15:07, Andrew Stitcher <as...@redhat.com> wrote:
> On Tue, 2012-11-27 at 13:32 -0500, Darryl L. Pierce wrote:
> > I've pushed the new Qpid Perl bindings to master today. This newer
> > binding layer more closely matches what's defined in the C++ layer.
> >
> > The namespace for each class is qpid::messaging and the class names are
> > a 1:1 match to what's in C++. The method names as well, with underscore
> > case replacing camel case, which is more intuitive for dynamic
> > languages.
> >
> > Also updated are the Perl examples, which now use the updated APIs.
>
> Can I point out that somewhere in the changes you just made you broke
> the build for the bindings for both the cmake and autotools builds. I
> checked in a fix for this now, could you be more careful next time?
>
> (I will admit that this is pot calling kettle black, but still...)
>
> Andrew
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
> For additional commands, e-mail: dev-help@qpid.apache.org
>
>
Re: New Perl bindings committed
Posted by "Darryl L. Pierce" <dp...@redhat.com>.
On Wed, Nov 28, 2012 at 10:07:06AM -0500, Andrew Stitcher wrote:
> Can I point out that somewhere in the changes you just made you broke
> the build for the bindings for both the cmake and autotools builds. I
> checked in a fix for this now, could you be more careful next time?
>
> (I will admit that this is pot calling kettle black, but still...)
My apologies.
--
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
Re: New Perl bindings committed
Posted by Andrew Stitcher <as...@redhat.com>.
On Tue, 2012-11-27 at 13:32 -0500, Darryl L. Pierce wrote:
> I've pushed the new Qpid Perl bindings to master today. This newer
> binding layer more closely matches what's defined in the C++ layer.
>
> The namespace for each class is qpid::messaging and the class names are
> a 1:1 match to what's in C++. The method names as well, with underscore
> case replacing camel case, which is more intuitive for dynamic
> languages.
>
> Also updated are the Perl examples, which now use the updated APIs.
Can I point out that somewhere in the changes you just made you broke
the build for the bindings for both the cmake and autotools builds. I
checked in a fix for this now, could you be more careful next time?
(I will admit that this is pot calling kettle black, but still...)
Andrew
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org