You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by a fabbri <aj...@gmail.com> on 2010/08/28 01:55:54 UTC
linux c++: out-of-source builds?
Does anyone regularly build the linux C++ stuff outside of the source tree?
That is, you're supposed to be able to run configure and make from a
build directory outside of qpid/cpp. I seem to have more build issues
this way though.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
Re: linux c++: out-of-source builds?
Posted by "Sorin S." <ss...@gmail.com>.
Hi,
I am sure you noticed there are dependencies on the specification, eg:
configure.ac:specdir=`pwd`/$srcdir/../specs
did you worked around this? Curious to hear what issues you encountered.
Cheers,
Sorin
On Sat, Aug 28, 2010 at 12:55 AM, a fabbri <aj...@gmail.com> wrote:
> Does anyone regularly build the linux C++ stuff outside of the source tree?
>
> That is, you're supposed to be able to run configure and make from a
> build directory outside of qpid/cpp. I seem to have more build issues
> this way though.
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project: http://qpid.apache.org
> Use/Interact: mailto:dev-subscribe@qpid.apache.org
>
>
--
Sorin S
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
Re: linux c++: out-of-source builds?
Posted by a fabbri <aj...@gmail.com>.
On Tue, Aug 31, 2010 at 7:00 PM, Alan Conway <ac...@redhat.com> wrote:
> On 08/31/2010 01:15 AM, a fabbri wrote:
>>
>> On Mon, Aug 30, 2010 at 6:38 AM, Alan Conway<ac...@redhat.com> wrote:
>>>
>>> On 08/27/2010 07:55 PM, a fabbri wrote:
...
>>
>> I build from SVN checkout. I prefer to use a single NFS-mounted
>> directory for source, and have each machine build to the local disk.
>> This worked fine with CMake, but with autotools, not so easy.
>>
>> I've been able to build from a build/ directory within qpid/cpp but no
>> luck with say, /tmp/build.
>>
>
> I normally build in a sibling of cpp but but I tried this and worked ok:
>
> cd /tmp/test; ../../home/aconway/qpid/qpid/cpp/configure
>
> Note it did not work if I gave an absolute path to configure like this:
>
> cd /tmp/test; /home/aconway/qpid/qpid/cpp/configure
>
> I tried make check, install, uninstall, distcheck, distclean.
>
> Not sure why it doesn't work with a relative path
Good hint. This got me past the "rubygen.mk permission denied" issue,
which seems to be an artifact of some not-so-robust autotools
configuration.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
Re: linux c++: out-of-source builds?
Posted by Alan Conway <ac...@redhat.com>.
On 08/27/2010 07:55 PM, a fabbri wrote:
> Does anyone regularly build the linux C++ stuff outside of the source tree?
>
> That is, you're supposed to be able to run configure and make from a
> build directory outside of qpid/cpp. I seem to have more build issues
> this way though.
>
I always build out-of-tree. Are you building in a checkout or building from the
distribution tree? I don't do the latter much so can't say if there are problems
there.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org