On Thu, Nov 25, 2010 at 5:37 PM, Angel Alvarez <aimsol...@gmail.com> wrote: > On Miércoles, 24 de Noviembre de 2010 16:12:44 Mikael Fridh escribió: >> On Wed, Nov 24, 2010 at 1:51 PM, Angel Alvarez <cl...@uah.es> wrote: >> > Hi >> > >> > Im trying to rpmbuild the lastest src rpm for postgrsql but seems to lack >> > the proper sections in the spec file. >> > >> > Where can i find the missing parts to be able to compile with postgresql >> > support?? >> >> how did you try to build it? >> >> What you would need to do as a minimum is: >> rpmbuild --define "build_centos5=1" --define "build_postgresql=1" >> bacula.spec > Really? > > I couldnt find that ifdef's on the spec. Hardly any postgresql reference but a > lone requirement for the devel package...
You didn't say what src.rpm you were using neither what OS you're trying to build on. This is the src.rpm I'm referring to: bacula-5.0.3-1.src.rpm And building it for postgres: [mika...@mashhad ~]$ rpmbuild --define build_centos5=1 --define build_postgresql=1 --rebuild bacula-5.0.3-1.src.rpm ... Wrote: /home/mikaelf/rpmbuild/RPMS/x86_64/bacula-postgresql-5.0.3-1.x86_64.rpm Wrote: /home/mikaelf/rpmbuild/RPMS/x86_64/bacula-client-5.0.3-1.x86_64.rpm Wrote: /home/mikaelf/rpmbuild/RPMS/x86_64/bacula-updatedb-5.0.3-1.x86_64.rpm Wrote: /home/mikaelf/rpmbuild/RPMS/x86_64/bacula-libs-5.0.3-1.x86_64.rpm Wrote: /home/mikaelf/rpmbuild/RPMS/x86_64/bacula-debuginfo-5.0.3-1.x86_64.rpm ... -- Mikael Fridh ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users