Re: freeradius + firebird, how install in Ubuntu Linux
Hello! I try it. By manual from http://wiki.freeradius.org/building/Build#Building-Debian-packages I did these steps: I'm install firebird-dev package. Result of command "sudo dpkg -L firebird-dev" /. /usr /usr/lib /usr/lib/i386-linux-gnu /usr/share /usr/share/doc /usr/include /usr/include/perf.h /usr/include/ibase.h /usr/include/iberror.h /usr/include/ib_util.h /usr/lib/i386-linux-gnu/libfbembed.so /usr/lib/i386-linux-gnu/libfbclient.so /usr/share/doc/firebird-dev then I fix debian/rules file in this part (added strings with word "firebird"): ./configure $(confflags) \ --prefix=/usr \ --exec-prefix=/usr \ --mandir=$(mandir) \ --sysconfdir=/etc \ --libdir=$(libdir) \ --datadir=/usr/share \ --localstatedir=/var \ --with-raddbdir=$(raddbdir) \ --with-logdir=/var/log/$(package) \ --enable-ltdl-install=no --enable-strict-dependencies \ --with-large-files --with-udpfromto --with-edir \ --enable-developer \ --config-cache \ --without-rlm_eap_tnc \ --with-rlm_sql_postgresql_lib_dir=`pg_config --libdir` \ --with-rlm_sql_postgresql_include_dir=`pg_config --includedir` \ --with-rlm_sql_firebird \ --with-rlm_sql_firebird_lib_dir=`/usr/lib/i386-linux-gnu/` \ --with-rlm_sql_firebird_include_dir=`/usr/include/` \ --without-rlm_eap_ikev2 \ --without-rlm_sql_oracle \ --without-rlm_sql_unixodbc \ --with-system-libtool \ --with-system-libltdl But, firebird deb is absent, although other packages, such as mysql, postgresql is present. Why? Please tell me, where is my error? I would be very grateful for any help!
On Wed, Aug 20, 2014 at 10:02 AM, Антон - <mongoostic@yandex.ru> wrote:
Hello!
I try it. By manual from http://wiki.freeradius.org/building/Build#Building-Debian-packages I did these steps:
I'm install firebird-dev package. Result of command "sudo dpkg -L firebird-dev" /. /usr /usr/lib /usr/lib/i386-linux-gnu /usr/share /usr/share/doc /usr/include /usr/include/perf.h /usr/include/ibase.h /usr/include/iberror.h /usr/include/ib_util.h /usr/lib/i386-linux-gnu/libfbembed.so /usr/lib/i386-linux-gnu/libfbclient.so /usr/share/doc/firebird-dev
then I fix debian/rules file in this part (added strings with word "firebird"):
./configure $(confflags) \ --prefix=/usr \ --exec-prefix=/usr \ --mandir=$(mandir) \ --sysconfdir=/etc \ --libdir=$(libdir) \ --datadir=/usr/share \ --localstatedir=/var \ --with-raddbdir=$(raddbdir) \ --with-logdir=/var/log/$(package) \ --enable-ltdl-install=no --enable-strict-dependencies \ --with-large-files --with-udpfromto --with-edir \ --enable-developer \ --config-cache \ --without-rlm_eap_tnc \ --with-rlm_sql_postgresql_lib_dir=`pg_config --libdir` \ --with-rlm_sql_postgresql_include_dir=`pg_config --includedir` \ --with-rlm_sql_firebird \ --with-rlm_sql_firebird_lib_dir=`/usr/lib/i386-linux-gnu/` \ --with-rlm_sql_firebird_include_dir=`/usr/include/` \ --without-rlm_eap_ikev2 \ --without-rlm_sql_oracle \ --without-rlm_sql_unixodbc \ --with-system-libtool \ --with-system-libltdl
But, firebird deb is absent, although other packages, such as mysql, postgresql is present. Why? Please tell me, where is my error? I would be very grateful for any help!
Try logging the configure output (e.g. ./configure ... 2>&1 | tee /tmp/configure.log), and then look at that file and see what it says (e.g. does it find the firebird libs and headers). There's a possibility that it DOES find it, but the libs got built into the main freeradius deb. -- Fajar
Hi,
I'm install firebird-dev package. Result of command "sudo dpkg -L firebird-dev"
okay
--with-rlm_sql_firebird \ --with-rlm_sql_firebird_lib_dir=`/usr/lib/i386-linux-gnu/` \ --with-rlm_sql_firebird_include_dir=`/usr/include/` \
shouldnt need these, ./configure should pick up the info automagically
But, firebird deb is absent, although other packages, such as mysql, postgresql is present.
ah - you mean the eg freeradius-firebird.deb package? well, thats because the debian folk package up parts of freeradius seperately - you will need to check their code/scripts to find out how they do that for the pgsql etc and copy their technique. the basic build from source method (rather than create DEB) will compile a version of FR with support for the libraries etc and install required libraries. alan
On 20 Aug 2014, at 14:50, A.L.M.Buxey@lboro.ac.uk wrote:
Hi,
I'm install firebird-dev package. Result of command "sudo dpkg -L firebird-dev"
okay
--with-rlm_sql_firebird \ --with-rlm_sql_firebird_lib_dir=`/usr/lib/i386-linux-gnu/` \ --with-rlm_sql_firebird_include_dir=`/usr/include/` \
shouldnt need these, ./configure should pick up the info automagically
But, firebird deb is absent, although other packages, such as mysql, postgresql is present.
ah - you mean the eg freeradius-firebird.deb package? well, thats because the debian folk package up parts of freeradius seperately - you will need to check their code/scripts to find out how they do that for the pgsql etc and copy their technique.
the basic build from source method (rather than create DEB) will compile a version of FR with support for the libraries etc and install required libraries.
Out of interest what is firebird even used for? Why would firebird be used over one of the other more mainstream databases? Not criticising, just wondering why? :) Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS development team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
Hi,
Out of interest what is firebird even used for? Why would firebird be used over one of the other more mainstream databases? Not criticising, just wondering why? :)
well, someone wrote the support and its in the system....i guess it has its strengths/weaknesses.... but why odbc/mssql/mysql? just have postgres support only ;-) alan
On 22 Aug 2014, at 14:39, A.L.M.Buxey@lboro.ac.uk wrote:
Hi,
Out of interest what is firebird even used for? Why would firebird be used over one of the other more mainstream databases? Not criticising, just wondering why? :)
well, someone wrote the support and its in the system....i guess it has its strengths/weaknesses.... but why odbc/mssql/mysql? just have postgres support only ;-)
rlm_sql_null blows all the other databases out of the water in terms of performance. Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS development team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
participants (4)
-
A.L.M.Buxey@lboro.ac.uk -
Arran Cudbard-Bell -
Fajar A. Nugraha -
Антон -