qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Sim <g...@redhat.com>
Subject Re: Building qpid on Debian etch/lenny
Date Thu, 04 Dec 2008 08:46:59 GMT
Mike Lovell wrote:
> Hello everyone. I am trying to build qpid on a Debian box but am running 
> into a problem. Here is what I am trying.
> 
> Install new Debian system
> aptitude install build-essential libtool ruby1.8 automake autoconf 
> uuid-dev python
> ln -s /usr/bin/ruby1.8 /usr/bin/ruby
> apitude install libboost-date-time-dev libboost-dev 
> libboost-filesystem-dev libboost-graph-dev  libboost-iostreams-dev 
> libboost-program-options-dev libboost-python-dev libboost-regex-dev 
> libboost-serialization-dev libboost-signals-dev libboost-test-dev 
> libboost-thread-dev libboost-wave-dev
> wget ... qpid-incubating-M3.tar.gz
> tar zxvf qpid-incubating-M3.tar.gz
> cd qpid-incubating-M3/cpp/
> ./bootstrap
> ./configure --prefix=/opt/qpid
> make
> 
> Now this is where I get this error
> 
> /bin/sh ../libtool --tag=CXX   --mode=link g++ -Werror -pedantic -Wall 
> -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align 
> -Wno-long-long -Wvolatile-register-var -Winvalid-pch -Wno-system-headers 
> -Woverloaded-virtual -g -O2 -version-info 1:0:1 -L/usr/lib/openais 
> -L/usr/lib64/openais -o libqpidacl.la -rpath /opt/qpid/lib 
> qpid/acl/Acl.lo qpid/acl/AclReader.lo qpid/acl/AclPlugin.lo -lacl 
> libqpidbroker.la
> g++ -shared -nostdlib 
> /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/crti.o 
> /usr/lib/gcc/x86_64-linux-gnu/4.1.2/crtbeginS.o  qpid/acl/.libs/Acl.o 
> qpid/acl/.libs/AclReader.o qpid/acl/.libs/AclPlugin.o  -Wl,--rpath 
> -Wl,/root/qpid-incubating-M3/cpp/src/.libs -Wl,--rpath -Wl,/opt/qpid/lib 
> -L/usr/lib/openais -L/usr/lib64/openais -lacl ./.libs/libqpidbroker.so 
> -L/usr/lib/gcc/x86_64-linux-gnu/4.1.2 
> -L/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64 -L/lib/../lib64 
> -L/usr/lib/../lib64 -lstdc++ -lm -lc -lgcc_s 
> /usr/lib/gcc/x86_64-linux-gnu/4.1.2/crtendS.o 
> /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/crtn.o  
> -Wl,-soname -Wl,libqpidacl.so.0 -o .libs/libqpidacl.so.0.1.0
> /usr/bin/ld: cannot find -lacl
> collect2: ld returned 1 exit status
> make[3]: *** [libqpidacl.la] Error 1
> make[3]: Leaving directory `/root/qpid-incubating-M3/cpp/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/root/qpid-incubating-M3/cpp/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/root/qpid-incubating-M3/cpp/src'
> make: *** [all-recursive] Error 1
> 
> I get this error on both an Etch and Lenny systems. Anyone have a 
> recommendation on what to try? Thanks in advanced for any help.

One option is to use the M4 beta: 
http://people.apache.org/~rhs/qpid-incubating-M4-beta/

I'm not sure why that library was linked in for M3, but it isn't in M4.

Mime
View raw message