[freeRADIUS 2.2.9 : fail building the rlm_sql_oracle module : make: *** No rule to make target `../../../../../Make.inc'. Stop
Hi, I need to build the rlm_sql_oracle module for my freeRADIUS server v2.2.6. I have downloaded freeradius v2.2.9 tarball here : http://freeradius.org/download.html and followed instructions here : http://wiki.freeradius.org/modules/Rlm_sql_oracle Below is the result : [radiusrec@radiusa1r1 rlm_sql_oracle]$ autoconf [radiusrec@radiusa1r1 rlm_sql_oracle]$ ./configure --with-oracle-include-dir --with-oracle-lib-dir=/OPT/oracle/product/11.2.0.4.8/lib checking for oci.h... checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed yes yes configure: creating ./config.status config.status: creating Makefile [radiusrec@radiusa1r1 rlm_sql_oracle]$ make Makefile:1: ../../../../../Make.inc: No such file or directory make: *** No rule to make target `../../../../../Make.inc'. Stop. After searching by myself, I can't find any way to go further. Please someone may help me to build rlm_sql_oracle-<fr_version>.so ? Best regards, Vincent MARCEL.
On Feb 3, 2016, at 11:57 AM, Vincent MARCEL <Vincent.MARCEL@monext.net> wrote:
I need to build the rlm_sql_oracle module for my freeRADIUS server v2.2.6.
You should build the server and modules together.
I have downloaded freeradius v2.2.9 tarball here : http://freeradius.org/download.html and followed instructions here : http://wiki.freeradius.org/modules/Rlm_sql_oracle
Those instructions are wrong. I've fixed them.
[radiusrec@radiusa1r1 rlm_sql_oracle]$ make Makefile:1: ../../../../../Make.inc: No such file or directory make: *** No rule to make target `../../../../../Make.inc'. Stop.
You didn't run the top-level "configure" script. You need to do that. And you MUST use the same version for the main server, and the modules. Alan DeKok.
participants (2)
-
Alan DeKok -
Vincent MARCEL