Howto compile 1.1.6 on Fedora 6

Jacob Jarick mem.namefix at gmail.com
Thu Apr 19 03:44:15 CEST 2007


I just tried building 1.1.6 as an rpm on suse, it fails with this error.

[root at localhost src]# rpmbuild -ba /usr/src/packages/SPECS/freeradius.spec
error: File /usr/src/redhat/SOURCES/freeradius-1.1.5.tar.gz: No such
file or directory

This is corrected instructions

Notes:
* The wiki glosses over a little and gives u an incorrect dir
* the spec file expects 1.1.5 tar.gz

# cd /usr/src
# tar zxvf /root/Desktop/freeradius-1.1.6.tar.gz
# cp /root/Desktop/freeradius-1.1.6.tar.gz
/usr/src/redhat/SOURCES/freeradius-1.1.5.tar.gz
# cp freeradius-1.1.6/suse/freeradius.spec  /usr/src/redhat/SPECS/
# rpmbuild -ba /usr/src/redhat/SPECS/freeradius.spec

On 4/16/07, Nicolas Baradakis <nbk at sitadelle.com> wrote:

> You were not told to pick up a random RPM on the net. The wiki
> explains how to build yourself a RPM from sources. The resulting
> package should run without problem on the host where it was
> compiled.
>



More information about the Freeradius-Users mailing list