qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fraser Adams (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPID-3657) Qpid 0.12 make and make install fail on Ubuntu
Date Fri, 02 Dec 2011 07:59:40 GMT
Qpid 0.12 make and make install fail on Ubuntu

                 Key: QPID-3657
                 URL: https://issues.apache.org/jira/browse/QPID-3657
             Project: Qpid
          Issue Type: Bug
          Components: Packaging
    Affects Versions: 0.12
         Environment: Ubuntu, probably Debian possibly others
            Reporter: Fraser Adams
            Priority: Minor


fails on Ubuntu (my system is a fairly old 9.x Karmic but it has been reported on later versions

The failure is due to "declared with attribute warn_unused_result" in a few places and the
fact that warnings are treated as errors.

One solution suggested by Peter Fetterer, Brandon Pederson and Ilya Haykinson is to do

./configure --disable-warnings

However Cajus Pollmeier has produced a patch:


That actually fixes the four files that don't use the return value. I've applied this to my
install and it works nicely.

In addition to the make problem 0.12 was unable to "make install", there was clearly a library
dependency and libtool barfed.

Ilya Haykinson suggested running

export LDFLAGS=-L`dirname $(pwd)`/cpp/src/.libs

prior to ./configure and this works beautifully.

Ilya actually produced some very nice build instructions and it might be useful if these could
be included in the README.txt in future releases to help others with installation issues.

sudo apt-get update && sudo apt-get upgrade

sudo apt-get install libboost-dev libboost-program-options-dev
libboost-filesystem-dev libboost-test-dev openais libopenais-dev
corosync libcorosync-dev uuid-dev libsasl2-dev sasl2-bin libdb4.8++
libdb4.8 libdb4.8-dev libdb4.8++-dev libaio-dev subversion automake
autoconf libtool gcc g++ help2man doxygen ruby swig valgrind

svn export http://svn.apache.org/repos/asf/qpid/tags/0.12/qpid

# Install Qpid C++ broker and client runtime libraries
cd qpid/cpp
export LDFLAGS=-L`dirname $(pwd)`/cpp/src/.libs
#./configure --disable-warnings # Not needed if Cajus' patch is applied
sudo make install

# Install persistence module
cd ../../
svn export http://anonsvn.jboss.org/repos/rhmessaging/store/tags/qpid-0.12-release/cpp
cd persist
./configure --with-qpid-checkout=`dirname $(pwd)`/qpid
sudo make install

# Install Qpid python client runtime, management tools and associated libraries
cd ../qpid
cd python
sudo python setup.py install
cd ../tools
sudo python setup.py install
cd ../extras/qmf
sudo python setup.py install

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org

View raw message