On Tue, 2006-04-11 at 19:12 -0700, RYAN M. vAN GINNEKEN wrote: > ----- Craig White <craigwhite@xxxxxxxxxxx> wrote: > > On Tue, 2006-04-11 at 18:57 -0700, RYAN M. vAN GINNEKEN wrote: > > > Thanks Craig i asked on the bacula list and this is the answer i got > > seems to have worked incase anyone else is interested. > > > > > > --define "nobuild_gconsole 1" > > > > > > However i now have one final dependency problem maybe u can help. > > Seems bacula needs mysql-devel 4 or greater and fedora core 3 three > > only seems to have these available what should i do? > > > > > > extras : ################################################## > > 2292/2292 > > > updates-re: ################################################## > > 910/910 > > > base : ################################################## > > 2622/2622 > > > > > > > > > mysql-devel.i386 3.23.58-13 > > base > > > Matched from: > > > mysql-devel > > > > > > > > > mysql-devel.i386 3.23.58-16.FC3.1 > > updates-released > > > Matched from: > > > mysql-devel > > > > > > > > > mysql-devel.i386 3.23.58-16.FC3.1 > > installed > > > Matched from: > > > mysql-devel > > > > > > > > > > > > ----- Craig White <craigwhite@xxxxxxxxxxx> wrote: > > > > On Tue, 2006-04-11 at 17:13 -0700, RYAN M. vAN GINNEKEN wrote: > > > > > Hello I am tring to build bacula server from src on fedora core > > 3 > > > > and do not want to build all the X windows stuff. I started a > > thread > > > > regarding the bacula server install on fedora 3 about a month ago, > > but > > > > though i should maybe start a new one as lots of time has passed. > > > > > > > > > > My fedora box does not have X windows installed and i do not > > > > need/want the gconsole. When i build with the command below it > > tries > > > > to build a bunch of stuff that requires alsa, esound, and others I > > do > > > > not want these. What do i need to do to stop bacula from building > > all > > > > these unwanted packages. > > > > > > > > > > rpmbuild --rebuild --define 'build_fc3 1' --define 'build_mysql4 > > 1' > > > > bacula-1.38.6-1.src.rpm > > > > ---- > > > > probably best to ask the bacula list as they are most likely to > > be > > > > able > > > > to guide you. If you look at the spec file for bacula... > > > > > > > > %if %{fc3} > > > > BuildRequires: libtermcap-devel > > > > BuildRequires: gtk2-devel >= 2.4 > > > > BuildRequires: libgnomeui-devel >= 2.8 > > > > BuildRequires: glibc-devel >= 2.3 > > > > BuildRequires: ORBit2-devel > > > > BuildRequires: libart_lgpl-devel >= 2.3 > > > > BuildRequires: libbonobo-devel >= 2.8 > > > > BuildRequires: libbonoboui-devel >= 2.8 > > > > BuildRequires: bonobo-activation-devel > > > > BuildRequires: GConf2-devel > > > > BuildRequires: freetype-devel > > > > %endif > > > > > > > > you can easily see why the Xstuff is wanted and I agree that > > bconsole > > > > should be adequate. > > ---- > > Try this... > > > > rpmbuild -bb \ > > --define 'fc3 1' \ > > --define 'build_mysql 1' \ > > --define 'nobuild_gconsole 1' \ > > bacula.spec > > > > -- > > fedora-list mailing list > > fedora-list@xxxxxxxxxx > > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list > > What is a spec file anyway??? > > [king@shoemasters SOURCES]$ rpmbuild -bb --define 'fc3 1' --define 'build_mysql 1' --define 'nobuild_gconsole 1' bacula-1.38.6-1.src.rpm > error: File /home/king/rpmbuild/SOURCES/bacula-1.38.6-1.src.rpm does not appear to be a specfile. > [king@shoemasters SOURCES]$ ls > bacula-1.38.6-1.src.rpm bacula-docs-1.38.6.tar.gz > bacula-1.38.6-makefile.patch bacula-rescue-1.8.2.tar.gz > bacula-1.38.6-script.patch depkgs-22Jun05.tar.gz > bacula-1.38.6.tar.gz Release_Notes-1.38.6-1.tar.gz ---- OK then... rpmbuild --rebuild \ --define 'fc3 1' \ --define 'build_mysql 1' \ --define 'nobuild_gconsole 1' \ /home/king/rpmbuild/SOURCES/bacula-1.38.6-1.src.rpm though I'm not quite sure if you don't need to add '--with' if that were the case... rpmbuild --rebuild \ /home/king/rpmbuild/SOURCES/bacula-1.38.6-1.src.rpm \ --with \ --define 'fc3 1' \ --define 'build_mysql 1' \ --define 'nobuild_gconsole 1' \ or something like that Craig