[rrd-developers] fix for rrdtool.spec so that it can be used out of the box on RHEL4 and RHEL5

Daniel.Pocock at barclayscapital.com Daniel.Pocock at barclayscapital.com
Thu Dec 11 16:58:43 CET 2008

> > Also I am wondering if it may not be sensible to include the php 
> > bindings code with rrdtool itself.
> > It is currently a separate tar ball, that is needed for 
> building and 
> > this breaks building via "rpmbuild -ta 
> rrdtool-1.3.99908121014.tar.gz"
> > without the option "--define '_without_php 1'"
> > (I admit that I can not test building the ruby bindings, so 
> I have to 
> > include "--define '_without_ruby 1'" anyway. So just an idea...)
> the problem is that I am not realy into php and noone has yet 
> steped up to provide propperly integrated bindings, with 
> configure and Makefile support ... if someone does this, I am 
> happy to add them.
I've noticed this issue too.  I have a shell script for invoking
rpmbuild in a consistent way, nonetheless, it is not immediately obvious
what is wrong when someone runs rpmbuild for the first time and gets an
error message.

Maybe _without_php (or _without_ everything) should be the default?

Another issue with spec files: how do people prefer to manage version
numbers in spec files, particularly when using SVN to create branches?
One idea is using configure to create rrdtool.spec from rrdtool.spec.in,
although there needs to be some way to tell configure what version
number to use.



This e-mail may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this e-mail, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unless specifically indicated, this e-mail is not an offer to buy or sell or a solicitation to buy or sell any securities, investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Barclays. Any views or opinions presented are solely those of the author and do not necessarily represent those of Barclays. This e-mail is subject to terms available at the following link: www.barcap.com/emaildisclaimer. By messaging with Barclays you consent to the foregoing.  Barclays Capital is the investment banking division of Barclays Bank PLC, a company registered in England (number 1026167) with its registered office at 1 Churchill Place, London, E14 5HP.  This email may relate to or be sent from other members of the Barclays Group.

More information about the rrd-developers mailing list