rpm for suse

2008-01-07 Thread Norbert Wegener

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

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


Re: rpm for suse

2008-01-07 Thread Nicolas Baradakis
Norbert Wegener wrote:

 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 \

Instead of listing everything I'd suggest to just remove
--enable-strict-dependencies from the configure flags.

 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_freetds'
 gmake[10]: *** Keine Regel, um »all« zu erstellen.  Schluss.

Either delete the directory (it is empty anyway) or remove
--with-experimental-modules from the configure flags.

-- 
Nicolas Baradakis

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


Re: rpm for suse

2008-01-07 Thread Alan DeKok
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

  I have removed strict dependency checking from the SUSE Spec file.
That should let it continue past the missing dependencies (which aren't
needed).

 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

  I've updated the SQL configure script so that it only looks in
directories with Makefile or Makefile.in.  Since the freetds
directory is empty, it should avoid this problem.

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


RE: Freeradius RPM for SUSE 10.0 or 9.3

2005-12-17 Thread Seferovic Edvin
Hi,

I would suggest you to compile freeradius from the scratch, because with the
RPM package you would also have dependandcy errors ( which will give you
headache believe me ). 

If you have troubles compiling your do some googling, and you'll find a
solution. If not - send an email to this list, and I am sure someone will be
able to pinpoint your mistake ( or missing component ). 

Regards,

Edvin

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of LeRoy
DeVries
Sent: Samstag, 17. Dezember 2005 16:11
To: FreeRadius users mailing list
Subject: Freeradius RPM for SUSE 10.0 or 9.3

Does anyone here on the list have the RPM for freeradius /w experimental 
modeles to share with me. I would be very greatfull.

I would compile it however, SUSE won't let me compile the program because of

interdependancy errors and it's like chasing my tail so I gave up.

 
LeRoy




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

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


Re: Freeradius RPM for SUSE 10.0 or 9.3

2005-12-17 Thread Norbert Wegener

You can find them at http://www.wegener-net.de/fr/suse93 .
Norbert

LeRoy DeVries wrote:

Does anyone here on the list have the RPM for freeradius /w experimental 
modeles to share with me. I would be very greatfull.


I would compile it however, SUSE won't let me compile the program because of 
interdependancy errors and it's like chasing my tail so I gave up.


 
LeRoy





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



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


Re: Freeradius RPM for SUSE 10.0 or 9.3

2005-12-17 Thread LeRoy DeVries
On Saturday 17 December 2005 08:59, Norbert Wegener wrote:
 You can find them at http://www.wegener-net.de/fr/suse93 .
 Norbert


Thanks Norbert...

After further googling I found a RPM package for Freeradius v1.0.4 however 
after installing that package I found it does not have the sql_counter module 
which I need. How would one go about adding that module.


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


Re: Freeradius RPM for SUSE 10.0 or 9.3

2005-12-17 Thread Norbert Wegener

LeRoy DeVries wrote:


On Saturday 17 December 2005 08:59, Norbert Wegener wrote:
 


You can find them at http://www.wegener-net.de/fr/suse93 .
Norbert

   



Thanks Norbert...

After further googling I found a RPM package for Freeradius v1.0.4 however 
after installing that package I found it does not have the sql_counter module 
which I need. How would one go about adding that module.
 


I don't know, whether this module is experimetnal in 1.0.4.
For the version I've compiled, I modified the corresponding spec file  
by  adding  --with-experimental-modules to the configure options

and build the rpms.
Norbert




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



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


Re: Freeradius RPM for SUSE 10.0 or 9.3

2005-12-17 Thread LeRoy DeVries
On Saturday 17 December 2005 14:44, Norbert Wegener wrote:
 I don't know, whether this module is experimetnal in 1.0.4.
 For the version I've compiled, I modified the corresponding spec file
 by  adding  --with-experimental-modules to the configure options
  and build the rpms.
 Norbert

Thanks again Norbert. I d/l your compile and again I was sent off chasing my 
tail because of dependency issues. After package 5 I gave up.  

I'm wondering if someone could send my the rlm_sql_counter module for v 1.0.4 
I could just plug it into my lib directory and then make the required changes  
in the etc/radius.conf it would work.

Anyone have any knowledge about that. 


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