Mike, Just type rpm -bt freeradius.tar.gz
This should make the RPMs out of the tar, without all that work. Regards, Edgard > -----Original Message----- > From: Mike Cisar [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 01, 2002 4:54 PM > To: [EMAIL PROTECTED] > Subject: RPM build problem... > > > I've just downloaded the 0.5 version of FreeRadius and have tried to > build a RedHat RPM under RedHat 7.2 using the spec file > included in the > tarball. > > I've put the tarball in /usr/src/redhat/SOURCES, extracted > the specfile > and placed it in /usr/src/redhat/SPECS and then used the commandline > "rpm -bb freeradius.spec" following is the last bit of the build > output... > > -rw-r--r-- freerad/web 5602 2002-03-11 10:38:15 > freeradius-0.5/todo/TODO > -rw-r--r-- freerad/web 1730 1999-08-16 10:55:12 > freeradius-0.5/todo/proposed-new-users > -rw-r--r-- freerad/web 3329 2002-01-18 04:39:16 > freeradius-0.5/todo/serverside-ip-pools > + STATUS=0 > + '[' 0 -ne 0 ']' > + cd freeradius-0.5 > ++ /usr/bin/id -u > + '[' 0 = 0 ']' > + /bin/chown -Rhf root . > ++ /usr/bin/id -u > + '[' 0 = 0 ']' > + /bin/chgrp -Rhf root . > + /bin/chmod -Rf a+rX,g-w,o-w . > + > : command not found483: > error: Bad exit status from /var/tmp/rpm-tmp.90483 (%prep) > > RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.90483 (%prep) > > Sorry to say that my expertise with building RPMS from source > ends when > things go wrong :-) It appears that this rpm-tmp.xxxxx file > is created > on the fly somehow, but in looking at the file after the build fails, > the only command following the last chmod that appears above > is an "exit > 0" > > Can anybody point me in the right direction as to what might be going > wrong with the build? > > Thanks much! > > >>>>> Mike <<<<< > > > > - > List info/subscribe/unsubscribe? See > http://www.freeradius.org/list/users.html > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.343 / Virus Database: 190 - Release Date: 3/22/2002 > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.343 / Virus Database: 190 - Release Date: 3/22/2002 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
