On 12/11/2016 10:37 AM, Matt Broadstone wrote:
Kim,
I had tried to quickly build and run the tests before my vacation, but
ran into problems at the time and gave up. I'm going through the
process again today and still encountering a number of issues:
Hi Matt,
I am sorry you are having install issues, but it does not surprise me at
all. The install part of this has been rather quickly thrown together,
and still needs some work. I am rather new at the install side of
things, but I am learning ... Your experience with the install and
feedback is very valuable to me. Thank you.
* it seems proton''s `symbol.hpp` uses `std::string` without actually
including it - so `JmsTestBase.cpp` fails to build without `<string>`
being included.
Hmmm... That was fixed some time ago, perhaps you don't have the latest
Proton? See PROTON-1313 "c++: missing #include<string> in some headers",
and was checked in on Oct. 6, 2016.
* when linking the `Receiver` it cannot find `-lqpid-proton-cpp` (I
have proton 0.14.0 installed on ubuntu here)
The install is reasonably immature at the moment, so it is possible that
it is not being correctly located. I build proton from source, then
perform a local install. Do you know where proton installs to in Ubuntu?
* I then tried just commenting out the CPP and Java tests (since I'm
only interested in integrating node-amqp10 here), and `make install`
resulted in the following:
```
chmod: cannot access ‘amqp_large_content_test.py’: No such file or directory
chmod: cannot access ‘amqp_types_test.py’: No such file or directory
chmod: cannot access ‘jms_hdrs_props_test.py’: No such file or directory
chmod: cannot access ‘jms_messages_test.py’: No such file or directory
```
It seems that the entire install did not work somehow, as these are the
main tests in the global python location.
The tests seem to be somewhat dependent on a particular environment. I
wonder if it would be possible to make the whole framework a little
more modular?
I am working on that. I think I need to test on Ubuntu. There are
several install issues on JIRA at the moment.
Also just a quick architectural question: why are the tests being
installed globally as python modules?
That depends on the value of CMAKE_INSTALL_PREFIX. By default, it does
install to a global location. The shims also install into that path,
and I need to change that, as they are not (all) python executables. I
have a JIRA open for this issue.
Thanks so much for having a go at this. Your feedback is valuable!
Kim
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]