You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by "Ohme, Gregory (GE Healthcare)" <Gr...@ge.com> on 2011/08/25 23:17:27 UTC

Trouble building qpid0.12 on SLES11.1

Downloaded the latest release 0.12 . During compilation on SLES11.1
(boost 1.36) the following error occurs:

 

 

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I.
-I=. -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
-DQPID_LIBEXEC_DIR=\"/usr/lib64/qpid\" -DBOOST_FILESYSTEM_VERSION=2 -O2
-g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector
-funwind-tables -fasynchronous-unwind-tables -MT
qpid/management/Mutex.lo -MD -MP -MF qpid/management/.deps/Mutex.Tpo -c
qpid/management/Mutex.cpp  -fPIC -DPIC -o qpid/management/.libs/Mutex.o

./qpid/RefCounted.h: In function 'void
boost::intrusive_ptr_release(const T*) [with T =
boost::exception_detail::error_info_container]':

/usr/include/boost/intrusive_ptr.hpp:101:   instantiated from
'boost::intrusive_ptr<T>::~intrusive_ptr() [with T =
boost::exception_detail::error_info_container]'

/usr/include/boost/exception/exception.hpp:60:   instantiated from here

./qpid/RefCounted.h:59: error: 'qpid::RefCounted' is not a base of
'const boost::exception_detail::error_info_container'

./qpid/RefCounted.h: In function 'void
boost::intrusive_ptr_add_ref(const T*) [with T =
boost::exception_detail::error_info_container]':

/usr/include/boost/intrusive_ptr.hpp:96:   instantiated from
'boost::intrusive_ptr<T>::intrusive_ptr(const boost::intrusive_ptr<T>&)
[with T = boost::exception_detail::error_info_container]'

/usr/include/boost/exception/exception.hpp:64:   instantiated from here

./qpid/RefCounted.h:57: error: 'qpid::RefCounted' is not a base of
'const boost::exception_detail::error_info_container'

 

Any suggestions would be appreciated.

 

Thanks,
Greg


RE: Trouble building qpid0.12 on SLES11.1

Posted by Steve Huston <sh...@riverace.com>.
Hmmm... RHEL 5 is g++ 4.1.2. Maybe there's a 4.3.4 issue with boost - I 
haven't had cause to investigate that before.
Maybe it would be a good idea to open a jira for this and place needed info 
there, as well as any patches needed.
-Steve

> -----Original Message-----
> From: Ohme, Gregory (GE Healthcare) [mailto:Gregory.Ohme@ge.com]
> Sent: Thursday, September 22, 2011 9:52 AM
> To: users@qpid.apache.org
> Subject: RE: Trouble building qpid0.12 on SLES11.1
>
> I'm building with gcc 4.3.4
> -
> Greg
>
> -----Original Message-----
> From: Steve Huston [mailto:shuston@riverace.com]
> Sent: Wednesday, September 21, 2011 10:32 AM
> To: users@qpid.apache.org; 'Gordon Sim'
> Subject: RE: Trouble building qpid0.12 on SLES11.1
>
> Yes, I build qpid nightly on RHEL 5 (boost 1.33)
>
> > -----Original Message-----
> > From: Andrew Stitcher [mailto:astitcher@redhat.com]
> > Sent: Wednesday, September 21, 2011 11:17 AM
> > To: Gordon Sim
> > Cc: users@qpid.apache.org
> > Subject: Re: Trouble building qpid0.12 on SLES11.1
> >
> > On Wed, 2011-09-21 at 11:36 +0100, Gordon Sim wrote:
> > > On 09/20/2011 02:54 PM, Ohme, Gregory (GE Healthcare) wrote:
> > > > Which version of boost is required for qpid0.12?
> > > >
> > > > I have errors during compile related to boost.  I'm building on
> > > > SLES11.1 with boost 1.36. I have no errors building on rhel 5.1
> > > > with boost
> > 1.39.
> > > > I'd just like to confirm the versions before I go through the
> > > > effort of updating boost versions. 0.10 built fine on SLES11 with
> > > > boost
> > > > 1.36
> > >
> > > The INSTALL guide claims 1.35 is supported. I can build 0.12 against
> > > 1.33 (on RHEL 5.5).
> > >
> > > Does 0.10 still build on that same machine? If so, the only change I
> > > can see in the affected area is:
> > >
> >
> http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/RefCounted.h
> > > ?r1=1101181&r2=1101180&pathrev=1101181
> > > (cc:ed Andrew who made this change, I believe as part of support for
> > > Clang?)
> > >
> > > What compiler version are you using?
> >
> > As a point of reference, I successfully compile with boost 1.44 & gcc
> > 4.5.1 using fedora 14, and those changes were made to support clang 2.9.
> >
> > I believe that others compile regularly with boost 1.33 & gcc 4.1.2
> > (Red Hat Enterprise 5.7) and also boost 1.41 & gcc 4.4.5 (RHEL 6.1).
> >
> > Andrew
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > Apache Qpid - AMQP Messaging Implementation
> > Project:      http://qpid.apache.org
> > Use/Interact: mailto:users-subscribe@qpid.apache.org
>
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org


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


