<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>Creating rpm problem</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Hello,<BR>
<BR>
I have a problem to create a rpm of freeradius-server-2.0.1.<BR>
If i download tar.gz file and i try to create rpm, i've got this message :<BR>
<BR>
[root@ldap1 ~]# rpmbuild -ta freeradius-server-2.0.1.tar.gz<BR>
error: File /root/freeradius-2.0.1.tar.gz: No such file or directory<BR>
<BR>
Scripts have freeradius-2.0.1 instead of freeradius-server.<BR>
I don't knox how to correct this.<BR>
<BR>
I'm work on CentOS 5, so I try to download Fedora 8 srp.rpm which is the closer than my operating system.<BR>
I can compile it but I had some errors when I install the resulting rpm files.<BR>
<BR>
- An error on eap when executing postinstall script<BR>
- The /etc/init.d/freeradius file is an Suse Linux script and not a Redhat like script.<BR>
<BR>
I had corrected the script and freeradius works well because I don't use eap, but is there a solution to compile rpms from tar.gz correctly ?<BR>
<BR>
I don't find any solution on freeradius archive :-(<BR>
<BR>
Best regards<BR>
<BR>
Laurent</FONT>
</P>
</BODY>
</HTML>