You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by Toralf Lund <to...@pgs.com> on 2011/04/12 11:37:39 UTC

Snapshot releases? How to build source distribution from SVN?

Are there any official "snapshot" source code releases for QPid? I mean, 
distributions like qpid-0.8.tar.gz, only containing the latest and 
greatest source code at a given time, as opposed to a  proper release 
version? If not, how can I build something like this from the SVN source 
code? I tried "make dist" after checking out the latest trunk, but this 
gave me qpidc-0.7.tar.gz, which doesn't seen quite right...

I want to start off with a .tar.gz rather than building directly on the 
svn checkout location as I'm creating an rpm.

- Toralf


This e-mail, including any attachments and response string, may contain proprietary information which is confidential and may be legally privileged. It is for the intended recipient only. If you are not the intended recipient or transmission error has misdirected this e-mail, please notify the author by return e-mail and delete this message and any attachment immediately. If you are not the intended recipient you must not use, disclose, distribute, forward, copy, print or rely on this e-mail in any way except as permitted by the author.

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


Re: Snapshot releases? How to build source distribution from SVN?

Posted by Toralf Lund <to...@pgs.com>.
Gordon Sim wrote:
> On 04/12/2011 03:21 PM, Toralf Lund wrote:
>   
>> Gordon Sim wrote:
>>     
>>> On 04/12/2011 10:37 AM, Toralf Lund wrote:
>>>       
>>>> Are there any official "snapshot" source code releases for QPid? I mean,
>>>> distributions like qpid-0.8.tar.gz, only containing the latest and
>>>> greatest source code at a given time, as opposed to a proper release
>>>> version? If not, how can I build something like this from the SVN source
>>>> code? I tried "make dist" after checking out the latest trunk, but this
>>>> gave me qpidc-0.7.tar.gz, which doesn't seen quite right...
>>>>         
>>> You need to have the latest version of QPID_VERSION.txt from the top
>>> level. Looks like you also need to regenerate the configure script to
>>> update to the new value. Re-running bootstrap (which includes
>>> autoconf) on a clean src tree worked for me... (i.e. gerenates
>>> qpidc-0.11.tar.gz).
>>>       
>> Hmmm... I suspect the "clean src tree" bit is the main clue here, as no
>> amount of bootstrapping or autoconfig'ing will change the version number
>> (even with an up-to-date QPID_VERSION.txt) after updating a tree that
>> was checked out earlier - which is what I did, I forgot to mention that.
>> But surely this ought to be possible? I mean, I shouldn't have to check
>> out from scratch every time the version changes, should I?
>>     
>
> No... it does look like there is some dependency missing that would 
> correctly adjust...
>   
Exactly.
>> But I'm not sure if "make dist" under "cpp" will give me everything
>> anyway. The main tarball on the download area contains the entire qpid
>> directory, as opposed to just qpid/cpp, doesn't it?
>>     
>
> Yes, indeed. If you are wanting a source distribution for the entire 
> tree then I think you just need to do an svn export. I believe that is 
> how the tarball is created for the releases (release managers past and 
> present please correct me if I am wrong!).
>   
Yeah, maybe it's as simple as that. I mean, I automatically expect to 
have a "make dist" to do this kind of thing, but building a tarball "by 
hand" from a source repository is just as easy, really... I'll probably 
try one of these days, and see if I get something that the rpm build 
setup is happy with it. It turns out that I don't really have to rebuild 
right now after all, though; I wanted to try it to see if a certain 
client connect issue went away with a newer version, but then I found 
that it was all caused by using the wrong qpidd.conf...

Thanks,

- Toralf


This e-mail, including any attachments and response string, may contain proprietary information which is confidential and may be legally privileged. It is for the intended recipient only. If you are not the intended recipient or transmission error has misdirected this e-mail, please notify the author by return e-mail and delete this message and any attachment immediately. If you are not the intended recipient you must not use, disclose, distribute, forward, copy, print or rely on this e-mail in any way except as permitted by the author.

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


Re: Snapshot releases? How to build source distribution from SVN?

