Building Freeradius RPM on Redhat ES 4.0

King, Michael MKing at bridgew.edu
Thu Aug 31 00:48:41 CEST 2006


I seem to be having the same problem.

Editing Line 102 allowed the package to build.

Where did you remove /usr/local/bin from your path?

Mike

> -----Original Message-----
> From: 
> freeradius-users-bounces+mking=bridgew.edu at lists.freeradius.or
> g 
> [mailto:freeradius-users-bounces+mking=bridgew.edu at lists.freer
> adius.org] On Behalf Of B Thompson
> Sent: Wednesday, August 30, 2006 6:14 AM
> To: FreeRadius users mailing list
> Subject: Re: Building Freeradius RPM on Redhat ES 4.0
> 
> On Wed, Aug 30, 2006 at 08:47:13AM +0100, B Thompson wrote:
> > On Tue, Aug 29, 2006 at 07:32:23PM -0400, King, Michael wrote:
> > 
> > > cp: will not overwrite just-created
> > > `/var/tmp/freeradius-root/usr/share/doc/freeradius-1.1.3/README' 
> > > with `README'
> > > error: Bad exit status from /var/tmp/rpm-tmp.49148 (%doc)
> > 
> > I get this error too. It looks like line 102 in the spec file is 
> > causing it :-
> > 
> > %doc doc/* LICENSE COPYRIGHT CREDITS README
> > 
> > Should this line simply be :
> > 
> > %doc doc/*
> > 
> > This change allows the package to build on my system but 
> when I try to 
> > install the rpm I get the following message :-
> > 
> > error: Failed dependencies:
> >         /usr/local/bin/perl is needed by freeradius-1.1.3-0.i386
> 
> 
> Having googled about for this I removed /usr/local/bin from 
> my path and ran rpmbuild again. This time everything worked OK.
> 
> 
> -- 
> 
> Ben Thompson
> University of York
> -
> List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html
> 




More information about the Freeradius-Users mailing list