building freeradius 1.1.0 suse rpm

Wolfgang Rosenauer stark at suse.de
Fri Jan 13 07:11:17 CET 2006


On 2006-01-12 at 23:28:09 +0100, Markus Krause wrote (shortened):

> 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.

You are right. There is no perl-devel on SUSE. perl should be
sufficient. Looking at the CVS it seems that 'nbk' added it 10 days ago.
IMHO it should be removed again.

> 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[6]: *** [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.
 
> > 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.

> > > 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.


CU,

   Wolfgang

-- 
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 mailing list