building freeradius 1.1.0 suse rpm
Markus Krause
krause at biochem.mpg.de
Fri Jan 13 00:00:48 CET 2006
Zitat von A.L.M.Buxey at lboro.ac.uk:
> Hi,
> [snipp]
> > 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.
>
> but some of the people may want to use postgresql (if this was to be a public
> RPM) - perhaps a freeradius-mysql, freeradius-postgresql and freeradius-nodb
> package choice? you need posgresql if you want to ensure the module is
> compiled
hmm, i deleted "postgresql" and do have postgresql modules, i think:
ldapserv1:/usr/lib/freeradius # ls -l rlm_sql_postgresql*
-rwxr-xr-x 1 root root 20073 Jan 12 21:11 rlm_sql_postgresql-1.1.0.so
-rw-r--r-- 1 root root 17170 Oct 22 22:14 rlm_sql_postgresql.a
-rw-r--r-- 1 root root 811 Jan 12 21:11 rlm_sql_postgresql.la
lrwxrwxrwx 1 root root 27 Jan 12 21:12 rlm_sql_postgresql.so ->
rlm_sql_postgresql-1.1.0.so
ldapserv1:/usr/lib/freeradius #
so it looks like the postgresql modules are compiled ...
>
> > 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.
>
> mysql-devel package present?
yes:
ldapserv1:~ # rpm -q mysql-devel
mysql-devel-4.0.18-32.1
ldapserv1:~ #
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