[freeRADIUS 2.2.9 : fail building the rlm_sql_oracle module : make: *** No rule to make target `../../../../../Make.inc'. Stop

Vincent MARCEL Vincent.MARCEL at monext.net
Fri Feb 5 16:43:18 CET 2016


Hello,

I have followed your advice and got freeradius 3.0.11 tarball and followed new instructions here : http://wiki.freeradius.org/modules/Rlm_sql_oracle
Top level configure script => OK
make => OK
cd src/modules/rlm_sql/drivers/rlm_sql_oracle => OK make install => KO :
[radiusrec at radiusa1r1 rlm_sql_oracle]$ make install
make: *** No rule to make target `install'.  Stop.

Indeed, there is no Makefile in this directory.
I tried "make install" on top level (freeradius-server-3.0.11 directory) :
[radiusrec at radiusa1r1 freeradius-server-3.0.11]$ make install
mkdir: cannot create directory `/usr/local/include/freeradius': Permission denied
make: *** [/usr/local/include/freeradius] Error 1

What do I have to do to install properly this freeradius WITH rlm_sql_oracle driver ?

Best regards,
Vincent MARCEL

-----Message d'origine-----
De : Alan DeKok [mailto:aland at deployingradius.com]
Envoyé : jeudi 4 février 2016 16:04
À : Vincent MARCEL
Objet : Re: [freeRADIUS 2.2.9 : fail building the rlm_sql_oracle module : make: *** No rule to make target `../../../../../Make.inc'. Stop

On Feb 4, 2016, at 6:20 AM, vincent.marcel at monext.net wrote:
> 
> Hi,
> 
> Thank you for your answer.
> The top level configure + make commands are successful and I now get 2 problems :
> 
> 1/ if I use in  the new binary freeradius-server-2.2.9/src/main/radius instead of /usr/sbin/radius (2.2.6 version) in /etc/init.d/radius script (in order to keep same version for server and rlm_sql module), I get this error at launch :
> Thu Feb  4 10:34:02 2016 : Error: Refusing to start with libssl 
> version OpenSSL 1.0.1e-fips 11 Feb 2013 (in range 1.0.1 - 1.0.1f).
> Security advisory CVE-2014-0160 (Heartbleed) Thu Feb  4 10:34:02 2016
> : Error: For more information see http://heartbleed.com

  Read raddb/radiusd.conf from the 2.2.9 distribution.  Look for "openssl".

> But my CentOS is up to date with a 1.0.1e openssl version that include all security patches. So, heartbleed is fixed and radius should not refuse to start. Is it possible de disable this check at launch ?

  Yes.  And this is documented.

> 2/ When I want to install the rlm_sql_oracle library, I get this error :
> [radiusrec at radiusa1r1 rlm_sql_oracle]$ make install if [ 
> "xrlm_sql_oracle" != "x" ]; then \
>            /USR/radiusrec/freeradius-server-2.2.9/libtool --mode=install /USR/radiusrec/freeradius-server-2.2.9/install-sh -c -c \
>                rlm_sql_oracle.la /usr/local/lib/rlm_sql_oracle.la || exit $?; \
>            rm -f /usr/local/lib/rlm_sql_oracle-2.2.9.la; \
>            ln -s rlm_sql_oracle.la /usr/local/lib/rlm_sql_oracle-2.2.9.la || exit $?; \
>        fi
> /USR/radiusrec/freeradius-server-2.2.9/install-sh -c -c 
> .libs/rlm_sql_oracle-2.2.9.so /usr/local/lib/rlm_sql_oracle-2.2.9.so
> cp: cannot create regular file `/usr/local/lib/_inst.50844_': 
> Permission denied
> make: *** [install] Error 1

  Weird.  I've never seen that happen.

> I have found where /usr/local/lib is configured (rlm_sql_oracle.la) but may I change the install path for my home directory for example : will it work ? I doubt that radiusd will find rlm_sql_oracle module at launch.
> What should I do ?

  Try 3.0.11.  We've updated the build system so that it doesn't use the crappy GNU libtool / libltdl.  That should help.

  Alan DeKok.




More information about the Freeradius-Users mailing list