diff options
author | Steven Shaw <steshaw@apache.org> | 2006-11-30 12:49:10 +0000 |
---|---|---|
committer | Steven Shaw <steshaw@apache.org> | 2006-11-30 12:49:10 +0000 |
commit | 8e3f38d770124d69b35ced7035068636de9b1783 (patch) | |
tree | 0a8fe7a65f3a53b7049800ddcb025158c28de0fd /qpid/cpp | |
parent | c4f0ef019178f50631a6f03da29445ae9071418e (diff) | |
download | qpid-python-8e3f38d770124d69b35ced7035068636de9b1783.tar.gz |
Added some comments about building a debug release for RHEL3
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@480911 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
-rw-r--r-- | qpid/cpp/README.rhel3 | 7 | ||||
-rw-r--r-- | qpid/cpp/options-rhel3.mk | 1 | ||||
-rwxr-xr-x | qpid/cpp/release.client.rhel3 | 6 |
3 files changed, 12 insertions, 2 deletions
diff --git a/qpid/cpp/README.rhel3 b/qpid/cpp/README.rhel3 index 58d1ac765f..7a9989ced9 100644 --- a/qpid/cpp/README.rhel3 +++ b/qpid/cpp/README.rhel3 @@ -9,6 +9,12 @@ Install boost-1.33.1 into ~/local/boost-1.33.1 Install cppunit-1.11.4 into ~/local/cppunit-1.11.4 +If you want a standard release build skip this step. If you want a debug +build do the following: + + 1. Edit options-rhel3.mk. Comment out definition of RELEASE. + 2. Edit release.client.rhel3. Change buildType to "debug". + Build using the following command: $ ./build.rhel3 @@ -20,3 +26,4 @@ Generate cppclient tarball: or if you want to name the release: $ ./release.client.rhel3 1.0-RC1 + diff --git a/qpid/cpp/options-rhel3.mk b/qpid/cpp/options-rhel3.mk index c84cab94b1..f2108d89e0 100644 --- a/qpid/cpp/options-rhel3.mk +++ b/qpid/cpp/options-rhel3.mk @@ -2,6 +2,7 @@ # Expects dependencies in ~/local # +# Comment out the setting of RELEASE to build a debug release. RELEASE := 1 # Configure Boost. diff --git a/qpid/cpp/release.client.rhel3 b/qpid/cpp/release.client.rhel3 index f1f3b0fe88..52b9d731d9 100755 --- a/qpid/cpp/release.client.rhel3 +++ b/qpid/cpp/release.client.rhel3 @@ -1,5 +1,7 @@ #!/bin/bash +buildType="release" # change to "debug" to build a debug release + if [[ $# -eq 1 ]]; then name=$1 elif [[ $# -ne 0 ]]; then @@ -26,8 +28,8 @@ mkdir $dir # mkdir $dir/lib cp \ - build/apr-release/lib/libqpid_client.so.1.0 \ - build/apr-release/lib/libqpid_common.so.1.0 \ + build/apr-$buildType/lib/libqpid_client.so.1.0 \ + build/apr-$buildType/lib/libqpid_common.so.1.0 \ $dir/lib cp -r ~/local/apr-1.2.7 $dir/lib cp -r ~/local/boost-1.33.1 $dir/lib |