I installed 1.0.0-pre3 (configure, make, make install) then built an rpm
with rpmbuild and a modified freeradius.spec (I had more changes than I
listed but it was to put /etc/raddb into /var/log/radius).
copy of redhat/freeradius.spec to freeradius.spec.orig, and when you get
yours running send a "diff -c freeradius.spec freeradius.spec.orig" back
to the list to help the next guy.

- Release: 1
+ Release: pre3
- Source0: %{name}-%{version}.tar.gz
+ Source0: %{name}-%{version}.tar
***************
  %build
  CFLAGS="$RPM_OPT_FLAGS" \
- %configure --prefix=%{_prefix} \
-        --localstatedir=%{_localstatedir} \
-        --sysconfdir=%{_sysconfdir} \
-        --mandir=%{_mandir} \
-        --with-threads \
-        --with-thread-pool \
-        --with-system-libtool \
-        --disable-ltdl-install \
-        --with-ltdl-lib=/usr/lib \
-        --with-ltdl-include=/usr/include \
-        --with-gnu-ld \
-        --with-rlm-sql_postgresql-include-dir=/usr/include/pgsql \
-        --with-rlm-krb5-include-dir=/usr/kerberos/include \
-        --with-rlm-krb5-lib-dir=/usr/kerberos/lib
  make
---
  %build
  CFLAGS="$RPM_OPT_FLAGS" \
+ %configure --with-threads \
+       --with-raddbdir=/etc/raddb \
+       --with-radacctdir=/etc/raddb/accounting \
+       --with-rlm-krb5-include-dir=/usr/kerberos/include \
+       --with-rlm-krb5-lib-dir=/usr/kerberos/lib \
+       --libdir=/usr/local/lib
  make

  %files
  %defattr(-,root,root)
+ /usr/local/lib/*
+ %doc /usr/share/doc/freeradius-1.0.0-pre3/* 
  %doc doc/ChangeLog doc/README* todo/ COPYRIGHT INSTALL

- %attr(0700,radiusd,radiusd) %dir /var/log/radius/radacct
+ %attr(0700,radiusd,radiusd) %dir /etc/raddb/accounting


On Mon, 2004-08-09 at 15:20, John Wry wrote:
> can somebody tell me how to install freeradius on Red Hat 9 please.
> Thanks.
> 
> On Monday, August 9, 2004, at 03:32  PM, John Wry wrote:
> 
> > Just happen to be trying that right now-thanks.
> >
> > On Monday, August 9, 2004, at 03:19  PM, Amedzekor Kafui wrote:
> >
> >> I think the fedora rpms work for redhat 9 or better
> >> still you can build your own rpm using the fedora
> >> source rpm
> >>
> >> --- John Wry <[EMAIL PROTECTED]> wrote:
> >>
> >>> anybody know where I can get the RPM for Red Hat 9
> >>> ??
> >>> thanks.
> >>> John Wry
> >>>
> >>>
> >>> -
> >>> List info/subscribe/unsubscribe? See
> >>> http://www.freeradius.org/list/users.html
> >>>
> >>
> >>
> >> __________________________________________________
> >> Do You Yahoo!?
> >> Tired of spam?  Yahoo! Mail has the best spam protection around
> >> http://mail.yahoo.com
> >>
> >> -
> >> List info/subscribe/unsubscribe? See 
> >> http://www.freeradius.org/list/users.html
> >>
> >
> >
> > - List info/subscribe/unsubscribe? See 
> > http://www.freeradius.org/list/users.html
> >
> 
> 
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to