building freeradius 1.1.0 suse rpm
krause at biochem.mpg.de
Thu Jan 12 23:28:09 CET 2006
Zitat von Wolfgang Rosenauer <stark at suse.de>:
> > 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.
> The BuildRequires tag is an automatically created list of packages.
> It's built based on a minimal base system + the definitions you can see
> in # neededforbuild.
> I guess the version in CVS is based on SUSE Linux 10.0 or so and so not
> all packages (with the same name) are available on SLES9.
> So the list you see defines the complete Linux system on which the
> package would be built in our environment.
unfortunately suse 10.0 does not install on any of our newer servers (9.3 does
not either), there seems to be a problem with the raid-controller ...
in suse 10.0 (to be more precise: opensuse 10.0) i can not find a package named
"perl-devel" either! and as rlm_perl.a and rlm_perl.so are created it looks
like this is not needed.
but with this version (oss-10.0) i got other errors in rlm_krb5.c,
rlm_krb5.c: In function âkrb5_authâ:
rlm_krb5.c:366: warning: pointer targets in assignment differ in signedness
rlm_krb5.c:367: warning: pointer targets in assignment differ in signedness
rlm_krb5.c:379: error: âstruct krb5_principal_dataâ has no member named ânameâ
rlm_krb5.c:380: warning: format â%sâ expects type âchar *â, but argument 4 has
rlm_krb5.c:384: warning: implicit declaration of function âkrb5_verify_userâ
rlm_krb5.c:394: error: âstruct krb5_principal_dataâ has no member named ânameâ
rlm_krb5.c:395: warning: format â%sâ expects type âchar *â, but argument 5 has
gmake: *** [rlm_krb5.o] Error 1
but this actually seems to become another thread ;-)
> And mysql _and_ postgresql is needed to build both modules.
hmm, i deleted "postgresql" in "BuildRequires" and i think i do have a modules
ldapserv1:/usr/lib/freeradius # ls rlm_sql_postgresql*
but as i do not have postgresql server installed i can not test them.
> > 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 is not installed?
ldapserv1:~ # rpm -q mysql-devel
> SUSE LINUX GmbH -o) Tel: +49-(0)911-740 53 0
> Maxfeldstr. 5 /\\ Fax: +49-(0)911-740 53 679
> 90409 Nuernberg, Germany _\_v simply change to www.suse.com
> List info/subscribe/unsubscribe? See
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