rpm for suse
Norbert Wegener
norbert.wegener at siemens.com
Mon Jan 7 10:31:00 CET 2008
The recent cvs seems to contain a new spec file for suse.
With that spec I tried to build an rpm on 10.2.
rpmbuild -ba freeradius.spec
....
checking for SQLConnect in -liodbc... no
checking for isql.h... no
configure: error: set --without-rlm_sql_iodbc to disable it explicitly.
configure: error: /bin/sh './configure' failed for ./drivers/rlm_sql_iodbc
configure: error: ./configure failed for ./src/modules/rlm_sql
error: Bad exit status from /var/tmp/rpm-tmp.19102 (%build)
In Suse10.2 I don't find packages like *iodb*
Which package contains the neccessary files?
As I don't need everything, I modifyed the configure instruction in the
spec-file and added:
--without-rlm_sql_iodbc \
--without-rlm_sql_firebird \
--without-rlm_sql_db2 \
configure now runs without errors.
Nevertheless, later on I get:
gmake[10]: Entering directory
`/usr/src/packages/BUILD/freeradius-server-2.0.0/src/modules/rlm_sql/drivers/rlm_sql_firebird'^M
gmake[10]: Für das Ziel »all« ist nichts zu tun.^M
gmake[10]: Leaving directory
`/usr/src/packages/BUILD/freeradius-server-2.0.0/src/modules/rlm_sql/drivers/rlm_sql_firebird'^M
Making all in rlm_sql_freetds...^M
gmake[10]: Entering directory
`/usr/src/packages/BUILD/freeradius-server-2.0.0/src/modules/rlm_sql/drivers/rlm_sql_freetds'^M
gmake[10]: *** Keine Regel, um »all« zu erstellen. Schluss.^M
gmake[10]: Leaving directory
`/usr/src/packages/BUILD/freeradius-server-2.0.0/src/modules/rlm_sql/drivers/rlm_sql_freetds'^M
gmake[9]: *** [common] Fehler 2^M
gmake[9]: Leaving directory
`/usr/src/packages/BUILD/freeradius-server-2.0.0/src/modules/rlm_sql/drivers'^M
gmake[8]: *** [all] Fehler 2^M
gmake[8]: Leaving directory
`/usr/src/packages/BUILD/freeradius-server-2.0.0/src/modules/rlm_sql/drivers'^M
gmake[7]: *** [common] Fehler 2^M
gmake[7]: Leaving directory
`/usr/src/packages/BUILD/freeradius-server-2.0.0/src/modules/rlm_sql'^M
gmake[6]: *** [build-module] Fehler 2^M
gmake[6]: Leaving directory
`/usr/src/packages/BUILD/freeradius-server-2.0.0/src/modules/rlm_sql'^M
gmake[5]: *** [common] Fehler 2^M
gmake[5]: Leaving directory
`/usr/src/packages/BUILD/freeradius-server-2.0.0/src/modules'^M
gmake[4]: *** [all] Fehler 2^M
gmake[4]: Leaving directory
`/usr/src/packages/BUILD/freeradius-server-2.0.0/src/modules'^M
gmake[3]: *** [common] Fehler 2^M
gmake[3]: Leaving directory
`/usr/src/packages/BUILD/freeradius-server-2.0.0/src'^M
gmake[2]: *** [all] Fehler 2^M
gmake[2]: Leaving directory
`/usr/src/packages/BUILD/freeradius-server-2.0.0/src'^M
gmake[1]: *** [common] Fehler 2^M
gmake[1]: Leaving directory
`/usr/src/packages/BUILD/freeradius-server-2.0.0'^M
make: *** [all] Fehler 2^M
error: Bad exit status from /var/tmp/rpm-tmp.36031 (%build)^M
^M
^M
RPM build errors:^M
Bad exit status from /var/tmp/rpm-tmp.36031 (%build)^M
de7018tc:/usr/src/packages/SPECS # exit^M
Norbert Wegener
More information about the Freeradius-Users
mailing list