www.emsdn.com
Class Profile: Home »» Networking [Networking] under "Networking" »»» Freeradius and Oracle under Cygwin

Freeradius and Oracle under Cygwin


I'm working on using Freeradius with Chillispot to authenticate from an
database. Freeradius is running on W2K3 server and is
installed on the local machine.
At this point, I'm trying to compile the rlr_sql_oracle module, but keep
getting:
$ ./configure /cygdrive/d/oracle/ora92
"configure: WARNING: oracle headers not found. Use \
<path>
configure: WARNING: sql submodule 'oracle' disabled"
I have set RACLE_HME to the Cygwin path:
Is anyone currently authenticating against that might be able to
offer pointers? I do have the alternative of compiling on a true linux
server as opposed to a W2K3 box, but the architecture is different (AMD
em64T instead of x86).


No. 1# | By Developer Tags User at [2008-5-6] | size: 727 bytes

Brian wrote:
At this point, I'm trying to compile the rlr_sql_oracle module, but keep
getting:
$ ./configure /cygdrive/d/oracle/ora92

"configure: WARNING: oracle headers not found. Use \
<path>
configure: WARNING: sql submodule 'oracle' disabled"

For some reason, this worked:
$ ; export RACLE_HME
$ ./configure $RACLE_HME

Yet, I still am unable to perform 'make':
$ make
make: LIBTL@: Command not found
make: [sql_oracle.lo] Error 127

Libtool is installed:
$ libtool
ltmain.sh (GNU libtool) 1.5.23a (1.1220.2.412 2006/10/13 14:13:30)

Again, assistance is appreciated.
-
List info/subscribe/unsubscribe? See

No. 1# | By Developer Tags User at [2008-5-6] | size: 451 bytes

Brian Atkins wrote:
For some reason, this worked:
$ ; export RACLE_HME
$ ./configure $RACLE_HME

Which directory were you in when you ran configure? It *should* be
the top-level directory, not src/modules/rlm_sql/

Yet, I still am unable to perform 'make':
$ make
make: LIBTL@: Command not found
make: [sql_oracle.lo] Error 127

Because the top-level makefile wasn't updated.

Alan DeKok.

No. 1# | By Developer Tags User at [2008-5-6] | size: 841 bytes

Alan DeKok wrote:
Which directory were you in when you ran configure? It *should* be
the top-level directory, not src/modules/rlm_sql/

I tried from the rlm_sql_oracle directory under sources:

/

As long as I have RACLE_HME set, then the configure passes, but the
make fails no matter what. I did try from

/

But it complains about not being able to locate rules.mak. Based on the
locations of the Make.inc and rules.mak in the Makefile, I assumed that
rlm_sql_oracle was the correct directory.

Makefile:

include /////Make.inc

TARGET = rlm_sql_oracle
SRCS = sql_oracle.c
RLM_SQL_CFLAGS = \
\
\
\
$(INCLTDL)
RLM_SQL_LIBS = -L/cygdrive/d/oracle/ora92/lib -lclntsh -lm

include /rules.mak
-
List info/subscribe/unsubscribe? See



Networking Hot!

Networking New!


Copyright © 2008 www.emsdn.com • All rights reserved • CMS Theme by www.emsdn.com - 0.375