I'm working on using Freeradius with Chillispot to authenticate from an Oracle database. Freeradius is running on W2K3 server and Oracle is installed on the local machine. At this point, I'm trying to compile the rlr_sql_oracle module, but keep getting: $ ./configure --with-oracle-home-dir=/cygdrive/d/oracle/ora92 ... "configure: WARNING: oracle headers not found. Use \ --with-oracle-home-dir=<path> configure: WARNING: sql submodule 'oracle' disabled" ... I have set ORACLE_HOME to the Cygwin path: ORACLE_HOME=/cygdrive/d/oracle/ora92/ Is anyone currently authenticating against Oracle 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). -- Brian "An adventure is never an adventure when it's happening. Challenging experiences need time to ferment, and an adventure is simply physical and emotional discomfort recollected in tranquility." -- Tim Cahill
Brian wrote:
At this point, I'm trying to compile the rlr_sql_oracle module, but keep getting: $ ./configure --with-oracle-home-dir=/cygdrive/d/oracle/ora92 ... "configure: WARNING: oracle headers not found. Use \ --with-oracle-home-dir=<path> configure: WARNING: sql submodule 'oracle' disabled" ...
For some reason, this worked: $ ORACLE_HOME=/cygdrive/d/oracle/ora92; export ORACLE_HOME $ ./configure --with-oracle-home-dir=$ORACLE_HOME Yet, I still am unable to perform 'make': $ make make: LIBTOOL@: Command not found make: *** [sql_oracle.lo] Error 127 Libtool is installed: $ libtool --version ltmain.sh (GNU libtool) 1.5.23a (1.1220.2.412 2006/10/13 14:13:30) Again, assistance is appreciated.
Brian Atkins wrote:
For some reason, this worked: $ ORACLE_HOME=/cygdrive/d/oracle/ora92; export ORACLE_HOME $ ./configure --with-oracle-home-dir=$ORACLE_HOME
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: LIBTOOL@: Command not found make: *** [sql_oracle.lo] Error 127
Because the top-level makefile wasn't updated. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
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: /cygdrive/c/Freeradius.net/tmp/freeradius-1.1.4/freeradius-1.1.4/src/modules/rlm_sql/drivers/rlm_sql_oracle As long as I have ORACLE_HOME set, then the configure passes, but the make fails no matter what. I did try from /cygdrive/c/Freeradius.net/tmp/freeradius-1.1.4/freeradius-1.1.4/ 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 = -I/cygdrive/d/oracle/ora92/rdbms/demo \ -I/cygdrive/d/oracle/ora92/rdbms/public \ -I/cygdrive/d/oracle/ora92/plsql/public \ -I/cygdrive/d/oracle/ora92/network/public \ -I/cygdrive/d/oracle/ora92/oci/include $(INCLTDL) RLM_SQL_LIBS = -L/cygdrive/d/oracle/ora92/lib -lclntsh -lm include ../rules.mak
participants (2)
-
Alan DeKok -
Brian Atkins