[ https://issues.apache.org/jira/browse/QPID-4982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13703331#comment-13703331 ]
Steve Rothkin commented on QPID-4982: ------------------------------------- I tried again with C:\> cd C:\Sources\Qpid\qpid-0.22\cpp C:\Sources\Qpid\qpid-0.22\cpp> mkdir b64-vs2010 C:\Sources\Qpid\qpid-0.22\cpp> cd b64-vs2010 C:\Sources\Qpid\qpid-0.22\cpp\b64-vs2010> cmake -i -G "Visual Studio 10" .. and I got (including my configuration option changes): Would you like to see advanced options? [No]: Please wait while cmake processes CMakeLists.txt files.... File "<string>", line 1 from distutils.sysconfig import get_python_lib; print get_python_lib(False) ^ SyntaxError: invalid syntax Generated C:/Sources/Qpid/qpid-0.22/cpp/b64-vs2010/src/tests/allSegmentTypes.h Generated C:/Sources/Qpid/qpid-0.22/cpp/b64-vs2010/src/qpid/amqp_0_10/exceptions .h : : : : : : : : : Generated C:/Sources/Qpid/qpid-0.22/cpp/b64-vs2010/src/../include/qpid/framing/a mqp_structs.h File "C:/Sources/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:/Sources/Qpid/qpid-0.22/cpp/b64-vs2010/src/managementgen.cmake File "setup.py", line 42 raise DistutilsFileError, \ ^ SyntaxError: invalid syntax Variable Name: BUILD_ACL Description: Build ACL enforcement broker plugin Current Value: ON New Value (Enter to keep current value): Variable Name: BUILD_AMQP Description: Build with support for AMQP 1.0 Current Value: OFF New Value (Enter to keep current value): ON Variable Name: BUILD_HA Description: Build Active-Passive HA plugin Current Value: ON New Value (Enter to keep current value): Variable Name: BUILD_LEGACYSTORE Description: Build legacystore persistent store Current Value: OFF New Value (Enter to keep current value): Variable Name: BUILD_MSCLFS Description: Build MS hybrid SQL-CLFS Store provider plugin Current Value: ON New Value (Enter to keep current value): Variable Name: BUILD_MSSQL Description: Build MS SQL Store provider plugin Current Value: ON New Value (Enter to keep current value): Variable Name: BUILD_PROBES Description: Build with DTrace/systemtap static probes Current Value: OFF New Value (Enter to keep current value): Variable Name: BUILD_RDMA Description: Build with support for Remote DMA protocols Current Value: OFF New Value (Enter to keep current value): Variable Name: BUILD_SASL Description: Build with Cyrus SASL support Current Value: OFF New Value (Enter to keep current value): Variable Name: BUILD_SSL Description: Build with support for SSL Current Value: ON New Value (Enter to keep current value): Variable Name: BUILD_TESTING Description: Build the testing tree. Current Value: ON New Value (Enter to keep current value): Variable Name: BUILD_XML Description: Build with XML Exchange Current Value: OFF New Value (Enter to keep current value): Variable Name: CMAKE_BACKWARDS_COMPATIBILITY Description: For backwards compatibility, what version of CMake commands and syn tax should this version of CMake try to support. Current Value: 2.4 New Value (Enter to keep current value): Variable Name: CMAKE_INSTALL_PREFIX Description: Install path prefix, prepended onto install directories. Current Value: C:/Program Files/qpid-cpp New Value (Enter to keep current value): c:/Qpid Variable Name: ENABLE_VALGRIND Description: Use valgrind to detect run-time problems Current Value: ON New Value (Enter to keep current value): OFF Variable Name: ENABLE_WARNINGS Description: Enable lots of compiler warnings (recommended) Current Value: ON New Value (Enter to keep current value): Variable Name: EXECUTABLE_OUTPUT_PATH Description: Single output directory for building all executables. Current Value: New Value (Enter to keep current value): Variable Name: GEN_DOXYGEN Description: Use doxygen to generate user documentation Current Value: ON New Value (Enter to keep current value): Variable Name: GEN_MANPAGES Description: Use help2man to generate man pages Current Value: ON New Value (Enter to keep current value): OFF Variable Name: HELP2MAN Description: Location of the help2man program Current Value: HELP2MAN-NOTFOUND New Value (Enter to keep current value): Variable Name: LIBRARY_OUTPUT_PATH Description: Single output directory for building all libraries. Current Value: New Value (Enter to keep current value): Variable Name: POLLER Description: Poller implementation (poll/epoll) Current Value: New Value (Enter to keep current value): Variable Name: QPIDC_CONF_FILE Description: Name of the Qpid client configuration file Current Value: conf/qpidc.conf New Value (Enter to keep current value): Variable Name: QPIDC_MODULE_DIR Description: Directory to load client plug-in modules from Current Value: plugins/client New Value (Enter to keep current value): Variable Name: QPIDD_CONF_FILE Description: Name of the Qpid broker configuration file Current Value: conf/qpidd.conf New Value (Enter to keep current value): Variable Name: QPIDD_MODULE_DIR Description: Directory to load broker plug-in modules from Current Value: plugins/broker New Value (Enter to keep current value): Variable Name: QPID_INSTALL_BINDIR Description: Directory to install user executables Current Value: bin New Value (Enter to keep current value): Variable Name: QPID_INSTALL_CONFDIR Description: Directory to install configuration files Current Value: conf New Value (Enter to keep current value): Variable Name: QPID_INSTALL_DATADIR Description: Directory to install read-only arch.-independent data root Current Value: conf New Value (Enter to keep current value): Variable Name: QPID_INSTALL_DOCDIR Description: Directory to install documentation Current Value: docs New Value (Enter to keep current value): Variable Name: QPID_INSTALL_EXAMPLESDIR Description: Directory to install programming examples in Current Value: examples New Value (Enter to keep current value): Variable Name: QPID_INSTALL_INCLUDEDIR Description: Directory to install programming header files Current Value: include New Value (Enter to keep current value): Variable Name: QPID_INSTALL_LIBDIR Description: Directory to install library files Current Value: bin New Value (Enter to keep current value): Variable Name: QPID_INSTALL_SASLDIR Description: Directory to install SASL configuration files Current Value: conf New Value (Enter to keep current value): Variable Name: QPID_INSTALL_SBINDIR Description: Directory to install system admin executables Current Value: bin New Value (Enter to keep current value): Variable Name: QPID_INSTALL_TESTDIR Description: Directory for test executables Current Value: bin New Value (Enter to keep current value): Variable Name: QPID_LINK_BOOST_DYNAMIC Description: Link with dynamic Boost libs (OFF to link static) Current Value: ON New Value (Enter to keep current value): Variable Name: QPID_WINDOWS_DEFAULT_TEST_OUTPUTS Description: Use default error-handling on Windows tests Current Value: OFF New Value (Enter to keep current value): Variable Name: SET_WIN32_WINNT Description: In Windows-MSVC build: define _WIN32_WINNT=0x0502 to select target version: Windows XP with SP3 Current Value: ON New Value (Enter to keep current value): OFF Variable Name: SWIG_EXECUTABLE Description: Path to a program. Current Value: SWIG_EXECUTABLE-NOTFOUND New Value (Enter to keep current value): Variable Name: VALGRIND Description: Location of the valgrind program Current Value: VALGRIND-NOTFOUND New Value (Enter to keep current value): Please wait while cmake processes CMakeLists.txt files.... File "<string>", line 1 from distutils.sysconfig import get_python_lib; print get_python_lib(False) ^ SyntaxError: invalid syntax File "C:/Sources/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:/Sources/Qpid/qpid-0.22/cpp/b64-vs2010/src/managementgen.cmake CMake Error at src/amqp.cmake:43 (message): Qpid proton not found, required for amqp 1.0 support Call Stack (most recent call first): src/CMakeLists.txt:688 (include) C:\Sources\Qpid\qpid-0.22\cpp\b64-vs2010> > cmake for Visual Studio fails > ----------------------------- > > 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: Windows 7 Enterprise 64 bit SP1 > Reporter: Steve Rothkin > Priority: Blocker > > 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 "<string>", 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.NET\Framework64\v4.0.30319;C:\Windows\Microsoft.NET\Framework64\v3.5;c:\Program > Files (x86)\Microsoft Visual Studio 10.0\VC\VCPackages;c:\Program Files > (x86)\Microsoft Visual Studio 10.0\Common7\IDE;c:\Program Files > (x86)\Microsoft Visual Studio 10.0\Common7\Tools;C:\Program Files (x86)\HTML > Help Workshop;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX > 4.0 Tools\x64;C:\Program Files (x86)\Microsoft > SDKs\Windows\v7.0A\bin\x64;C:\Program Files (x86)\Microsoft > SDKs\Windows\v7.0A\bin;C:\Python33\;C:\Klocwork\User > 9.6\bin;C:\Klocwork\Server > 9.6\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program > Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files > (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common > Files\Roxio Shared\10.0\DLLShared\;C:\Program Files (x86)\WinMerge;c:\Program > Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Code > Collaborator Client;C:\Program Files (x86)\NTP\bin;C:\Program > Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft > ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files\Microsoft SQL > Server\110\Tools\Binn\;C:\Program Files\TortoiseSVN\bin;C:\Program Files > (x86)\Windows Kits\8.0\Windows Performance Toolkit\;C:\Program Files > (x86)\Windows Kits\8.0\Debuggers\x86;C:\Program Files > (x86)\QuickTime\QTSystem\;C:\Program > Files\doxygen\bin;C:\Ruby200-x64\bin;c:\tools;c:\bats;C:\cyghome\utils;C:\cyghome\argus-libs\lib\Fusion4-DVR;C:\cyghome\argus-libs\lib\libJpegIPP\DLLs;C:\TOOLS\Sysinternals;C:\Program > Files (x86)\IDM Computer Solutions\UltraEdit\;C:\Program Files (x86)\IDM > Computer > Solutions\UltraCompare\;C:\cyghome\argus-libs\lib\ffmpeg;C:\cyghome\tools;C:\cyghome\argus-libs\lib\zlib;C:\cyghome\argus-libs\lib\libxml;C:\Program > Files (x86)\CMake 2.8\bin > PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.RB;.RBW > Platform=X64 > PROCESSOR_ARCHITECTURE=AMD64 > PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 42 Stepping 7, GenuineIntel > PROCESSOR_LEVEL=6 > PROCESSOR_REVISION=2a07 > RUBY_LIBRARY=C:\Ruby200-x64\lib > VCINSTALLDIR=c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ > VS100COMNTOOLS=c:\Program Files (x86)\Microsoft Visual Studio > 10.0\Common7\Tools\ > VS110COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio > 11.0\Common7\Tools\ > VS80COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\Tools\ > VSEDEFLOGDIR=C:\ProgramData\McAfee\DesktopProtection > VSINSTALLDIR=c:\Program Files (x86)\Microsoft Visual Studio 10.0\ > Directory of C:\boost\boost_1_54_0\stage\lib > 07/08/2013 11:22 AM <DIR> . > 07/08/2013 11:22 AM <DIR> .. > 07/08/2013 11:09 AM 5,304 libboost_atomic-vc110-mt-1_54.lib > 07/08/2013 10:56 AM 52,322 libboost_atomic-vc110-mt-gd-1_54.lib > 07/08/2013 11:09 AM 480,636 libboost_chrono-vc110-mt-1_54.lib > 07/08/2013 10:57 AM 2,062,582 libboost_chrono-vc110-mt-gd-1_54.lib > 07/08/2013 11:10 AM 2,766 libboost_context-vc110-mt-1_54.lib > 07/08/2013 10:57 AM 5,848 libboost_context-vc110-mt-gd-1_54.lib > 07/08/2013 11:10 AM 44,296 libboost_coroutine-vc110-mt-1_54.lib > 07/08/2013 10:57 AM 905,960 libboost_coroutine-vc110-mt-gd-1_54.lib > 07/08/2013 11:10 AM 762,748 libboost_date_time-vc110-mt-1_54.lib > 07/08/2013 10:57 AM 2,793,484 libboost_date_time-vc110-mt-gd-1_54.lib > 07/08/2013 11:10 AM 2,882 libboost_exception-vc110-mt-1_54.lib > 07/08/2013 10:57 AM 33,468 libboost_exception-vc110-mt-gd-1_54.lib > 07/08/2013 11:10 AM 1,202,304 libboost_filesystem-vc110-mt-1_54.lib > 07/08/2013 10:57 AM 5,986,182 > libboost_filesystem-vc110-mt-gd-1_54.lib > 07/08/2013 11:11 AM 5,988,254 libboost_graph-vc110-mt-1_54.lib > 07/08/2013 10:58 AM 14,856,578 libboost_graph-vc110-mt-gd-1_54.lib > 07/08/2013 11:11 AM 522,366 libboost_iostreams-vc110-mt-1_54.lib > 07/08/2013 10:58 AM 1,711,794 libboost_iostreams-vc110-mt-gd-1_54.lib > 07/08/2013 11:12 AM 7,974,420 libboost_locale-vc110-mt-1_54.lib > 07/08/2013 10:59 AM 27,467,094 libboost_locale-vc110-mt-gd-1_54.lib > 07/08/2013 11:13 AM 18,647,972 libboost_log-vc110-mt-1_54.lib > 07/08/2013 11:01 AM 62,962,658 libboost_log-vc110-mt-gd-1_54.lib > 07/08/2013 11:16 AM 146,609,068 libboost_log_setup-vc110-mt-1_54.lib > 07/08/2013 11:03 AM 372,662,846 libboost_log_setup-vc110-mt-gd-1_54.lib > 07/08/2013 11:17 AM 915,762 libboost_math_c99-vc110-mt-1_54.lib > 07/08/2013 11:04 AM 3,979,128 libboost_math_c99-vc110-mt-gd-1_54.lib > 07/08/2013 11:18 AM 918,378 libboost_math_c99f-vc110-mt-1_54.lib > 07/08/2013 11:05 AM 3,971,942 libboost_math_c99f-vc110-mt-gd-1_54.lib > 07/08/2013 11:18 AM 886,648 libboost_math_c99l-vc110-mt-1_54.lib > 07/08/2013 11:05 AM 3,923,692 libboost_math_c99l-vc110-mt-gd-1_54.lib > 07/08/2013 11:16 AM 6,355,856 libboost_math_tr1-vc110-mt-1_54.lib > 07/08/2013 11:03 AM 17,017,042 libboost_math_tr1-vc110-mt-gd-1_54.lib > 07/08/2013 11:17 AM 6,667,092 libboost_math_tr1f-vc110-mt-1_54.lib > 07/08/2013 11:04 AM 17,592,218 libboost_math_tr1f-vc110-mt-gd-1_54.lib > 07/08/2013 11:17 AM 6,293,830 libboost_math_tr1l-vc110-mt-1_54.lib > 07/08/2013 11:04 AM 16,874,982 libboost_math_tr1l-vc110-mt-gd-1_54.lib > 07/08/2013 11:21 AM 417,352 > libboost_prg_exec_monitor-vc110-mt-1_54.lib > 07/08/2013 11:08 AM 1,880,686 > libboost_prg_exec_monitor-vc110-mt-gd-1_54.lib > 07/08/2013 11:18 AM 6,978,044 > libboost_program_options-vc110-mt-1_54.lib > 07/08/2013 11:05 AM 22,410,818 > libboost_program_options-vc110-mt-gd-1_54.lib > 07/08/2013 11:20 AM 6,571,390 libboost_python-vc110-mt-1_54.lib > 07/08/2013 11:07 AM 26,408,890 libboost_python-vc110-mt-gd-1_54.lib > 07/08/2013 11:20 AM 6,571,390 libboost_python3-vc110-mt-1_54.lib > 07/08/2013 11:07 AM 26,408,890 libboost_python3-vc110-mt-gd-1_54.lib > 07/08/2013 11:20 AM 132,588 libboost_random-vc110-mt-1_54.lib > 07/08/2013 11:07 AM 597,522 libboost_random-vc110-mt-gd-1_54.lib > 07/08/2013 11:11 AM 11,507,578 libboost_regex-vc110-mt-1_54.lib > 07/08/2013 10:58 AM 38,436,260 libboost_regex-vc110-mt-gd-1_54.lib > 07/08/2013 11:20 AM 11,874,762 > libboost_serialization-vc110-mt-1_54.lib > 07/08/2013 11:07 AM 35,962,884 > libboost_serialization-vc110-mt-gd-1_54.lib > 07/08/2013 11:21 AM 1,226,440 libboost_signals-vc110-mt-1_54.lib > 07/08/2013 11:08 AM 4,889,808 libboost_signals-vc110-mt-gd-1_54.lib > 07/08/2013 11:09 AM 132,048 libboost_system-vc110-mt-1_54.lib > 07/08/2013 10:57 AM 599,278 libboost_system-vc110-mt-gd-1_54.lib > 07/08/2013 11:22 AM 11,692,218 > libboost_test_exec_monitor-vc110-mt-1_54.lib > 07/08/2013 11:09 AM 28,444,630 > libboost_test_exec_monitor-vc110-mt-gd-1_54.lib > 07/08/2013 11:12 AM 1,077,188 libboost_thread-vc110-mt-1_54.lib > 07/08/2013 10:59 AM 3,481,234 libboost_thread-vc110-mt-gd-1_54.lib > 07/08/2013 11:22 AM 258,454 libboost_timer-vc110-mt-1_54.lib > 07/08/2013 11:09 AM 1,226,768 libboost_timer-vc110-mt-gd-1_54.lib > 07/08/2013 11:22 AM 12,738,320 > libboost_unit_test_framework-vc110-mt-1_54.lib > 07/08/2013 11:09 AM 31,492,116 > libboost_unit_test_framework-vc110-mt-gd-1_54.lib > 07/08/2013 11:22 AM 46,219,952 libboost_wave-vc110-mt-1_54.lib > 07/08/2013 11:09 AM 100,767,276 libboost_wave-vc110-mt-gd-1_54.lib > 07/08/2013 11:21 AM 9,159,776 > libboost_wserialization-vc110-mt-1_54.lib > 07/08/2013 11:08 AM 23,032,148 > libboost_wserialization-vc110-mt-gd-1_54.lib -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org