[jira] [Commented] (QPIDIT-105) Getting started with AMQP.Net Lite in Fedora
[ https://issues.apache.org/jira/browse/QPIDIT-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16366193#comment-16366193 ] Kim van der Riet commented on QPIDIT-105: - {{Mono JIT compiler version 4.6.2 (Stable 4.6.2.16/ac9e222 Mon Jul 31 05:33:32 UTC 2017)}} If this is a warning, we need to prevent it from printing to std::out or std::err, as any unexpected output on these will be interpreted as an error condition by the test program. Currently, both of these are piped to the calling Python test program in the {{subprocess.Popen()}} call. > Getting started with AMQP.Net Lite in Fedora > > > Key: QPIDIT-105 > URL: https://issues.apache.org/jira/browse/QPIDIT-105 > Project: Apache QPID Interoperability Test Suite > Issue Type: New Feature > Components: .Net Lite Shim >Affects Versions: 0.1.0 > Environment: Fedora 25 > mono 4.4.2 >Reporter: Chuck Rolke >Assignee: Kim van der Riet >Priority: Major > > h4. Introduction > With package mono version 4.4.2 installed on Fedora the system is capable of > compiling and running the AMQP.Net Lite shim tests. The remaining part of the > puzzle is acquiring a pre-compiled AMQP.Net Lite executable library. Here's > one solution. > This note is not a feature request so much as it is a blog about one way to > do it. > h4. Fetch AMQP.Net Lite 2.0.0 from NuGet > Saved as file *get-lite.sh* in the top level directory it may be dot sourced > to pick up the definition of AMQPNETLITE_LIB_DIR. > {noformat} > #!/bin/bash > # > # file: get-lite.sh > # > litedir=amqpnetlite-lib-dir > if [[ ! -d $litedir ]]; then > mkdir $litedir > cd$litedir > wget https://www.nuget.org/api/v2/package/AMQPNetLite/2.0.0 > mv2.0.0 amqpnetlite.2.0.0.nupkg > unzip amqpnetlite.2.0.0.nupkg > cd .. > fi > export AMQPNETLITE_LIB_DIR=`pwd`/$litedir/lib/net45 > {noformat} > .h4 Build qpid-interop-test including AMQP.Net Lite > Include the Lite library definition in the CMake command line > {noformat} > cmake -DAMQPNETLITE_LIB_DIR=${AMQPNETLITE_LIB_DIR} ... > {noformat} > Expect confirmation that the Lite library was picked up by CMake > {noformat} > -- BUILD_AMQPNETLITE = ON > {noformat} > h4. Run test with the AMQP.Net Lite shims > Define the library location and specify the shims. > {noformat} > export > AMQPNETLITE_LIB_DIR=${QPID_INTEROP_TEST_HOME}/amqpnetlite-lib-dir/lib/net45 > ./src/python/qpid_interop_test/amqp_types_test.py \ > --include-shim ProtonCpp \ > --include-shim ProtonPython \ > --include-shim AmqpNetLite > {noformat} > h4. Further integration > This should get you started with the AMQP.Net Lite library. I've tried a few > things to auto-detect the library and use it if present. None of those > attempts is yet worthy. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (QPIDIT-105) Getting started with AMQP.Net Lite in Fedora
[ https://issues.apache.org/jira/browse/QPIDIT-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16366048#comment-16366048 ] Chuck Rolke commented on QPIDIT-105: The wisdom of the web suggests that this is a warning which may safely be ignored. See [https://stackoverflow.com/questions/45483133/got-a-bad-hardware-address-length-for-an-af-packet-16-8] Can you get the version of mono that's running on CentOS7? mono --version > Getting started with AMQP.Net Lite in Fedora > > > Key: QPIDIT-105 > URL: https://issues.apache.org/jira/browse/QPIDIT-105 > Project: Apache QPID Interoperability Test Suite > Issue Type: New Feature > Components: .Net Lite Shim >Affects Versions: 0.1.0 > Environment: Fedora 25 > mono 4.4.2 >Reporter: Chuck Rolke >Assignee: Kim van der Riet >Priority: Major > > h4. Introduction > With package mono version 4.4.2 installed on Fedora the system is capable of > compiling and running the AMQP.Net Lite shim tests. The remaining part of the > puzzle is acquiring a pre-compiled AMQP.Net Lite executable library. Here's > one solution. > This note is not a feature request so much as it is a blog about one way to > do it. > h4. Fetch AMQP.Net Lite 2.0.0 from NuGet > Saved as file *get-lite.sh* in the top level directory it may be dot sourced > to pick up the definition of AMQPNETLITE_LIB_DIR. > {noformat} > #!/bin/bash > # > # file: get-lite.sh > # > litedir=amqpnetlite-lib-dir > if [[ ! -d $litedir ]]; then > mkdir $litedir > cd$litedir > wget https://www.nuget.org/api/v2/package/AMQPNetLite/2.0.0 > mv2.0.0 amqpnetlite.2.0.0.nupkg > unzip amqpnetlite.2.0.0.nupkg > cd .. > fi > export AMQPNETLITE_LIB_DIR=`pwd`/$litedir/lib/net45 > {noformat} > .h4 Build qpid-interop-test including AMQP.Net Lite > Include the Lite library definition in the CMake command line > {noformat} > cmake -DAMQPNETLITE_LIB_DIR=${AMQPNETLITE_LIB_DIR} ... > {noformat} > Expect confirmation that the Lite library was picked up by CMake > {noformat} > -- BUILD_AMQPNETLITE = ON > {noformat} > h4. Run test with the AMQP.Net Lite shims > Define the library location and specify the shims. > {noformat} > export > AMQPNETLITE_LIB_DIR=${QPID_INTEROP_TEST_HOME}/amqpnetlite-lib-dir/lib/net45 > ./src/python/qpid_interop_test/amqp_types_test.py \ > --include-shim ProtonCpp \ > --include-shim ProtonPython \ > --include-shim AmqpNetLite > {noformat} > h4. Further integration > This should get you started with the AMQP.Net Lite library. I've tried a few > things to auto-detect the library and use it if present. None of those > attempts is yet worthy. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (QPIDIT-105) Getting started with AMQP.Net Lite in Fedora
[ https://issues.apache.org/jira/browse/QPIDIT-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16365654#comment-16365654 ] Kim van der Riet commented on QPIDIT-105: - When running on CentOS7, the following error occurs on the shims: {noformat} InteropTestError: {Send,Receive} shim 'AmqpNetLite' Got a bad hardware address length for an AF_PACKET 20 8 {noformat} > Getting started with AMQP.Net Lite in Fedora > > > Key: QPIDIT-105 > URL: https://issues.apache.org/jira/browse/QPIDIT-105 > Project: Apache QPID Interoperability Test Suite > Issue Type: New Feature > Components: .Net Lite Shim >Affects Versions: 0.1.0 > Environment: Fedora 25 > mono 4.4.2 >Reporter: Chuck Rolke >Assignee: Kim van der Riet >Priority: Major > > h4. Introduction > With package mono version 4.4.2 installed on Fedora the system is capable of > compiling and running the AMQP.Net Lite shim tests. The remaining part of the > puzzle is acquiring a pre-compiled AMQP.Net Lite executable library. Here's > one solution. > This note is not a feature request so much as it is a blog about one way to > do it. > h4. Fetch AMQP.Net Lite 2.0.0 from NuGet > Saved as file *get-lite.sh* in the top level directory it may be dot sourced > to pick up the definition of AMQPNETLITE_LIB_DIR. > {noformat} > #!/bin/bash > # > # file: get-lite.sh > # > litedir=amqpnetlite-lib-dir > if [[ ! -d $litedir ]]; then > mkdir $litedir > cd$litedir > wget https://www.nuget.org/api/v2/package/AMQPNetLite/2.0.0 > mv2.0.0 amqpnetlite.2.0.0.nupkg > unzip amqpnetlite.2.0.0.nupkg > cd .. > fi > export AMQPNETLITE_LIB_DIR=`pwd`/$litedir/lib/net45 > {noformat} > .h4 Build qpid-interop-test including AMQP.Net Lite > Include the Lite library definition in the CMake command line > {noformat} > cmake -DAMQPNETLITE_LIB_DIR=${AMQPNETLITE_LIB_DIR} ... > {noformat} > Expect confirmation that the Lite library was picked up by CMake > {noformat} > -- BUILD_AMQPNETLITE = ON > {noformat} > h4. Run test with the AMQP.Net Lite shims > Define the library location and specify the shims. > {noformat} > export > AMQPNETLITE_LIB_DIR=${QPID_INTEROP_TEST_HOME}/amqpnetlite-lib-dir/lib/net45 > ./src/python/qpid_interop_test/amqp_types_test.py \ > --include-shim ProtonCpp \ > --include-shim ProtonPython \ > --include-shim AmqpNetLite > {noformat} > h4. Further integration > This should get you started with the AMQP.Net Lite library. I've tried a few > things to auto-detect the library and use it if present. None of those > attempts is yet worthy. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (QPIDIT-105) Getting started with AMQP.Net Lite in Fedora
[ https://issues.apache.org/jira/browse/QPIDIT-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16365602#comment-16365602 ] Kim van der Riet commented on QPIDIT-105: - Thanks, Chuck, for this info, it works great. I'm not sure how frequently the .dll gets updated, but when we do so, these scripts will need to be manually changed to match. I imagine that any new version will need to be tested in any event before being used for testing. > Getting started with AMQP.Net Lite in Fedora > > > Key: QPIDIT-105 > URL: https://issues.apache.org/jira/browse/QPIDIT-105 > Project: Apache QPID Interoperability Test Suite > Issue Type: New Feature > Components: .Net Lite Shim >Affects Versions: 0.1.0 > Environment: Fedora 25 > mono 4.4.2 >Reporter: Chuck Rolke >Assignee: Kim van der Riet >Priority: Major > > h4. Introduction > With package mono version 4.4.2 installed on Fedora the system is capable of > compiling and running the AMQP.Net Lite shim tests. The remaining part of the > puzzle is acquiring a pre-compiled AMQP.Net Lite executable library. Here's > one solution. > This note is not a feature request so much as it is a blog about one way to > do it. > h4. Fetch AMQP.Net Lite 2.0.0 from NuGet > Saved as file *get-lite.sh* in the top level directory it may be dot sourced > to pick up the definition of AMQPNETLITE_LIB_DIR. > {noformat} > #!/bin/bash > # > # file: get-lite.sh > # > litedir=amqpnetlite-lib-dir > if [[ ! -d $litedir ]]; then > mkdir $litedir > cd$litedir > wget https://www.nuget.org/api/v2/package/AMQPNetLite/2.0.0 > mv2.0.0 amqpnetlite.2.0.0.nupkg > unzip amqpnetlite.2.0.0.nupkg > cd .. > fi > export AMQPNETLITE_LIB_DIR=`pwd`/$litedir/lib/net45 > {noformat} > .h4 Build qpid-interop-test including AMQP.Net Lite > Include the Lite library definition in the CMake command line > {noformat} > cmake -DAMQPNETLITE_LIB_DIR=${AMQPNETLITE_LIB_DIR} ... > {noformat} > Expect confirmation that the Lite library was picked up by CMake > {noformat} > -- BUILD_AMQPNETLITE = ON > {noformat} > h4. Run test with the AMQP.Net Lite shims > Define the library location and specify the shims. > {noformat} > export > AMQPNETLITE_LIB_DIR=${QPID_INTEROP_TEST_HOME}/amqpnetlite-lib-dir/lib/net45 > ./src/python/qpid_interop_test/amqp_types_test.py \ > --include-shim ProtonCpp \ > --include-shim ProtonPython \ > --include-shim AmqpNetLite > {noformat} > h4. Further integration > This should get you started with the AMQP.Net Lite library. I've tried a few > things to auto-detect the library and use it if present. None of those > attempts is yet worthy. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org