From 9567c8f1cf7e217442c076203263df0aac2cafe4 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Wed, 13 Dec 2006 18:40:09 +0000 Subject: 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 --- cpp/README-dev | 19 ++++++++++++++++--- cpp/versions | 12 ++++++++++++ 2 files changed, 28 insertions(+), 3 deletions(-) create mode 100755 cpp/versions (limited to 'cpp') 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 * automake * cppunit - Note: Ensure cppunit-config is in your PATH. * help2man * libtool * pkgconfig (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 * 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 -- cgit v1.2.1