rpm for suse
Peter Nixon
listuser at peternixon.net
Mon Jan 7 22:17:41 CET 2008
On Mon 07 Jan 2008, Norbert Wegener wrote:
> 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 \
Hmm. I don't see this error on my openSUSE 10.3 notebook or on the
buildservice 10.2 target.. Interesting that the behaviour is different.
> 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/drive
>rs/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/drive
>rs/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/drive
>rs/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/drive
>rs/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/drive
>rs'^M gmake[8]: *** [all] Fehler 2^M
> gmake[8]: Leaving directory
> `/usr/src/packages/BUILD/freeradius-server-2.0.0/src/modules/rlm_sql/drive
>rs'^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
This can be solved by checking out (or updating) your cvs tree with "-P" to
get rid of empty directories. (Stupid cvs)
--
Peter Nixon
http://peternixon.net/
More information about the Freeradius-Users
mailing list