Gordon Sim wrote:
Danushka Menikkumbura wrote:
Hi Rajith,
I am experiencing the same problem and it is due to some code gen
issue. The struct "Handler" in class "ConnectionHandler" is
inherited from the classes AMQP_ServerOperations::ConnectionHandler
and AMQP_ClientOperations::ConnnectionHandler. But neither
AMQP_ServerOperations nor AMQP_ClientOperations has a class called
ConnectionHandler but a class called Invoker.
What version of ruby are you using? It sounds like the generator (which
is in ruby) is not working for some reason (I have 1.8.4 which generates
handler classes as expected).
Do you have a set of nested classes in AMQP_ServerProxy/AMQP_ClientProxy
(e.g. call Session, Queue, Exchange etc) also in the gen directory? And
do you see e.g. SessionAttachBody.h and similarly named files?
Is this the same problem as the one that Senaka solved?
Senaka Fernando wrote:
> Hi again,
>
> Now I realized the problem. For the cpp build to generate the source, it is
> required to have 'specs'. So, taking a checkout from [1], instead of [2]
> should help. Also, if you already have a checkout from [1] and the issue
> exists, it should have got something to do with an improper checkout.
>
> [1] http://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid
> [2] http://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid/cpp
>
> Regards,
> Senaka
Clearly we need better README and/or error messages out of ./configure so this
doesn't cause confusion. Can you suggest text that would have made this all
obvious to you and I'll update.