On 11/01/2013 06:42 PM, Sam Jones wrote:
I've been unsuccessful in building an RPM for the 0.24 branch of QPID under
CentOS 6.4 64-bit. My version of cmake is 2.6.4.
Steps:
svn checkout http://svn.apache.org/repos/asf/qpid/branches/0.24/qpid qpid
cd qpid/cpp
mkdir BLD
cd BLD
cmake -D CMAKE_INSTALL_PREFIX:PATH=/usr -D CPACK_BINARY_RPM:BOOL=ON ..
make package
It seems to build fine, but it doesn't create the RPM. My final output is as
follows:
I didn't even know that cmake would automatically build rpms, I've never
tried that and its quite possible no-one else has so maybe something is
missing in the build files...
...
[ 99%] Built target request-response_server
[ 99%] Built target tradedemo_declare_queues
[ 99%] Built target tradedemo_topic_listener
[100%] Built target tradedemo_topic_publisher
Run CPack packaging tool...
CPack: Create package using RPM
CPack: Install projects
CPack: - Run preinstall target for: qpid-cpp
CPack: - Install project: qpid-cpp
CPack: Compress package
CPack: Finalize package
CPack Error: Problem copying the package:
/home/sjones/qpid/cpp/BLD/_CPack_Packages/Linux/RPM/qpid-cpp-0.24-Linux.rpm to
/home/sjones/qpid/cpp/BLD/qpid-cpp-0.24-Linux.rpm
CPack Error: Error when generating package: qpid-cpp
make: *** [package] Error 1
Any ideas?
I assume the problem in 'copying' is that
/home/sjones/qpid/cpp/BLD/_CPack_Packages/Linux/RPM/qpid-cpp-0.24-Linux.rpm
doesn't actually exist? Are there any build logs in that directory with
more detail/clues?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org