Hi Steve, I just tried configuring with CMake on Solaris. I have never used CMake before. Is there documentation on building qpid with CMake somewhere?
This is what I ran from /vol/devel1/rriggs/qpid-svn/qpid/cpp: CXXFLAGS="-m64" CFLAGS="-m64" cmake -DCMAKE_INSTALL_PREFIX=/vol/devel1/rriggs/qpid-svn-cmake -DBoost_INCLUDE_DIR=/usr/local/boost/boost_1_38_0_gcc4/include -DBoost_LIB_DIR=/usr/local/boost/boost_1_38_0_gcc4/lib/sparcv9 Is there a simple, platform and compiler independent way of telling CMake you want to do a 64-bit build on systems that support both 32-bit and 64-bit builds? Setting the CXXFLAGS and CFLAGS seems a bit hokey. Is it reasonable to expect CMake to find and install 64-bit libraries in lib/sparcv9, which is the customary place for them on Solaris/SPARC? This is what cmake generated: QPIDC_INSTALL_LIBDIR:STRING=/vol/devel1/rriggs/qpid-svn-cmake/lib But Qpid's 64-bit libraries, on Solaris/SPARC, belong in /vol/devel1/rriggs/qpid-svn-cmake/lib/sparcv9. It doesn't seem to find the Boost 64-bit libraries in lib/sparcv9. I have to explicitly point it to the 64-bit libraries. I should be able to give it BOOST_ROOT and it should figure it out from there when CMAKE_SIZEOF_VOID_P:INTERNAL=8. I am getting these errors: CMake Error: Error in cmake code at /vol/devel1/rriggs/qpid-svn/qpid/cpp/src/CMakeLists.txt:100: INCLUDE Could not find include file: rubygen.cmake Current CMake stack: [1]/vol/devel1/rriggs/qpid-svn/qpid/cpp/src/CMakeLists.txt CMake Error: Error in cmake code at /vol/devel1/rriggs/qpid-svn/qpid/cpp/src/CMakeLists.txt:101: INCLUDE Could not find include file: managementgen.cmake Current CMake stack: [1]/vol/devel1/rriggs/qpid-svn/qpid/cpp/src/CMakeLists.txt I assume there is a step in the CMake build process I am missing. Regards, Rob -----Original Message----- From: Steve Huston [mailto:[email protected]] Sent: Wednesday, June 17, 2009 10:53 AM To: [email protected] Subject: RE: Solaris, GCC-4.3.2 & Boost-1.38.0 I know there were a series of email replies to get the automake situation straightened out for Solaris, but has anyone tried the Solaris build, either Sun CC or g++, with the CMake build? It would be great to get some testing there, as I only translated the Solaris settings to CMake without building it. Thanks, -Steve This e-mail and files transmitted with it are confidential, and are intended solely for the use of the individual or entity to whom this e-mail is addressed. If you are not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you are not one of the named recipient(s) or otherwise have reason to believe that you received this message in error, please immediately notify sender by e-mail, and destroy the original message. Thank You. --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
