[jira] [Commented] (QPID-4982) qmf-gen doesn't work with Python 3

2023-04-14 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/QPID-4982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17712537#comment-17712537
 ] 

ASF GitHub Bot commented on QPID-4982:
--

jiridanek merged PR #39:
URL: https://github.com/apache/qpid-cpp/pull/39




> qmf-gen doesn't work with Python 3
> --
>
> Key: QPID-4982
> URL: https://issues.apache.org/jira/browse/QPID-4982
> Project: Qpid
>  Issue Type: Bug
>  Components: C++ Build
>Affects Versions: 0.22, 0.23
> Environment: Any with python 3
>Reporter: Steve Rothkin
>Assignee: Justin Ross
>Priority: Minor
> Attachments: qpid-windows-build-log.txt, screenshot-1.jpg
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> I followed the instructions in cpp\INSTALL-WINDOWS. I have installed the 
> latest Windows versions of Boost, Ruby, and Python as per the instructions. 
> I've also built the Boost libraries and set the environment variables as per 
> the instructions. 
> I tried the 3. Building from a Source Distribution using qpid-0.22.tar.gz 
> using the cmake command line tool. I got the following errors:
> c:\cyghome\QueueSystems\Qpid\qpid-0.22\cpp>cmake -i -G "Visual Studio 9 2008"
> Would you like to see advanced options? [No]:
> Please wait while cmake processes CMakeLists.txt files
>   File "", line 1
> from distutils.sysconfig import get_python_lib; print 
> get_python_lib(False)
>^
> SyntaxError: invalid syntax
>   File "C:/cyghome/QueueSystems/Qpid/qpid-0.22/cpp/managementgen/qmf-gen", 
> line
> 64
> print "no input files"
>  ^
> SyntaxError: invalid syntax
> CMake Error at src/CMakeLists.txt:231 (include):
>   include could not find load file:
> C:/cyghome/QueueSystems/Qpid/qpid-0.22/cpp/src/managementgen.cmake
> CMake Error at C:/Program Files (x86)/CMake 
> 2.8/share/cmake-2.8/Modules/FindBoos
> t.cmake:1104 (message):
>   Unable to find the requested Boost libraries.
>   Boost version: 1.54.0
>   Boost include path: C:/boost/boost_1_54_0
>   The following Boost libraries could not be found:
>   boost_program_options
>   boost_date_time
>   boost_thread
>   boost_unit_test_framework
>   boost_regex
>   No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
>   directory containing Boost libraries or BOOST_ROOT to the location of
>   Boost.
> Call Stack (most recent call first):
>   src/CMakeLists.txt:325 (find_package)
> -
> I also tried the 4. Building a Repository Working Copy with a checkout of the 
> latest from SVN using the cmake GUI (selecting Visual Studio 10 Win64 as the 
> generator since I don't have VS2008). I got the following errors:
> Regenerating Qpid Management Framework sources
> CMake Error at src/CMakeLists.txt:232 (include):
>   include could not find load file:
> C:/Qpid/src/managementgen.cmake
> CMake Error at C:/Program Files (x86)/CMake 
> 2.8/share/cmake-2.8/Modules/FindBoost.cmake:1104 (message):
>   Unable to find the requested Boost libraries.
>   Boost version: 1.54.0
>   Boost include path: C:/boost/boost_1_54_0
>   The following Boost libraries could not be found:
>   boost_program_options
>   boost_date_time
>   boost_thread
>   boost_unit_test_framework
>   boost_regex
>   No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
>   directory containing Boost libraries or BOOST_ROOT to the location of
>   Boost.
> Call Stack (most recent call first):
>   src/CMakeLists.txt:364 (find_package)
> CMake Error at src/CMakeLists.txt:366 (message):
>   Boost C++ libraries not found.  Please install or try setting BOOST_ROOT
> Configuring incomplete, errors occurred!
> -
> The relevant environment variables on my system are:
> BOOST_LIBRARYDIR=C:\boost\boost_1_54_0\stage\lib
> BOOST_ROOT=C:\boost\boost_1_54_0
> INCLUDE=c:\Program Files (x86)\Microsoft Visual Studio 
> 10.0\VC\INCLUDE;c:\Program Files (x86)\Microsoft Visual Studio 
> 10.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Microsoft 
> SDKs\Windows\v7.0A\include;C:\boost\boost_1_54_0
> LIB=c:\Program Files (x86)\Microsoft Visual Studio 
> 10.0\VC\LIB\amd64;c:\Program Files (x86)\Microsoft Visual Studio 
> 10.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Microsoft 
> SDKs\Windows\v7.0A\lib\x64;C:\boost\boost_1_54_0\stage\lib
> LIBPATH=C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Windows\Microsoft.NET\Framework64\v3.5;c:\Program
>  Files (x86)\Microsoft Visual Studio 10.0\VC\LIB\amd64;c:\Program Files 
> (x86)\Microsoft Visual Studio 
> 10.0\VC\ATLMFC\LIB\amd64;C:\boost\boost_1_54_0\stage\lib
> Path=c:\Program Files (x86)\Microsoft Visual Studio 
> 10.0\VC\BIN\amd64;C:\Windows\Microsoft.N

[jira] [Commented] (QPID-4982) qmf-gen doesn't work with Python 3

2023-04-14 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/QPID-4982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17712318#comment-17712318
 ] 

