[
https://issues.apache.org/jira/browse/QPID-3083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12999431#comment-12999431
]
David Hickerson commented on QPID-3083:
---------------------------------------
HI Chuck,
Looking back though the cmake output, I found this:
C:/dev/tools/Qpid/qpid-0.8/cpp/rubygen/amqpgen.rb:233:in `uses': undefined
local variable or method
`type_' for #<AmqpDomain(segment-type)> (NameError)
from C:/dev/tools/Qpid/qpid-0.8/cpp/rubygen/amqpgen.rb:226:in
`initialize'
from C:/dev/tools/Qpid/qpid-0.8/cpp/rubygen/amqpgen.rb:118:in `new'
from C:/dev/tools/Qpid/qpid-0.8/cpp/rubygen/amqpgen.rb:118:in `wrap'
from C:/dev/tools/Qpid/qpid-0.8/cpp/rubygen/amqpgen.rb:125:in `block in
initialize'
from C:/Ruby192/lib/ruby/1.9.1/rexml/element.rb:906:in `block in each'
from C:/Ruby192/lib/ruby/1.9.1/rexml/xpath.rb:64:in `each'
from C:/Ruby192/lib/ruby/1.9.1/rexml/xpath.rb:64:in `each'
from C:/Ruby192/lib/ruby/1.9.1/rexml/element.rb:906:in `each'
from C:/dev/tools/Qpid/qpid-0.8/cpp/rubygen/amqpgen.rb:125:in `map'
from C:/dev/tools/Qpid/qpid-0.8/cpp/rubygen/amqpgen.rb:125:in
`initialize'
from C:/dev/tools/Qpid/qpid-0.8/cpp/rubygen/amqpgen.rb:434:in
`initialize'
from C:/dev/tools/Qpid/qpid-0.8/cpp/rubygen/generate:44:in `new'
from C:/dev/tools/Qpid/qpid-0.8/cpp/rubygen/generate:44:in `block in
parse_specs'
from C:/dev/tools/Qpid/qpid-0.8/cpp/rubygen/generate:43:in `each'
from C:/dev/tools/Qpid/qpid-0.8/cpp/rubygen/generate:43:in `parse_specs'
from C:/dev/tools/Qpid/qpid-0.8/cpp/rubygen/generate:68:in `<main>'
In amqpgen.rb, I am seeing :
class AmqpDomain < AmqpElement
def initialize(xml, parent)
super
root.used_by[uses].push(fqname) if uses and uses.index('.')
end
amqp_attr_reader :type <--- I am no
ruby guy, but are we missing a _ on type here????
amqp_single_child_reader :struct # preview
amqp_single_child_reader :enum
def uses() type_=="array" ? ArrayTypes[name] : type_; end
end
I added a underscore and tried cmake again and it complained at 244 of the same
problem.
I am including my outputs as requested.
Thanks,
Dave
> C++ Windows Build is looking for 'qpid/framing/constants.h', but that file is
> not in the distribution at that location
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: QPID-3083
> URL: https://issues.apache.org/jira/browse/QPID-3083
> Project: Qpid
> Issue Type: Bug
> Components: Build Tools, C++ Broker, C++ Client, C++ Clustering
> Affects Versions: 0.8
> Environment: Windows 7 OS, MS Visual Studio 2008, CMake, Ruby, Python
> Reporter: David Hickerson
> Labels: build
> Attachments: cmake_output.txt, env.txt
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> qpid/Exception.h: #include "qpid/framing/constants.h"
> in the cpp portion of the Full Source Distribution of the 0.8 source,
> constants.h does not exist at that location. One was found at
> qpid-0.8\cpp\src\qpid\replication , but it is not clear as to if that was the
> intended file.
--
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]