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

Alan DeKok aland at deployingradius.com
Mon Jul 18 20:36:49 UTC 2022


On Jul 18, 2022, at 2:22 PM, Dave Macias <davama at gmail.com> wrote:
> 
> Unfortunately, that didnt install rlm_pytohn3 (with flags
> --with-rlm_python3
> --with-rlm-python3-config-bin=/usr/local/bin/psython3-config )

  deleting rlm_python doesn't make rlm_python3 build.  It avoids errors with rlm_python.

> Adding --with-rlm_python didnt work either, im guessing because the
> rlm_python directory didnt exist.
> But doing this got rlm_python3 installed but with some errors:
> 
> $ rm -rf src/modules/rlm_python \
> $ cp -r src/modules/rlm_python3 src/modules/rlm_python \

  Uh... no.  That's not the right thing to do.

> What could I be doing wrong?

  The solution is to delete rlm_python, and then do:

$ ./configure --with-experimental-modules ...

  and it will build rlm_python3.

  Alan DeKok.




More information about the Freeradius-Users mailing list