ASF GitHub Bot commented on QPID-4982:
--

jiridanek commented on PR #39:
URL: https://github.com/apache/qpid-cpp/pull/39#issuecomment-1508290270

   Seems to work. When the dev version of the lib is already installed, 
qpid-cpp will pick it up
   
   ```
   Installed 
/home/runner/work/qpid-cpp/qpid-cpp/INSTALL/lib/python3.8/site-packages/qpid_tools-1.40.0-py3.8.egg
   Processing dependencies for qpid-tools==1.40.0
   Searching for qpid-python==1.38.0.dev0+snapshot
   Best match: qpid-python 1.38.0.dev0+snapshot
   ```
   
   
https://github.com/apache/qpid-cpp/actions/runs/4698502759/jobs/8330860847?pr=39#step:17:1070




> qmf-gen doesn't work with Python 3
> --
>
> Key: QPID-4982
> URL: https://issues.apache.org/jira/browse/QPID-4982
> Project: Qpid
>  Issue Type: Bug
>  Components: C++ Build
>Affects Versions: 0.22, 0.23
> Environment: Any with python 3
>Reporter: Steve Rothkin
>Assignee: Justin Ross
>Priority: Minor
> Attachments: qpid-windows-build-log.txt, screenshot-1.jpg
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> I followed the instructions in cpp\INSTALL-WINDOWS. I have installed the 
> latest Windows versions of Boost, Ruby, and Python as per the instructions. 
> I've also built the Boost libraries and set the environment variables as per 
> the instructions. 
> I tried the 3. Building from a Source Distribution using qpid-0.22.tar.gz 
> using the cmake command line tool. I got the following errors:
> c:\cyghome\QueueSystems\Qpid\qpid-0.22\cpp>cmake -i -G "Visual Studio 9 2008"
> Would you like to see advanced options? [No]:
> Please wait while cmake processes CMakeLists.txt files
>   File "", line 1
> from distutils.sysconfig import get_python_lib; print 
> get_python_lib(False)
>^
> SyntaxError: invalid syntax
>   File "C:/cyghome/QueueSystems/Qpid/qpid-0.22/cpp/managementgen/qmf-gen", 
> line
> 64
> print "no input files"
>  ^
> SyntaxError: invalid syntax
> CMake Error at src/CMakeLists.txt:231 (include):
>   include could not find load file:
> C:/cyghome/QueueSystems/Qpid/qpid-0.22/cpp/src/managementgen.cmake
> CMake Error at C:/Program Files (x86)/CMake 
> 2.8/share/cmake-2.8/Modules/FindBoos
> t.cmake:1104 (message):
>   Unable to find the requested Boost libraries.
>   Boost version: 1.54.0
>   Boost include path: C:/boost/boost_1_54_0
>   The following Boost libraries could not be found:
>   boost_program_options
>   boost_date_time
>   boost_thread
>   boost_unit_test_framework
>   boost_regex
>   No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
>   directory containing Boost libraries or BOOST_ROOT to the location of
>   Boost.
> Call Stack (most recent call first):
>   src/CMakeLists.txt:325 (find_package)
> -
> I also tried the 4. Building a Repository Working Copy with a checkout of the 
> latest from SVN using the cmake GUI (selecting Visual Studio 10 Win64 as the 
> generator since I don't have VS2008). I got the following errors:
> Regenerating Qpid Management Framework sources
> CMake Error at src/CMakeLists.txt:232 (include):
>   include could not find load file:
> C:/Qpid/src/managementgen.cmake
> CMake Error at C:/Program Files (x86)/CMake 
> 2.8/share/cmake-2.8/Modules/FindBoost.cmake:1104 (message):
>   Unable to find the requested Boost libraries.
>   Boost version: 1.54.0
>   Boost include path: C:/boost/boost_1_54_0
>   The following Boost libraries could not be found:
>   boost_program_options
>   boost_date_time
>   boost_thread
>   boost_unit_test_framework
>   boost_regex
>   No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
>   directory containing Boost libraries or BOOST_ROOT to the location of
>   Boost.
> Call Stack (most recent call first):
>   src/CMakeLists.txt:364 (find_package)
> CMake Error at src/CMakeLists.txt:366 (message):
>   Boost C++ libraries not found.  Please install or try setting BOOST_ROOT
> Configuring incomplete, errors occurred!
> -
> The relevant environment variables on my system are:
> BOOST_LIBRARYDIR=C:\boost\boost_1_54_0\stage\lib
> BOOST_ROOT=C:\boost\boost_1_54_0
> INCLUDE=c:\Program Files (x86)\Microsoft Visual Studio 
> 10.0\VC\INCLUDE;c:\Program Files (x86)\Microsoft Visual Studio 
> 10.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Microsoft 
> SDKs\Windows\v7.0A\include;C:\boost\boost_1_54_0
> LIB=c:\Program Files (x86)\Microsoft Visual Studio 
> 10.0\VC\LIB\amd64;c:\Program Files (x86)\Microsoft 

[jira] [Commented] (QPID-4982) qmf-gen doesn't work with Python 3

2023-04-14 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/QPID-4982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17712297#comment-17712297
 ] 

