diff options
-rw-r--r-- | cpp/README-dev | 19 | ||||
-rwxr-xr-x | cpp/versions | 12 |
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 |