building freeradius 1.1.0 suse rpm
stark at suse.de
Fri Jan 13 08:09:15 CET 2006
On 2006-01-13 at 07:11:17 +0100, Wolfgang Rosenauer wrote (shortened):
> On 2006-01-12 at 23:28:09 +0100, Markus Krause wrote (shortened):
> > 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
> > type âkrb5_dataâ
> > 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
> > type âkrb5_dataâ
> > gmake: *** [rlm_krb5.o] Error 1
> > but this actually seems to become another thread ;-)
> I haven't compiled 1.1.0 yet so maybe there is a problem.
I just compiled 1.1.0 on SUSE Linux 10.0 and don't have this problem.
> > > And mysql _and_ postgresql is needed to build both modules.
> > hmm, i deleted "postgresql" in "BuildRequires" and i think i do have a modules
> > for postgresql:
> > ldapserv1:/usr/lib/freeradius # ls rlm_sql_postgresql*
> > rlm_sql_postgresql-1.1.0.so rlm_sql_postgresql.la
> > rlm_sql_postgresql.a rlm_sql_postgresql.so
> > ldapserv1:/usr/lib/freeradius #
> > but as i do not have postgresql server installed i can not test them.
> I have to check it myself again but maybe you are right again, because
> all you need to compile the module should be the libraries which are in
> postgresql-libs and postgresql-devel.
postgresql can be removed from the list.
> > > > 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?
> > yes:
> > ldapserv1:~ # rpm -q mysql-devel
> > mysql-devel-4.0.18-32.1
> > ldapserv1:~ #
> Have to check this, too.
It compiles on 10.0 but not on SLES9. So something has changed in FR so
that it can't find the library anymore. I'll try to investigate and will
post a new spec-file here then (maybe together with a patch to compile
it on SLES9 again).
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
More information about the Freeradius-Devel