oci.h? Was: Re: Compiling FreeRadius for oracle support?

2003-02-20 Thread Ryan Castellucci
Ryan Castellucci wrote:

On Tuesday 11 February 2003 10:38 pm, Peter V. Saveliev wrote:


On Tue, 11 Feb 2003 22:22:49 -0800
Ryan Castellucci <[EMAIL PROTECTED]> wrote:




I thought I specifed the lib directory. What options do I need to give
the configure script?




I defined oracle_home_dir and oracle_include_dir in the
%buildroot/freeradius-0.8.1/src/modules/rlm_sql/drivers/rlm_sql_oracle/conf
igure script.

There must be
 --with-oracle_home_dir
and
 --with-oracle_include_dir
options, but, in the distro I have, I've had to edit the configure
script to compile rlm_sql_oracle.



I still get 

configure: warning: oracle headers not found.  Use 
--with-oracle-home-dir=.

after feeding the configure script in 
%buildroot/freeradius-0.8.1/src/modules/rlm_sql/drivers/rlm_sql_oracle/
the home directory. Do you know where the include directory would be? I'm 
using oracle9i.

After reading the source, I see need oci.h. The oracle9i development 
suite I installed didn't seem to include it, and the oracle8i 
development tools installer hangs.

Can anyone provide a copy of the libraried I need to get Oracle support 
compiled?


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


Re: Compiling FreeRadius for oracle support?

2003-02-12 Thread Ryan Castellucci
On Tuesday 11 February 2003 10:38 pm, Peter V. Saveliev wrote:
> On Tue, 11 Feb 2003 22:22:49 -0800
> Ryan Castellucci <[EMAIL PROTECTED]> wrote:
>
> 
>
> > I thought I specifed the lib directory. What options do I need to give
> > the configure script?
>
> 
>
> I defined oracle_home_dir and oracle_include_dir in the
> %buildroot/freeradius-0.8.1/src/modules/rlm_sql/drivers/rlm_sql_oracle/conf
>igure script.
>
> There must be
>   --with-oracle_home_dir
> and
>   --with-oracle_include_dir
> options, but, in the distro I have, I've had to edit the configure
> script to compile rlm_sql_oracle.

I still get 

configure: warning: oracle headers not found.  Use 
--with-oracle-home-dir=.

after feeding the configure script in 
%buildroot/freeradius-0.8.1/src/modules/rlm_sql/drivers/rlm_sql_oracle/
the home directory. Do you know where the include directory would be? I'm 
using oracle9i.

_

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



Re: Compiling FreeRadius for oracle support?

2003-02-11 Thread Peter V. Saveliev
On Tue, 11 Feb 2003 22:22:49 -0800
Ryan Castellucci <[EMAIL PROTECTED]> wrote:


> I thought I specifed the lib directory. What options do I need to give the 
> configure script?


I defined oracle_home_dir and oracle_include_dir in the
%buildroot/freeradius-0.8.1/src/modules/rlm_sql/drivers/rlm_sql_oracle/configure
script.

There must be
  --with-oracle_home_dir
and
  --with-oracle_include_dir
options, but, in the distro I have, I've had to edit the configure
script to compile rlm_sql_oracle.


-- 
Sincerely, Peter V. Saveliev

E-mail: [EMAIL PROTECTED]
Jabber: [EMAIL PROTECTED]


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



Re: Compiling FreeRadius for oracle support?

2003-02-11 Thread Ryan Castellucci
On Monday 10 February 2003 05:26 pm, Tim McCracken wrote:
> Just link with the oracle library.  The oracle module (last time I
> checked) was either written in OCI calls directly, or was written
> in Pro*c and had already been pre-compiled.
>
> Just make sure you have included rlm_oracle in the build and
> have the oralib in one of the lib directories.

I thought I specifed the lib directory. What options do I need to give the 
configure script?

> Tim
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Ryan
> > Castellucci
> > Sent: Monday, February 10, 2003 6:59 PM
> > To: [EMAIL PROTECTED]
> > Subject: Compiling FreeRadius for oracle support?
> >
> >
> > Hi, I need to compile FreeRadius 0.8.1 on Redhat 7.3 with oracle
> > support. I've installed the oracle 9i linux developers software, where
> > do I go from here?

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



RE: Compiling FreeRadius for oracle support?

2003-02-10 Thread Tim McCracken

Just link with the oracle library.  The oracle module (last time I
checked) was either written in OCI calls directly, or was written
in Pro*c and had already been pre-compiled.

Just make sure you have included rlm_oracle in the build and
have the oralib in one of the lib directories.

Tim

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ryan
> Castellucci
> Sent: Monday, February 10, 2003 6:59 PM
> To: [EMAIL PROTECTED]
> Subject: Compiling FreeRadius for oracle support?
> 
> 
> Hi, I need to compile FreeRadius 0.8.1 on Redhat 7.3 with oracle 
> support. I've installed the oracle 9i linux developers software, where 
> do I go from here?
> 
> 
> - 
> List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html
> 

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