qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From falconair <shahb...@gmail.com>
Subject Re: c++ broker build for ubuntu?
Date Tue, 03 Feb 2009 05:44:59 GMT

I downloaded the M4 C++ broker and I believe installed all the perquisite
packages correctly.  Ran "./configure && make" and received the following
(tail end of the output):

make[2]: Entering directory `/opt/qpidc-0.4-src/src'
Making all in .
make[3]: Entering directory `/opt/qpidc-0.4-src/src'
depbase=`echo qpid/broker/Daemon.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
        /bin/bash ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H
-I. -Igen -I./gen   -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 -MT qpid/broker/Daemon.lo -MD -MP -MF
$depbase.Tpo -c -o qpid/broker/Daemon.lo qpid/broker/Daemon.cpp &&\
        mv -f $depbase.Tpo $depbase.Plo
 g++ -DHAVE_CONFIG_H -I. -Igen -I./gen -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 -MT qpid/broker/Daemon.lo -MD -MP -MF
qpid/broker/.deps/Daemon.Tpo -c qpid/broker/Daemon.cpp  -fPIC -DPIC -o
cc1plus: warnings being treated as errors
qpid/broker/Daemon.cpp: In member function 'void
qpid/broker/Daemon.cpp:90: error: ignoring return value of 'ssize_t
write(int, const void*, size_t)', declared with attribute warn_unused_result
qpid/broker/Daemon.cpp:96: error: ignoring return value of 'ssize_t
write(int, const void*, size_t)', declared with attribute warn_unused_result
qpid/broker/Daemon.cpp: At global scope:
qpid/broker/Daemon.cpp:212: fatal error: opening dependency file
qpid/broker/.deps/Daemon.Tpo: Permission denied
compilation terminated.
make[3]: *** [qpid/broker/Daemon.lo] Error 1
make[3]: Leaving directory `/opt/qpidc-0.4-src/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/qpidc-0.4-src/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/qpidc-0.4-src/src'
make: *** [all-recursive] Error 1

>uname -a
Linux XYZ 2.6.27-7-server #1 SMP Fri Oct 24 07:37:55 UTC 2008 i686 GNU/Linux
>/opt/qpidc-0.4-src$ cat /etc/issue
Ubuntu 8.10 \n \l

falconair wrote:
> I am attempting to install qpid on an ubuntu machine.  Since ubuntu is a
> very popular distribution, perhaps the devs could add it to the ubuntu
> repo so it can be installed as easily as fedora? (perhaps one of the
> non-redhat employees :) )
> The wiki pages are quite confusing for someone trying to build it
> themselves.  I installed the following packages:
>>apt-get install libboost-dev uuid-dev pkg-config build-essential make
autoconf automake help2man libtool doxygen graphviz ruby
> (it took a little googling to find the right packages for libboost, uuid,
> etc.)
> The next step on this page
> (http://qpid.apache.org/qpid-cpp-build-how-to.html) says that I need to
> check out Java source...notice that the web page file name refers to
> "cpp-build-how-to" and it is linked as such from another page.  Yet the
> bread-crumb-trail at the top of the page puts it under java:
> Apache Qpid > Index > Qpid Java Documentation > Qpid Java How To > Qpid
> Java Build How To > Building > Qpid Cpp Build How To
> I'm checking out recommended source code now (I think it is going to
> retrieve the full trunk, not just c++).  Will post feedback if there are
> further hiccups.

View this message in context: http://n2.nabble.com/c%2B%2B-broker-build-for-ubuntu--tp2261666p2261875.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

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

View raw message