Bacula-users

Re: [Bacula-users] bacula on RH 7.3

2010-04-01 14:52:00
Subject: Re: [Bacula-users] bacula on RH 7.3
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 1 Apr 2010 19:49:56 +0100
>>>>> 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&#174; 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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>