RE: Trouble building qpid0.12 on SLES11.1

Posted by "Ohme, Gregory (GE Healthcare)" <Gr...@ge.com>.
I'm building with gcc 4.3.4
-
Greg

-----Original Message-----
From: Steve Huston [mailto:shuston@riverace.com] 
Sent: Wednesday, September 21, 2011 10:32 AM
To: users@qpid.apache.org; 'Gordon Sim'
Subject: RE: Trouble building qpid0.12 on SLES11.1

Yes, I build qpid nightly on RHEL 5 (boost 1.33)

> -----Original Message-----
> From: Andrew Stitcher [mailto:astitcher@redhat.com]
> Sent: Wednesday, September 21, 2011 11:17 AM
> To: Gordon Sim
> Cc: users@qpid.apache.org
> Subject: Re: Trouble building qpid0.12 on SLES11.1
>
> On Wed, 2011-09-21 at 11:36 +0100, Gordon Sim wrote:
> > On 09/20/2011 02:54 PM, Ohme, Gregory (GE Healthcare) wrote:
> > > Which version of boost is required for qpid0.12?
> > >
> > > I have errors during compile related to boost.  I'm building on
> > > SLES11.1 with boost 1.36. I have no errors building on rhel 5.1 
> > > with boost
> 1.39.
> > > I'd just like to confirm the versions before I go through the 
> > > effort of updating boost versions. 0.10 built fine on SLES11 with 
> > > boost
> > > 1.36
> >
> > The INSTALL guide claims 1.35 is supported. I can build 0.12 against
> > 1.33 (on RHEL 5.5).
> >
> > Does 0.10 still build on that same machine? If so, the only change I 
> > can see in the affected area is:
> >
> http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/RefCounted.h
> > ?r1=1101181&r2=1101180&pathrev=1101181
> > (cc:ed Andrew who made this change, I believe as part of support for
> > Clang?)
> >
> > What compiler version are you using?
>
> As a point of reference, I successfully compile with boost 1.44 & gcc
> 4.5.1 using fedora 14, and those changes were made to support clang 2.9.
>
> I believe that others compile regularly with boost 1.33 & gcc 4.1.2 
> (Red Hat Enterprise 5.7) and also boost 1.41 & gcc 4.4.5 (RHEL 6.1).
>
> Andrew
>
>
>
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org


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


RE: Trouble building qpid0.12 on SLES11.1

Posted by Steve Huston <sh...@riverace.com>.
Yes, I build qpid nightly on RHEL 5 (boost 1.33)

