I can compile and start last snapshot using these otpions
on a suse9.1
CFLAGS="$RPM_OPT_FLAGS -I/usr/include/security -I/usr/include/et"
./configure \
        --prefix=/usr \
        --bindir=/usr/bin \
        --sbindir=/usr/sbin \
        --libexecdir=/usr/libexec \
        --datadir=/usr/share \
        --sysconfdir=/etc \
        --localstatedir=/var \
        --libdir=/usr/lib \
        --includedir=/usr/include \
        --infodir=/usr/share/info \
        --mandir=/usr/share/man \
        --with-threads \
        --with-thread-pool \
        --with-snmp \
        --with-large-files \
        --disable-ltdl-install \
        --with-ltdl-lib=/usr/lib \
        --with-ltdl-include=/usr/include \
        --with-gnu-ld \
        --enable-heimdal-krb5 \
        --with-openssl-includes=/usr/include/openssl/ \
        --with-openssl-libraries=/usr/lib \
        --with-rlm-krb5-include-dir=/usr/include/heimdal/ \
        --with-rlm-krb5-lib-dir=%{_libdir} \


but using  rpmbuild -ba --clean freeradius-1.1.0.spec
/usr/src/packages/BUILD/freeradius-1.1.0/install-sh -c -c .libs/rlm_dbm.lai
/var/tmp/freeradius-1.1.0-build/usr/lib/rlm_dbm.la
/usr/src/packages/BUILD/freeradius-1.1.0/install-sh -c -c .libs/rlm_dbm.a
/var/tmp/freeradius-1.1.0-build/usr/lib/rlm_dbm.a
ranlib /var/tmp/freeradius-1.1.0-build/usr/lib/rlm_dbm.a
chmod 644 /var/tmp/freeradius-1.1.0-build/usr/lib/rlm_dbm.a
libtool: install: warning: remember to run `libtool --finish /usr/lib'
gmake[7]: Entering directory
`/usr/src/packages/BUILD/freeradius-1.1.0/src/modules/rlm_dbm'
/usr/src/packages/BUILD/freeradius-1.1.0/install-sh -c -m 755 -s
rlm_dbm_parser /var/tmp/freeradius-1.1.0-build/usr/bin
strip: /var/tmp/freeradius-1.1.0-build/usr/bin/#inst.10686#: File format not
recognized
gmake[7]: *** [rlm_dbm_install] Error 1
gmake[7]: Leaving directory
`/usr/src/packages/BUILD/freeradius-1.1.0/src/modules/rlm_dbm'
gmake[6]: *** [install] Error 2
gmake[6]: Leaving directory
`/usr/src/packages/BUILD/freeradius-1.1.0/src/modules/rlm_dbm'
gmake[5]: *** [common] Error 1
gmake[5]: Leaving directory
`/usr/src/packages/BUILD/freeradius-1.1.0/src/modules'
gmake[4]: *** [install] Error 2
gmake[4]: Leaving directory
`/usr/src/packages/BUILD/freeradius-1.1.0/src/modules'
gmake[3]: *** [common] Error 1
gmake[3]: Leaving directory `/usr/src/packages/BUILD/freeradius-1.1.0/src'
gmake[2]: *** [install] Error 2
gmake[2]: Leaving directory `/usr/src/packages/BUILD/freeradius-1.1.0/src'
gmake[1]: *** [common] Error 1
gmake[1]: Leaving directory `/usr/src/packages/BUILD/freeradius-1.1.0'
make: *** [install] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.81919 (%install)

It seems to me something wrong with Makefile.in at
rlm_dbm_install:
        $(INSTALL) -m 755 $(INSTALLSTRIP) rlm_dbm_parser$(EXEEXT) $(R)$(bindir)
        $(INSTALL) -m 755 $(INSTALLSTRIP) rlm_dbm_cat$(EXEEXT)    $(R)$(bindir)

ok  i'm not a genius ... wher Am I wrong ? :)


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to