>>>>> On Thu, 01 Apr 2010 13:46:34 +0200, Marko Gabud said: > > Hi, > > did anyone manage to build RPM of bacula 5 on redhat 7.3? > > I'm trying for some time now without success. > > This is the output that I get when trying: > > rpm -bb --define "build_rh7 1" bacula.spec > error: parse error in expression > error: /root/bacula/bacula-5.0.1/platforms/rpm/bacula.spec:108: > parseExpressionBoolean returns -1 > > Line 108 in bacula.spec file is: > %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} > > > What am I doing wrong?
I suspect it is because redhat 7.3 uses an older version of rpm that doesn't support this syntax. It might be possible to make the bacula.spec work, but you'll need to edit it carefully. Can you build from the tar file instead of using rpm? __Martin ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users