summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2006-12-13 18:40:09 +0000
committerAlan Conway <aconway@apache.org>2006-12-13 18:40:09 +0000
commit9567c8f1cf7e217442c076203263df0aac2cafe4 (patch)
tree9b9b77573f0bb2a3dcca87f7ea1cc7e7fe7018c6 /cpp
parent0b5bd8ea17cae9034bde8ad02d9cf80b2dde30f9 (diff)
downloadqpid-python-9567c8f1cf7e217442c076203263df0aac2cafe4.tar.gz
README-dev: Added Fedora 6 setup instructions.
versions: simple script to print out versions of packages in use. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486791 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/README-dev19
-rwxr-xr-xcpp/versions12
2 files changed, 28 insertions, 3 deletions
diff --git a/cpp/README-dev b/cpp/README-dev
index fbc857193d..d4ad14ee8b 100644
--- a/cpp/README-dev
+++ b/cpp/README-dev
@@ -1,5 +1,8 @@
= Developer guide to C++ codebase =
+== Extra stuff ==
+sudo cp /usr/share/aclocal/pkg.m4 `aclocal --print-ac-dir`
+
== Prerequisites ==
If you have taken the sources from SVN you will need the following
@@ -11,11 +14,12 @@ that you have the latest stable version.
* autoconf <http://www.gnu.org/software/autoconf/>
* automake <http://www.gnu.org/software/automake/>
* cppunit <http://cppunit.sourceforge.net>
- Note: Ensure cppunit-config is in your PATH.
* help2man <http://www.gnu.org/software/help2man/>
* libtool <http://www.gnu.org/software/libtool/>
* pkgconfig <http://pkgconfig.freedesktop.org/wiki/> (aka pkg-config)
+Note: Ensure cppunit-config and apr-1-config are in your PATH.
+
Optional: to re-generated generated code from the XML specification:
* java 5
@@ -26,9 +30,18 @@ Optional: to generate documentation you need:
* graphviz <http://www.graphviz.org/>
* help2man <http://www.gnu.org/software/help2man/>
-If you use yum to install packages, do the command from the README-dist then:
+== Setting up on Fedora 6 ==
+
+# yum install apr apr-devel boost boost-devel cppunit cppunit-devel
+# yum install pkgconfig doxygen graphviz help2man
+
+Download the latest source distribution of autoconf, automake, libtool
+from URLs above and install each with something like:
+# ./configure && make && sudo make-install
-# yum install apr-devel cppunit-devel pkgconfig boost-devel doxygen graphviz help2man pkgconfig
+DO NOT install pkg-config from source! If installed in /usr/local, pkg-config
+cannot find packages installed in /usr. Installing in /usr will mess up
+RPM's notion of what's installed.
== Recent changes ==
diff --git a/cpp/versions b/cpp/versions
new file mode 100755
index 0000000000..d9b46b7754
--- /dev/null
+++ b/cpp/versions
@@ -0,0 +1,12 @@
+#!/bin/sh
+# Utility to print out currently installed versions of qpid developer
+# dependencies. Assumes that some dependencies are installed with RPM.
+#
+
+for p in pkg-config doxygen help2man autoconf automake libtool ; do
+ echo $p `$p --version | head -n1`
+done
+
+for r in apr boost boost-devel cppunit cppunit-devel graphviz; do
+ rpm -q $r
+done