v3.2.x - installing rlm_python3 attempts to install rlm_python

Alan DeKok aland at deployingradius.com
Mon Jul 18 15:09:25 UTC 2022


On Jul 18, 2022, at 11:01 AM, Dave Macias <davama at gmail.com> wrote:
> Trying to understand how to install FR with rlm_python3 module.

  It should just build.  We run CI every day, and build packages regularly.

> During the `make` process, i get a lot of errors for rlm_python. Im
> assuming because it's trying to use python2

  Yes.  The rlm_python module is Python 2.  We need to support that, to avoid breaking peoples systems.

> Using the --without-rlm_python option just doesnt install it at all...
> 
> I've also tried within src/modules/rlm_python3 directory but get some
> interesting output below:

  You need to pass many more flags to configure to get it working in a subdirectory.

> So honestly at a loss... attempted what had been suggested here but get the
> same m4_include() output as the last post says.
> https://github.com/FreeRADIUS/freeradius-server/issues/4441
> 
> How can I install rlm_python3 ?

$ rm -rf src/modules/rlm_python
$ ./configure ...
$ make
$ make install

  The server can *use* rlm_python.  It doesn't *require* rlm_python.

  Alan DeKok.



More information about the Freeradius-Users mailing list