| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
> On 6/25/07, Brian Collins <listbc> wrote: > > > Naive question, but what if you have the src rpm and desire to not > > > have some of the prebuilt options (in my case, I don't want mysql)? > > > Of course when I run rpmbuild it errors out because I don't have mysql > > > or any of its libraries. > > > > > > I know about the compile time options building postfix from source > > > (I'd be done already if I was doing that), but am rather lost here. > > > > Good question. Simon makes it fairly easy to customize this. > > > > # cd /usr/src/redhat/SOURCES > > # export POSTFIX_MYSQL=0 > > # export POSTFIX_MYSQL_REDHAT=0 > > # sh ./make-postfix.spec > > # cd /usr/src/redhat/SPEC > > # rpmbuild -bb postfix.spec > > (or rpmbuild -ba postfix.spec) > > > > For more options/ideas: > > http://postfix.wl0.org/en/building-rpms/ > > Heh. Did I ever mention how much I like building from source? > Reading Simon's page showed me the big caveat about SuSE (this is > 10.2) and boy did I get some errors trying to build! Personally I don't use SuSE so I don't know how to cater for the differences between RedHat and SuSE. The same goes for some other distributions too. It's also a shame (and I've repeatedly said this) that we can't build a common postfix for more (linux) distributions which is flexible enough for everyone. I guess vested interests make this not a target to work towards. That said however if you give me feedback on how to make my rpms work with SuSE I'll certainly consider _trying_ to incorporate them. Building from source is _easy_ but cleaning up the mess and maintaining the system afterwards requires a lot of careful attention. For one package that is not too much of a problem but the moment you start to extend this to several packages and several servers... Sorry my rpms weren't suitable for you. Simon
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
© 2004-2008 readlist.com