Posted by Gordon Sim <gs...@redhat.com>.
On 04/12/2011 03:21 PM, Toralf Lund wrote:
> Gordon Sim wrote:
>> On 04/12/2011 10:37 AM, Toralf Lund wrote:
>>> Are there any official "snapshot" source code releases for QPid? I mean,
>>> distributions like qpid-0.8.tar.gz, only containing the latest and
>>> greatest source code at a given time, as opposed to a proper release
>>> version? If not, how can I build something like this from the SVN source
>>> code? I tried "make dist" after checking out the latest trunk, but this
>>> gave me qpidc-0.7.tar.gz, which doesn't seen quite right...
>>
>> You need to have the latest version of QPID_VERSION.txt from the top
>> level. Looks like you also need to regenerate the configure script to
>> update to the new value. Re-running bootstrap (which includes
>> autoconf) on a clean src tree worked for me... (i.e. gerenates
>> qpidc-0.11.tar.gz).
> Hmmm... I suspect the "clean src tree" bit is the main clue here, as no
> amount of bootstrapping or autoconfig'ing will change the version number
> (even with an up-to-date QPID_VERSION.txt) after updating a tree that
> was checked out earlier - which is what I did, I forgot to mention that.
> But surely this ought to be possible? I mean, I shouldn't have to check
> out from scratch every time the version changes, should I?

No... it does look like there is some dependency missing that would 
correctly adjust...

> But I'm not sure if "make dist" under "cpp" will give me everything
> anyway. The main tarball on the download area contains the entire qpid
> directory, as opposed to just qpid/cpp, doesn't it?

Yes, indeed. If you are wanting a source distribution for the entire 
tree then I think you just need to do an svn export. I believe that is 
how the tarball is created for the releases (release managers past and 
present please correct me if I am wrong!).

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


Re: Snapshot releases? How to build source distribution from SVN?

Posted by Toralf Lund <to...@pgs.com>.
Gordon Sim wrote:
> On 04/12/2011 10:37 AM, Toralf Lund wrote:
>   
>> Are there any official "snapshot" source code releases for QPid? I mean,
>> distributions like qpid-0.8.tar.gz, only containing the latest and
>> greatest source code at a given time, as opposed to a proper release
>> version? If not, how can I build something like this from the SVN source
>> code? I tried "make dist" after checking out the latest trunk, but this
>> gave me qpidc-0.7.tar.gz, which doesn't seen quite right...
>>     
>
> You need to have the latest version of QPID_VERSION.txt from the top 
> level. Looks like you also need to regenerate the configure script to 
> update to the new value. Re-running bootstrap (which includes autoconf) 
> on a clean src tree worked for me... (i.e. gerenates qpidc-0.11.tar.gz).
>   
Hmmm... I suspect the "clean src tree" bit is the main clue here, as no 
amount of bootstrapping or autoconfig'ing will change the version number 
(even with an up-to-date QPID_VERSION.txt) after updating a tree that 
was checked out earlier - which is what I did, I forgot to mention that. 
But surely this ought to be possible? I mean, I shouldn't have to check 
out from scratch every time the version changes, should I?

But I'm not sure if "make dist" under "cpp" will give me everything 
anyway. The main tarball on the download area contains the entire qpid 
directory, as opposed to just qpid/cpp, doesn't it?

- Toralf



This e-mail, including any attachments and response string, may contain proprietary information which is confidential and may be legally privileged. It is for the intended recipient only. If you are not the intended recipient or transmission error has misdirected this e-mail, please notify the author by return e-mail and delete this message and any attachment immediately. If you are not the intended recipient you must not use, disclose, distribute, forward, copy, print or rely on this e-mail in any way except as permitted by the author.

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


Re: Snapshot releases? How to build source distribution from SVN?

Posted by Gordon Sim <gs...@redhat.com>.
On 04/12/2011 10:37 AM, Toralf Lund wrote:
> Are there any official "snapshot" source code releases for QPid? I mean,
> distributions like qpid-0.8.tar.gz, only containing the latest and
> greatest source code at a given time, as opposed to a proper release
> version? If not, how can I build something like this from the SVN source
> code? I tried "make dist" after checking out the latest trunk, but this
> gave me qpidc-0.7.tar.gz, which doesn't seen quite right...

You need to have the latest version of QPID_VERSION.txt from the top 
level. Looks like you also need to regenerate the configure script to 
update to the new value. Re-running bootstrap (which includes autoconf) 
on a clean src tree worked for me... (i.e. gerenates qpidc-0.11.tar.gz).

>
> I want to start off with a .tar.gz rather than building directly on the
> svn checkout location as I'm creating an rpm.
>
> - Toralf
>
>
> This e-mail, including any attachments and response string, may contain
> proprietary information which is confidential and may be legally
> privileged. It is for the intended recipient only. If you are not the
> intended recipient or transmission error has misdirected this e-mail,
> please notify the author by return e-mail and delete this message and
> any attachment immediately. If you are not the intended recipient you
> must not use, disclose, distribute, forward, copy, print or rely on this
> e-mail in any way except as permitted by the author.
>
> ---------------------------------------------------------------------
> 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