ASF GitHub Bot commented on QPID-4982:
--

jiridanek commented on PR #39:
URL: https://github.com/apache/qpid-cpp/pull/39#issuecomment-1508241317

   Running tests against PR https://github.com/apache/qpid-python/pull/21




> qmf-gen doesn't work with Python 3
> --
>
> Key: QPID-4982
> URL: https://issues.apache.org/jira/browse/QPID-4982
> Project: Qpid
>  Issue Type: Bug
>  Components: C++ Build
>Affects Versions: 0.22, 0.23
> Environment: Any with python 3
>Reporter: Steve Rothkin
>Assignee: Justin Ross
>Priority: Minor
> Attachments: qpid-windows-build-log.txt, screenshot-1.jpg
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> I followed the instructions in cpp\INSTALL-WINDOWS. I have installed the 
> latest Windows versions of Boost, Ruby, and Python as per the instructions. 
> I've also built the Boost libraries and set the environment variables as per 
> the instructions. 
> I tried the 3. Building from a Source Distribution using qpid-0.22.tar.gz 
> using the cmake command line tool. I got the following errors:
> c:\cyghome\QueueSystems\Qpid\qpid-0.22\cpp>cmake -i -G "Visual Studio 9 2008"
> Would you like to see advanced options? [No]:
> Please wait while cmake processes CMakeLists.txt files
>   File "", line 1
> from distutils.sysconfig import get_python_lib; print 
> get_python_lib(False)
>^
> SyntaxError: invalid syntax
>   File "C:/cyghome/QueueSystems/Qpid/qpid-0.22/cpp/managementgen/qmf-gen", 
> line
> 64
> print "no input files"
>  ^
> SyntaxError: invalid syntax
> CMake Error at src/CMakeLists.txt:231 (include):
>   include could not find load file:
> C:/cyghome/QueueSystems/Qpid/qpid-0.22/cpp/src/managementgen.cmake
> CMake Error at C:/Program Files (x86)/CMake 
> 2.8/share/cmake-2.8/Modules/FindBoos
> t.cmake:1104 (message):
>   Unable to find the requested Boost libraries.
>   Boost version: 1.54.0
>   Boost include path: C:/boost/boost_1_54_0
>   The following Boost libraries could not be found:
>   boost_program_options
>   boost_date_time
>   boost_thread
>   boost_unit_test_framework
>   boost_regex
>   No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
>   directory containing Boost libraries or BOOST_ROOT to the location of
>   Boost.
> Call Stack (most recent call first):
>   src/CMakeLists.txt:325 (find_package)
> -
> I also tried the 4. Building a Repository Working Copy with a checkout of the 
> latest from SVN using the cmake GUI (selecting Visual Studio 10 Win64 as the 
> generator since I don't have VS2008). I got the following errors:
> Regenerating Qpid Management Framework sources
> CMake Error at src/CMakeLists.txt:232 (include):
>   include could not find load file:
> C:/Qpid/src/managementgen.cmake
> CMake Error at C:/Program Files (x86)/CMake 
> 2.8/share/cmake-2.8/Modules/FindBoost.cmake:1104 (message):
>   Unable to find the requested Boost libraries.
>   Boost version: 1.54.0
>   Boost include path: C:/boost/boost_1_54_0
>   The following Boost libraries could not be found:
>   boost_program_options
>   boost_date_time
>   boost_thread
>   boost_unit_test_framework
>   boost_regex
>   No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
>   directory containing Boost libraries or BOOST_ROOT to the location of
>   Boost.
> Call Stack (most recent call first):
>   src/CMakeLists.txt:364 (find_package)
> CMake Error at src/CMakeLists.txt:366 (message):
>   Boost C++ libraries not found.  Please install or try setting BOOST_ROOT
> Configuring incomplete, errors occurred!
> -
> The relevant environment variables on my system are:
> BOOST_LIBRARYDIR=C:\boost\boost_1_54_0\stage\lib
> BOOST_ROOT=C:\boost\boost_1_54_0
> INCLUDE=c:\Program Files (x86)\Microsoft Visual Studio 
> 10.0\VC\INCLUDE;c:\Program Files (x86)\Microsoft Visual Studio 
> 10.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Microsoft 
> SDKs\Windows\v7.0A\include;C:\boost\boost_1_54_0
> LIB=c:\Program Files (x86)\Microsoft Visual Studio 
> 10.0\VC\LIB\amd64;c:\Program Files (x86)\Microsoft Visual Studio 
> 10.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Microsoft 
> SDKs\Windows\v7.0A\lib\x64;C:\boost\boost_1_54_0\stage\lib
> LIBPATH=C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Windows\Microsoft.NET\Framework64\v3.5;c:\Program
>  Files (x86)\Microsoft Visual Studio 10.0\VC\LIB\amd64;c:\Program Files 
> (x86)\Microsoft Visual Studio 
> 10.0\VC\ATLMFC\LIB\amd64;C:\boost\boost_1_54_0\st

[jira] [Commented] (QPID-4982) qmf-gen doesn't work with Python 3

2023-04-08 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/QPID-4982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17709859#comment-17709859
 ] 

