How to compile freeradius with sqlcounter module on debian/ubuntu
hi, I'm trying to compile freeradius with sqlcounter module on my ubuntu dapper with no success. Actually I can compile it but at the end I have no rlm_sqlcounter-x.x.so in my /usr/lib/freeradius directory. This is how I proceeded: * apt-get source freeradius * apt-get build-dep freeradius * I added --with-experimental-modules in debian/rules file * dpkg-buildpackage -rfakeroot -uc -us Is this way correct? freeradius version in dapper is 1.0.5-2 many thanks Gabriele
Gabriele Vidali wrote:
hi, I'm trying to compile freeradius with sqlcounter module on my ubuntu dapper with no success. Actually I can compile it but at the end I have no rlm_sqlcounter-x.x.so in my /usr/lib/freeradius directory. This is how I proceeded:
* apt-get source freeradius * apt-get build-dep freeradius * I added --with-experimental-modules in debian/rules file * dpkg-buildpackage -rfakeroot -uc -us
Is this way correct?
freeradius version in dapper is 1.0.5-2
many thanks
Gabriele
Well I did something a bit different to get the rlm_policy module as a part of my deb package. I patched configure to allow it to accept a list of modules which I added into debian/rules configure invocation http://apt-repo.ttec.com
Gabriele Vidali wrote:
I'm trying to compile freeradius with sqlcounter module on my ubuntu dapper with no success.
You could try to build a Debian package from the latest release: $ wget ftp://ftp.freeradius.org/pub/radius/freeradius-1.1.0.tar.gz $ tar zxf freeradius-1.1.0.tar.gz $ cd freeradius-1.1.0 $ fakeroot dpkg-buildpackage -b -uc $ sudo dpkg -i ../freeradius_1.1.0-0_i386.deb It should work out of the box, with no file editing. The package will contain the sqlcounter module, too. -- Nicolas Baradakis
participants (3)
-
Gabriele Vidali -
Joe Maimon -
Nicolas Baradakis