building freeradius 1.1.0 suse rpm
Markus Krause
krause at biochem.mpg.de
Thu Jan 12 21:52:56 CET 2006
hi all!
first: sorry for not testing the build of suse rpms before the release date ..
building freeradius 1.1.0 rpms under suse enterprise server 9 i encountered the
follwing problems:
1) freeradius.spec mentions some config files that are (or at least seem for me
to be) not present:
x99.conf
x99passwd.sample
commenting them out in freeradius.spec solves the problem
on the other hand three files are missing:
example.pl
otp.conf
otppasswd.conf
adding the following lines (seems to) fix the problem:
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/example.pl
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/otp.conf
%attr(640,-,radiusd) %config(noreplace) /etc/raddb/otppasswd.sample
2) the next question may be quite stupid so please be patient but i a do not
have much "insider knowledge":
are all these packages listed in "BuildRequires" in freeradius.spec really
nedded?? at least i deleteted "postgresql" (i do not want/need mysql and
postgresql server installed on the same machine), "perl-devel" (there is not
such package available for suse). i am also wondering why e.g. packages like
python and ncurses/ncurses-devel are needed for building. don't get me wrong, i
just want to keep the system with as few packages as possible. and the packages
libzio and libnscd are also not available in the suse distribution, only via
rpmfind.net.
3) i am not sure what is responsible for this: during the bild (rpmbuild -bb
freeradius.spec) i got an error that the file
"/usr/lib/mysql/libmysqlclient_r.so" is missing. a link (ln -s) to the existing
file "/usr/lib/libmysqlclient_r.so.12" solves this problem.
after these fixes the building of the rpms runs without problem (at least at the
end i got a freeradius-1.1.0-1.suse.i586.rpm which can be installed and runs
without problems.
sorry again for not testing this before the release date :-(
regards,
markus
--
Markus Krause email: krause at biochem.mpg.de
Computing Center Tel.: 089 - 89 40 85 99
Group Lottspeich / Proteomics Fax.: 089 - 89 40 85 98
---------------------------------------------------------------------
This message was sent using https://webmail.biochem.mpg.de
If you encounter any problems please report to rz-linux at biochem.mpg.de
More information about the Freeradius-Devel
mailing list