> -----Original Message-----
> From: Andrew Stitcher [mailto:astitcher@redhat.com]
> Sent: Wednesday, September 21, 2011 11:17 AM
> To: Gordon Sim
> Cc: users@qpid.apache.org
> Subject: Re: Trouble building qpid0.12 on SLES11.1
>
> On Wed, 2011-09-21 at 11:36 +0100, Gordon Sim wrote:
> > On 09/20/2011 02:54 PM, Ohme, Gregory (GE Healthcare) wrote:
> > > Which version of boost is required for qpid0.12?
> > >
> > > I have errors during compile related to boost.  I'm building on
> > > SLES11.1 with boost 1.36. I have no errors building on rhel 5.1 with 
> > > boost
> 1.39.
> > > I'd just like to confirm the versions before I go through the effort
> > > of updating boost versions. 0.10 built fine on SLES11 with boost
> > > 1.36
> >
> > The INSTALL guide claims 1.35 is supported. I can build 0.12 against
> > 1.33 (on RHEL 5.5).
> >
> > Does 0.10 still build on that same machine? If so, the only change I
> > can see in the affected area is:
> >
> http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/RefCounted.h
> > ?r1=1101181&r2=1101180&pathrev=1101181
> > (cc:ed Andrew who made this change, I believe as part of support for
> > Clang?)
> >
> > What compiler version are you using?
>
> As a point of reference, I successfully compile with boost 1.44 & gcc
> 4.5.1 using fedora 14, and those changes were made to support clang 2.9.
>
> I believe that others compile regularly with boost 1.33 & gcc 4.1.2 (Red 
> Hat
> Enterprise 5.7) and also boost 1.41 & gcc 4.4.5 (RHEL 6.1).
>
> Andrew
>
>
>
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org


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


Re: Trouble building qpid0.12 on SLES11.1

Posted by Andrew Stitcher <as...@redhat.com>.
On Wed, 2011-09-21 at 11:36 +0100, Gordon Sim wrote:
> On 09/20/2011 02:54 PM, Ohme, Gregory (GE Healthcare) wrote:
> > Which version of boost is required for qpid0.12?
> >
> > I have errors during compile related to boost.  I'm building on SLES11.1
> > with boost 1.36. I have no errors building on rhel 5.1 with boost 1.39.
> > I'd just like to confirm the versions before I go through the effort of
> > updating boost versions. 0.10 built fine on SLES11 with boost 1.36
> 
> The INSTALL guide claims 1.35 is supported. I can build 0.12 against 
> 1.33 (on RHEL 5.5).
> 
> Does 0.10 still build on that same machine? If so, the only change I can 
> see in the affected area is: 
> http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/RefCounted.h?r1=1101181&r2=1101180&pathrev=1101181 
> (cc:ed Andrew who made this change, I believe as part of support for Clang?)
> 
> What compiler version are you using?

As a point of reference, I successfully compile with boost 1.44 & gcc
4.5.1 using fedora 14, and those changes were made to support clang 2.9.

I believe that others compile regularly with boost 1.33 & gcc 4.1.2 (Red
Hat Enterprise 5.7) and also boost 1.41 & gcc 4.4.5 (RHEL 6.1).

Andrew




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


Re: Trouble building qpid0.12 on SLES11.1

Posted by Gordon Sim <gs...@redhat.com>.
On 09/20/2011 02:54 PM, Ohme, Gregory (GE Healthcare) wrote:
> Which version of boost is required for qpid0.12?
>
> I have errors during compile related to boost.  I'm building on SLES11.1
> with boost 1.36. I have no errors building on rhel 5.1 with boost 1.39.
> I'd just like to confirm the versions before I go through the effort of
> updating boost versions. 0.10 built fine on SLES11 with boost 1.36

The INSTALL guide claims 1.35 is supported. I can build 0.12 against 
1.33 (on RHEL 5.5).

Does 0.10 still build on that same machine? If so, the only change I can 
see in the affected area is: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/RefCounted.h?r1=1101181&r2=1101180&pathrev=1101181 
(cc:ed Andrew who made this change, I believe as part of support for Clang?)

What compiler version are you using?

