On 11/04/2013 06:37 PM, Alan Conway wrote:
On 11/04/2013 06:15 AM, Gordon Sim wrote:
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?


Just tried this myself on fedroa 18. My first attempt failed because I
had some root-owned files hanging around from a previous "sudo make
install". I built in a clean directory and it worked :)

I tried on F17 and it installed successfully though I did get a warning about it not being relocatable.

I don't have any of the standard qpid fedora packages installed (not sure if that makes a difference).

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to