You are correct. The --disable... won't work

Here's why:

# Should we build gconsole, possible only if gnome >= 2.0 available
%if %{rh7}
%define gconsole 0
%else
%define gconsole 1
%endif


The only time if fails to build gconsole is if the system is RH7.

BUT!! Just disabling it at that point won't work either as the require
line for each distro will need to be changed to reflect no gnome libs.

In short, if you want to use the rpms, your going to get gconsole unless
you are on a system that is truly ancient.

If you don't want gconsole, you'll need to use the source tarball.

On Mon, 2006-01-30 at 15:01 -0500, Ryan Novosielski wrote:
> --disable-gconsole is not an option when using rpmbuild. Did you mean 
> something like --define "disable_gconsole 1" or something like that?
> 
> ---- _  _ _  _ ___  _  _  _
> |Y#| |  | |\/| |  \ |\ |  | | Ryan Novosielski - User Support Spec. III
> |$&| |__| |  | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
> \__/ Univ. of Med. and Dent.| IST/AST - NJMS Medical Science Bldg - C630 
> 
> 
> 
> James P. Kinney III wrote:
> > On Fri, 2006-01-27 at 17:51 -0500, Ryan Novosielski wrote:
> >   
> >> Is there a way to only build the bacula-sd rpm by using rpmbuild that 
> >> I'm unaware of? There are a lot of deps to, say, gconsole, which is 
> >> something I don't even need.
> >>
> >>     
> >
> > In short, no. Since the bacula-sd is a component of the package, and the
> > sd module needs to be compatible with, and thus of the same release as,
> > the dir, they need to be built together.
> >
> > However, gconsole is not a required build output. Edit the spec file and
> > remove the gconsole build flag. 
> >
> > You can also do it with --disable-gconsole on the command line.
> >
> > rpmbuild --rebuild --disable-gconsole --with-...
> >
> > You will need to add all the needed build flags. Personally, I find it
> > easier to install the src.rpm and them edit the spec file. 
> >   
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
-- 
James P. Kinney III          \Changing the mobile computing world/
CEO & Director of Engineering \          one Linux user         /
Local Net Solutions,LLC        \           at a time.          /
770-493-8244                    \.___________________________./
http://www.localnetsolutions.com

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<[EMAIL PROTECTED]>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to