>
> Thanks,
> Greg
>
> -----Original Message-----
> From: Ohme, Gregory (GE Healthcare)
> Sent: Thursday, August 25, 2011 4:17 PM
> To: users@qpid.apache.org
> Subject: Trouble building qpid0.12 on SLES11.1
>
> Downloaded the latest release 0.12 . During compilation on SLES11.1
> (boost 1.36) the following error occurs:
>
>
>
>
>
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I.
> -I=. -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
> -DQPID_LIBEXEC_DIR=\"/usr/lib64/qpid\" -DBOOST_FILESYSTEM_VERSION=2 -O2
> -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector
> -funwind-tables -fasynchronous-unwind-tables -MT
> qpid/management/Mutex.lo -MD -MP -MF qpid/management/.deps/Mutex.Tpo -c
> qpid/management/Mutex.cpp  -fPIC -DPIC -o qpid/management/.libs/Mutex.o
>
> ./qpid/RefCounted.h: In function 'void
> boost::intrusive_ptr_release(const T*) [with T =
> boost::exception_detail::error_info_container]':
>
> /usr/include/boost/intrusive_ptr.hpp:101:   instantiated from
> 'boost::intrusive_ptr<T>::~intrusive_ptr() [with T =
> boost::exception_detail::error_info_container]'
>
> /usr/include/boost/exception/exception.hpp:60:   instantiated from here
>
> ./qpid/RefCounted.h:59: error: 'qpid::RefCounted' is not a base of
> 'const boost::exception_detail::error_info_container'
>
> ./qpid/RefCounted.h: In function 'void
> boost::intrusive_ptr_add_ref(const T*) [with T =
> boost::exception_detail::error_info_container]':
>
> /usr/include/boost/intrusive_ptr.hpp:96:   instantiated from
> 'boost::intrusive_ptr<T>::intrusive_ptr(const boost::intrusive_ptr<T>&)
> [with T = boost::exception_detail::error_info_container]'
>
> /usr/include/boost/exception/exception.hpp:64:   instantiated from here
>
> ./qpid/RefCounted.h:57: error: 'qpid::RefCounted' is not a base of
> 'const boost::exception_detail::error_info_container'
>
>
>
> Any suggestions would be appreciated.
>
>
>
> Thanks,
> Greg
>
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org
>


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


RE: Trouble building qpid0.12 on SLES11.1

Posted by "Ohme, Gregory (GE Healthcare)" <Gr...@ge.com>.
Which version of boost is required for qpid0.12?

I have errors during compile related to boost.  I'm building on SLES11.1
with boost 1.36. I have no errors building on rhel 5.1 with boost 1.39.
I'd just like to confirm the versions before I go through the effort of
updating boost versions. 0.10 built fine on SLES11 with boost 1.36

Thanks,
Greg

-----Original Message-----
From: Ohme, Gregory (GE Healthcare) 
Sent: Thursday, August 25, 2011 4:17 PM
To: users@qpid.apache.org
Subject: Trouble building qpid0.12 on SLES11.1

Downloaded the latest release 0.12 . During compilation on SLES11.1
(boost 1.36) the following error occurs:

 

 

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I.
-I=. -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
-DQPID_LIBEXEC_DIR=\"/usr/lib64/qpid\" -DBOOST_FILESYSTEM_VERSION=2 -O2
-g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector
-funwind-tables -fasynchronous-unwind-tables -MT
qpid/management/Mutex.lo -MD -MP -MF qpid/management/.deps/Mutex.Tpo -c
qpid/management/Mutex.cpp  -fPIC -DPIC -o qpid/management/.libs/Mutex.o

./qpid/RefCounted.h: In function 'void
boost::intrusive_ptr_release(const T*) [with T =
boost::exception_detail::error_info_container]':

/usr/include/boost/intrusive_ptr.hpp:101:   instantiated from
'boost::intrusive_ptr<T>::~intrusive_ptr() [with T =
boost::exception_detail::error_info_container]'

/usr/include/boost/exception/exception.hpp:60:   instantiated from here

./qpid/RefCounted.h:59: error: 'qpid::RefCounted' is not a base of
'const boost::exception_detail::error_info_container'

./qpid/RefCounted.h: In function 'void
boost::intrusive_ptr_add_ref(const T*) [with T =
boost::exception_detail::error_info_container]':

/usr/include/boost/intrusive_ptr.hpp:96:   instantiated from
'boost::intrusive_ptr<T>::intrusive_ptr(const boost::intrusive_ptr<T>&)
[with T = boost::exception_detail::error_info_container]'

/usr/include/boost/exception/exception.hpp:64:   instantiated from here

./qpid/RefCounted.h:57: error: 'qpid::RefCounted' is not a base of
'const boost::exception_detail::error_info_container'

 

Any suggestions would be appreciated.

 

Thanks,
Greg


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