Re: freeradius 2.1.10 with oracle instantclient11.2

2011-01-18 Thread Alan DeKok
Alexandre wrote: > Oops the patch is indeed bad. > A bad copy/paste inserted a line break wich mess it up: here is a good > one attached. > sorry for that (unfortunately this won't resolve your issue with > libtool/autoconf or whatever). Added, thanks. Alan DeKok. - List info/subscribe/unsubs

Re: freeradius 2.1.10 with oracle instantclient11.2

2011-01-17 Thread Waqas Toor
Dear Alexandre, Ok the patch you sent didnt work for me so here are some steps that I took and would like to share so that other may benefit from it :) these steps are working with FreeRadius 2.1.10 and Oracle Instantclient 11.2, autoconf 2.59 and libtool 1.5.4 and OS is centOS 5.4 (final) Steps t

Re: freeradius 2.1.10 with oracle instantclient11.2

2011-01-14 Thread Alexandre
Hardcoding libnnz11should be done in configure not in configure.in. and so there is no need to run. ./autogen.sh Le 14 janv. 2011 20:19, "Waqas Toor" a écrit : > Dear Alexandre, > > Thanks, I have autoconf 2.59 > after patching I had to do > #aclocal > # ./autogen.sh > # ./configure --with-oracle-

Re: freeradius 2.1.10 with oracle instantclient11.2

2011-01-14 Thread Waqas Toor
Dear Alexandre, Thanks, I have autoconf 2.59 after patching I had to do #aclocal # ./autogen.sh # ./configure --with-oracle-include-dir=/opt/instantclient_11_2/sdk/include/ --with-experimental-modules --with-oracle-lib-dir=/opt/instantclient_11_2/ now the error is configure: configuring in ./dri

Re: freeradius 2.1.10 with oracle instantclient11.2

2011-01-14 Thread Alexandre
A workaround for your very own problem could be to change all references to libnnz10 to libnnz11 in the configure file (in the same directory). regards 2011/1/14 Alexandre : > personnally  I got it working with libtool 1.5 and autoconf 2.61 > > 2011/1/14 Waqas Toor : >> Dear Alexandre, >> I am so

Re: freeradius 2.1.10 with oracle instantclient11.2

2011-01-14 Thread Alexandre
personnally I got it working with libtool 1.5 and autoconf 2.61 2011/1/14 Waqas Toor : > Dear Alexandre, > I am sorry I should have mentioned the env previously .. > its CentOS 5.4 64bit > > > if I do ./autogen.sh without applying patch on a clean extract from > the tarball it gives the same erro

Re: freeradius 2.1.10 with oracle instantclient11.2

2011-01-14 Thread Waqas Toor
Dear Alexandre, I am sorry I should have mentioned the env previously .. its CentOS 5.4 64bit if I do ./autogen.sh without applying patch on a clean extract from the tarball it gives the same error. I am not good with libtool and autoconf. can you head me to a direction where i can figure out th

Re: freeradius 2.1.10 with oracle instantclient11.2

2011-01-14 Thread Alexandre
Oops the patch is indeed bad. A bad copy/paste inserted a line break wich mess it up: here is a good one attached. sorry for that (unfortunately this won't resolve your issue with libtool/autoconf or whatever). 2011/1/14 Alexandre : > The patch should apply flalessly on the 2.1.10 source tree. At

Re: freeradius 2.1.10 with oracle instantclient11.2

2011-01-14 Thread Alexandre
The patch should apply flalessly on the 2.1.10 source tree. At least it does here. Are you sure you applied it on a clean source trre unpacked from the 2.1.10 tarball? Never the less it seems ,there are autoconf or libtool issues with your environement (wich is?). Do you have the same error befor

Re: freeradius 2.1.10 with oracle instantclient11.2

2011-01-14 Thread Waqas Toor
also adding to that, i have manually typed in the changes in the configure.in file as suggested by the patch. when i do autogen.sh i get this error ./autogen.sh Remember to add `AC_PROG_LIBTOOL' to `configure.in'. Using `AC_PROG_RANLIB' is rendered obsolete by `AC_PROG_LIBTOOL' libtoolize: `/usr/s

Re: freeradius 2.1.10 with oracle instantclient11.2

2011-01-14 Thread Waqas Toor
Hello Alexandre, Thanks for the patch it tried its failing here is the error message [root@aaa-dev freeradius-server-2.1.10]# patch -p0 < oracle.patch patching file src/modules/rlm_sql/drivers/rlm_sql_oracle/configure.in Hunk #1 FAILED at 86. patch: malformed patch at line 77: AC_MSG_RESULT(

Re: freeradius 2.1.10 with oracle instantclient11.2

2011-01-14 Thread Alexandre
I wrote this patch which should allow freeradius to correctly detect oracle librairies and headers (if you provide the necessary option for configure). copy it to the top level directory of the sources and patch using patch -p0 < filename.patch then re-run ./autogen.sh, then configure, make blahb

freeradius 2.1.10 with oracle instantclient11.2

2011-01-14 Thread Waqas Toor
Dear Community, I am trying to compile freeradius2.1.10 with oracle instantclient11.2 and having problems where it is not detecting oracle libraries and header files. where the oracle home is /opt/instantclient_11_2 there are two steps that I am trying and both are failing. a: standard compile #