ASF subversion and git services commented on QPID-4982:
---

Commit da9e2200f0e6b0e7e04ed41a015051341b3502f8 in qpid-cpp's branch 
refs/heads/main from Jiri Daněk
[ https://gitbox.apache.org/repos/asf?p=qpid-cpp.git;h=da9e2200f ]

QPID-8610: add GitHub Actions workflow to build project and run ctest (#34)

Github Actions don't run on the PR, so I am monitoring it on my fork, 
https://github.com/jiridanek/qpid-cpp/actions/runs/4644235028

Using Focal (`runs-on: ubuntu-20.04`) for now, as it has the old requirements 
we need. Travis used to run Xenial, that worked even better, without 
workarounds for swig and ruby.

Python 2.7 is required 
([QPID-8516](https://issues.apache.org/jira/browse/QPID-8516), 
[QPID-4982](https://issues.apache.org/jira/browse/QPID-4982), 
[QPID-8517](https://issues.apache.org/jira/browse/QPID-8517))

Linux environment requires swig3.0 and ruby2.6 to compile and work 
([QPID-8606](https://issues.apache.org/jira/browse/QPID-8606), 
https://github.com/swig/swig/issues/1689)

The vcpkg version of Boost requires some changes to how dependencies are 
linked. What's in the PR now works on both Appveyor and Github Actions.

Caching is very important. Both installing boost with vcpkg on Windows and 
compiling the broker code takes a lot of time without cache. With cache, vcpkg 
is nearly instantaneous and broker compile takes only a few minutes on Linux, 
and few more on Windows. When using sccache, make or ninja CMake generators 
have to be used. MSBuild is not supported for `-DCMAKE_C_COMPILER_LAUNCHER` 
CMake option. This can be workarounded in the future by the usual trick of 
renaming `sccache.exe` to `cl.exe`.

Tests run very long. I am afraid to run them in parallel as part of this PR. I 
want to leave that for later. But it is going to be necessary, because the CI 
just takes way too much time otherwise.

Broker tests don't run on Windows and AFAIK they did not run there for a very 
long time.

> qmf-gen doesn't work with Python 3
> --
>
> Key: QPID-4982
> URL: https://issues.apache.org/jira/browse/QPID-4982
> Project: Qpid
>  Issue Type: Bug
>  Components: C++ Build
>Affects Versions: 0.22, 0.23
> Environment: Any with python 3
>Reporter: Steve Rothkin
>Assignee: Justin Ross
>Priority: Minor
> Attachments: qpid-windows-build-log.txt, screenshot-1.jpg
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> I followed the instructions in cpp\INSTALL-WINDOWS. I have installed the 
> latest Windows versions of Boost, Ruby, and Python as per the instructions. 
> I've also built the Boost libraries and set the environment variables as per 
> the instructions. 
> I tried the 3. Building from a Source Distribution using qpid-0.22.tar.gz 
> using the cmake command line tool. I got the following errors:
> c:\cyghome\QueueSystems\Qpid\qpid-0.22\cpp>cmake -i -G "Visual Studio 9 2008"
> Would you like to see advanced options? [No]:
> Please wait while cmake processes CMakeLists.txt files
>   File "", line 1
> from distutils.sysconfig import get_python_lib; print 
> get_python_lib(False)
>^
> SyntaxError: invalid syntax
>   File "C:/cyghome/QueueSystems/Qpid/qpid-0.22/cpp/managementgen/qmf-gen", 
> line
> 64
> print "no input files"
>  ^
> SyntaxError: invalid syntax
> CMake Error at src/CMakeLists.txt:231 (include):
>   include could not find load file:
> C:/cyghome/QueueSystems/Qpid/qpid-0.22/cpp/src/managementgen.cmake
> CMake Error at C:/Program Files (x86)/CMake 
> 2.8/share/cmake-2.8/Modules/FindBoos
> t.cmake:1104 (message):
>   Unable to find the requested Boost libraries.
>   Boost version: 1.54.0
>   Boost include path: C:/boost/boost_1_54_0
>   The following Boost libraries could not be found:
>   boost_program_options
>   boost_date_time
>   boost_thread
>   boost_unit_test_framework
>   boost_regex
>   No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
>   directory containing Boost libraries or BOOST_ROOT to the location of
>   Boost.
> Call Stack (most recent call first):
>   src/CMakeLists.txt:325 (find_package)
> -
> I also tried the 4. Building a Repository Working Copy with a checkout of the 
> latest from SVN using the cmake GUI (selecting Visual Studio 10 Win64 as the 
> generator since I don't have VS2008). I got the following errors:
> Regenerating Qpid Management Framework sources
> CMake Error at src/CMakeLists.txt:232 (include):
>   include could not find load file:
> C:/Qpid/src/managementgen.cmake
> CMake E

[jira] [Commented] (QPID-4982) qmf-gen doesn't work with Python 3

2021-03-15 Thread Jira


[ 
https://issues.apache.org/jira/browse/QPID-4982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17301575#comment-17301575
 ] 

Jiri Daněk commented on QPID-4982:
--

The qmf-gen part for Python 3 may've been fixed in QPID-8413. It works 
sufficiently well for me to build qpid-cpp-client. There may be other uses 
which will still break.

> qmf-gen doesn't work with Python 3
> --
>
> Key: QPID-4982
> URL: https://issues.apache.org/jira/browse/QPID-4982
> Project: Qpid
>  Issue Type: Bug
>  Components: C++ Build
>Affects Versions: 0.22, 0.23
> Environment: Any with python 3
>Reporter: Steve Rothkin
>Assignee: Justin Ross
>Priority: Minor
> Attachments: qpid-windows-build-log.txt, screenshot-1.jpg
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> I followed the instructions in cpp\INSTALL-WINDOWS. I have installed the 
> latest Windows versions of Boost, Ruby, and Python as per the instructions. 
> I've also built the Boost libraries and set the environment variables as per 
> the instructions. 
> I tried the 3. Building from a Source Distribution using qpid-0.22.tar.gz 
> using the cmake command line tool. I got the following errors:
> c:\cyghome\QueueSystems\Qpid\qpid-0.22\cpp>cmake -i -G "Visual Studio 9 2008"
> Would you like to see advanced options? [No]:
> Please wait while cmake processes CMakeLists.txt files
>   File "", line 1
> from distutils.sysconfig import get_python_lib; print 
> get_python_lib(False)
>^
> SyntaxError: invalid syntax
>   File "C:/cyghome/QueueSystems/Qpid/qpid-0.22/cpp/managementgen/qmf-gen", 
> line
> 64
> print "no input files"
>  ^
> SyntaxError: invalid syntax
> CMake Error at src/CMakeLists.txt:231 (include):
>   include could not find load file:
> C:/cyghome/QueueSystems/Qpid/qpid-0.22/cpp/src/managementgen.cmake
> CMake Error at C:/Program Files (x86)/CMake 
> 2.8/share/cmake-2.8/Modules/FindBoos
> t.cmake:1104 (message):
>   Unable to find the requested Boost libraries.
>   Boost version: 1.54.0
>   Boost include path: C:/boost/boost_1_54_0
>   The following Boost libraries could not be found:
>   boost_program_options
>   boost_date_time
>   boost_thread
>   boost_unit_test_framework
>   boost_regex
>   No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
>   directory containing Boost libraries or BOOST_ROOT to the location of
>   Boost.
> Call Stack (most recent call first):
>   src/CMakeLists.txt:325 (find_package)
> -
> I also tried the 4. Building a Repository Working Copy with a checkout of the 
> latest from SVN using the cmake GUI (selecting Visual Studio 10 Win64 as the 
> generator since I don't have VS2008). I got the following errors:
> Regenerating Qpid Management Framework sources
> CMake Error at src/CMakeLists.txt:232 (include):
>   include could not find load file:
> C:/Qpid/src/managementgen.cmake
> CMake Error at C:/Program Files (x86)/CMake 
> 2.8/share/cmake-2.8/Modules/FindBoost.cmake:1104 (message):
>   Unable to find the requested Boost libraries.
>   Boost version: 1.54.0
>   Boost include path: C:/boost/boost_1_54_0
>   The following Boost libraries could not be found:
>   boost_program_options
>   boost_date_time
>   boost_thread
>   boost_unit_test_framework
>   boost_regex
>   No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
>   directory containing Boost libraries or BOOST_ROOT to the location of
>   Boost.
> Call Stack (most recent call first):
>   src/CMakeLists.txt:364 (find_package)
> CMake Error at src/CMakeLists.txt:366 (message):
>   Boost C++ libraries not found.  Please install or try setting BOOST_ROOT
> Configuring incomplete, errors occurred!
> -
> The relevant environment variables on my system are:
> BOOST_LIBRARYDIR=C:\boost\boost_1_54_0\stage\lib
> BOOST_ROOT=C:\boost\boost_1_54_0
> INCLUDE=c:\Program Files (x86)\Microsoft Visual Studio 
> 10.0\VC\INCLUDE;c:\Program Files (x86)\Microsoft Visual Studio 
> 10.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Microsoft 
> SDKs\Windows\v7.0A\include;C:\boost\boost_1_54_0
> LIB=c:\Program Files (x86)\Microsoft Visual Studio 
> 10.0\VC\LIB\amd64;c:\Program Files (x86)\Microsoft Visual Studio 
> 10.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Microsoft 
> SDKs\Windows\v7.0A\lib\x64;C:\boost\boost_1_54_0\stage\lib
> LIBPATH=C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Windows\Microsoft.NET\Framework64\v3.5;c:\Program
>  Files (x86)\Microsoft Visual Studio 10.0\VC\LIB\amd64;c:\Program Files 
> (x86)\Microsoft Visual Studio 
> 10.0\VC\ATLMFC\LIB\amd64;C:\boost\boost_1_54_0\stage\lib
> Path=c:

[jira] [Commented] (QPID-4982) qmf-gen doesn't work with Python 3

2013-07-12 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13707334#comment-13707334
 ] 

ASF subversion and git services commented on QPID-4982:
---

Commit 1502669 from [~shuston]
[ https://svn.apache.org/r1502669 ]

Warn that python 3.x and ruby 2.x do not work. Related to QPID-4982.

> qmf-gen doesn't work with Python 3
> --
>
> Key: QPID-4982
> URL: https://issues.apache.org/jira/browse/QPID-4982
> Project: Qpid
>  Issue Type: Bug
>  Components: Build Tools
>Affects Versions: 0.22, 0.23
> Environment: Any with python 3
>Reporter: Steve Rothkin
>Priority: Minor
> Attachments: qpid-windows-build-log.txt, screenshot-1.jpg
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> I followed the instructions in cpp\INSTALL-WINDOWS. I have installed the 
> latest Windows versions of Boost, Ruby, and Python as per the instructions. 
> I've also built the Boost libraries and set the environment variables as per 
> the instructions. 
> I tried the 3. Building from a Source Distribution using qpid-0.22.tar.gz 
> using the cmake command line tool. I got the following errors:
> c:\cyghome\QueueSystems\Qpid\qpid-0.22\cpp>cmake -i -G "Visual Studio 9 2008"
> Would you like to see advanced options? [No]:
> Please wait while cmake processes CMakeLists.txt files
>   File "", line 1
> from distutils.sysconfig import get_python_lib; print 
> get_python_lib(False)
>^
> SyntaxError: invalid syntax
>   File "C:/cyghome/QueueSystems/Qpid/qpid-0.22/cpp/managementgen/qmf-gen", 
> line
> 64
> print "no input files"
>  ^
> SyntaxError: invalid syntax
> CMake Error at src/CMakeLists.txt:231 (include):
>   include could not find load file:
> C:/cyghome/QueueSystems/Qpid/qpid-0.22/cpp/src/managementgen.cmake
> CMake Error at C:/Program Files (x86)/CMake 
> 2.8/share/cmake-2.8/Modules/FindBoos
> t.cmake:1104 (message):
>   Unable to find the requested Boost libraries.
>   Boost version: 1.54.0
>   Boost include path: C:/boost/boost_1_54_0
>   The following Boost libraries could not be found:
>   boost_program_options
>   boost_date_time
>   boost_thread
>   boost_unit_test_framework
>   boost_regex
>   No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
>   directory containing Boost libraries or BOOST_ROOT to the location of
>   Boost.
> Call Stack (most recent call first):
>   src/CMakeLists.txt:325 (find_package)
> -
> I also tried the 4. Building a Repository Working Copy with a checkout of the 
> latest from SVN using the cmake GUI (selecting Visual Studio 10 Win64 as the 
> generator since I don't have VS2008). I got the following errors:
> Regenerating Qpid Management Framework sources
> CMake Error at src/CMakeLists.txt:232 (include):
>   include could not find load file:
> C:/Qpid/src/managementgen.cmake
> CMake Error at C:/Program Files (x86)/CMake 
> 2.8/share/cmake-2.8/Modules/FindBoost.cmake:1104 (message):
>   Unable to find the requested Boost libraries.
>   Boost version: 1.54.0
>   Boost include path: C:/boost/boost_1_54_0
>   The following Boost libraries could not be found:
>   boost_program_options
>   boost_date_time
>   boost_thread
>   boost_unit_test_framework
>   boost_regex
>   No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
>   directory containing Boost libraries or BOOST_ROOT to the location of
>   Boost.
> Call Stack (most recent call first):
>   src/CMakeLists.txt:364 (find_package)
> CMake Error at src/CMakeLists.txt:366 (message):
>   Boost C++ libraries not found.  Please install or try setting BOOST_ROOT
> Configuring incomplete, errors occurred!
> -
> The relevant environment variables on my system are:
> BOOST_LIBRARYDIR=C:\boost\boost_1_54_0\stage\lib
> BOOST_ROOT=C:\boost\boost_1_54_0
> INCLUDE=c:\Program Files (x86)\Microsoft Visual Studio 
> 10.0\VC\INCLUDE;c:\Program Files (x86)\Microsoft Visual Studio 
> 10.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Microsoft 
> SDKs\Windows\v7.0A\include;C:\boost\boost_1_54_0
> LIB=c:\Program Files (x86)\Microsoft Visual Studio 
> 10.0\VC\LIB\amd64;c:\Program Files (x86)\Microsoft Visual Studio 
> 10.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Microsoft 
> SDKs\Windows\v7.0A\lib\x64;C:\boost\boost_1_54_0\stage\lib
> LIBPATH=C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Windows\Microsoft.NET\Framework64\v3.5;c:\Program
>  Files (x86)\Microsoft Visual Studio 10.0\VC\LIB\amd64;c:\Program Files 
> (x86)\Microsoft Visual Studio 
> 10.0\VC\ATLMFC\LIB\amd64;C:\boost\boost_1_54_0\stage\lib
> Path=c:\Program Fi

[jira] [Commented] (QPID-4982) qmf-gen doesn't work with Python 3

2013-07-12 Thread Steve Rothkin (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13707315#comment-13707315
 ] 

Steve Rothkin commented on QPID-4982:
-

cpp/INSTALL-WINDOWS should also be updated to show the HIGHEST version number 
supported for Ruby and Boost (since the most recent of both are not currently 
supported and I had to back-level Ruby to eliminate those errors).

> qmf-gen doesn't work with Python 3
> --
>
> Key: QPID-4982
> URL: https://issues.apache.org/jira/browse/QPID-4982
> Project: Qpid
>  Issue Type: Bug
>  Components: Build Tools
>Affects Versions: 0.22, 0.23
> Environment: Any with python 3
>Reporter: Steve Rothkin
>Priority: Minor
> Attachments: qpid-windows-build-log.txt, screenshot-1.jpg
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> I followed the instructions in cpp\INSTALL-WINDOWS. I have installed the 
> latest Windows versions of Boost, Ruby, and Python as per the instructions. 
> I've also built the Boost libraries and set the environment variables as per 
> the instructions. 
> I tried the 3. Building from a Source Distribution using qpid-0.22.tar.gz 
> using the cmake command line tool. I got the following errors:
> c:\cyghome\QueueSystems\Qpid\qpid-0.22\cpp>cmake -i -G "Visual Studio 9 2008"
> Would you like to see advanced options? [No]:
> Please wait while cmake processes CMakeLists.txt files
>   File "", line 1
> from distutils.sysconfig import get_python_lib; print 
> get_python_lib(False)
>^
> SyntaxError: invalid syntax
>   File "C:/cyghome/QueueSystems/Qpid/qpid-0.22/cpp/managementgen/qmf-gen", 
> line
> 64
> print "no input files"
>  ^
> SyntaxError: invalid syntax
> CMake Error at src/CMakeLists.txt:231 (include):
>   include could not find load file:
> C:/cyghome/QueueSystems/Qpid/qpid-0.22/cpp/src/managementgen.cmake
> CMake Error at C:/Program Files (x86)/CMake 
> 2.8/share/cmake-2.8/Modules/FindBoos
> t.cmake:1104 (message):
>   Unable to find the requested Boost libraries.
>   Boost version: 1.54.0
>   Boost include path: C:/boost/boost_1_54_0
>   The following Boost libraries could not be found:
>   boost_program_options
>   boost_date_time
>   boost_thread
>   boost_unit_test_framework
>   boost_regex
>   No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
>   directory containing Boost libraries or BOOST_ROOT to the location of
>   Boost.
> Call Stack (most recent call first):
>   src/CMakeLists.txt:325 (find_package)
> -
> I also tried the 4. Building a Repository Working Copy with a checkout of the 
> latest from SVN using the cmake GUI (selecting Visual Studio 10 Win64 as the 
> generator since I don't have VS2008). I got the following errors:
> Regenerating Qpid Management Framework sources
> CMake Error at src/CMakeLists.txt:232 (include):
>   include could not find load file:
> C:/Qpid/src/managementgen.cmake
> CMake Error at C:/Program Files (x86)/CMake 
> 2.8/share/cmake-2.8/Modules/FindBoost.cmake:1104 (message):
>   Unable to find the requested Boost libraries.
>   Boost version: 1.54.0
>   Boost include path: C:/boost/boost_1_54_0
>   The following Boost libraries could not be found:
>   boost_program_options
>   boost_date_time
>   boost_thread
>   boost_unit_test_framework
>   boost_regex
>   No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
>   directory containing Boost libraries or BOOST_ROOT to the location of
>   Boost.
> Call Stack (most recent call first):
>   src/CMakeLists.txt:364 (find_package)
> CMake Error at src/CMakeLists.txt:366 (message):
>   Boost C++ libraries not found.  Please install or try setting BOOST_ROOT
> Configuring incomplete, errors occurred!
> -
> The relevant environment variables on my system are:
> BOOST_LIBRARYDIR=C:\boost\boost_1_54_0\stage\lib
> BOOST_ROOT=C:\boost\boost_1_54_0
> INCLUDE=c:\Program Files (x86)\Microsoft Visual Studio 
> 10.0\VC\INCLUDE;c:\Program Files (x86)\Microsoft Visual Studio 
> 10.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Microsoft 
> SDKs\Windows\v7.0A\include;C:\boost\boost_1_54_0
> LIB=c:\Program Files (x86)\Microsoft Visual Studio 
> 10.0\VC\LIB\amd64;c:\Program Files (x86)\Microsoft Visual Studio 
> 10.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Microsoft 
> SDKs\Windows\v7.0A\lib\x64;C:\boost\boost_1_54_0\stage\lib
> LIBPATH=C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Windows\Microsoft.NET\Framework64\v3.5;c:\Program
>  Files (x86)\Microsoft Visual Studio 10.0\VC\LIB\amd64;c:\Program Files 
> (x86)\Microsoft Visual Studio 
> 10.0\VC\ATLMFC\LIB\amd64;