How to properly disable a module via configure

Alan DeKok aland at deployingradius.com
Wed Oct 23 21:59:38 CEST 2013


JDL wrote:
> I am working on a RPM spec file for FreeRADIUS using the spec file from git repository.  I am trying to incorporate optional builds for some of the experimental modules.  I am running into problems trying to disable modules.  Specifically, I am seeing the issue with rlm_ruby.  My configure options are as follows.

  It should work.

> When configure hits the rlm_ruby modules, it seems to see that it is supposed to be disabled.
> 
> *** module rlm_ruby is disabled.
> 
> However, when it gets to the build section, it errors out with the following.

  What does the make file say? i.e. what are the contents of:

src/modules/rlm_ruby/all.mk

> Shouldn't the build be skipped if the module is disabled by configure?

  Yes.

  Alan DeKok.


More information about the Freeradius-Users mailing list