Hello list,
I've tried building the python module in FR 0.8.1, but I'm having no luck.
Here's the configure error message -

...
configuring in src/modules/rlm_python
running /bin/sh ./configure  --with-gnu-ld --with-experimental-modules
--with-static-modules=python --with-rlm-python-lib-dir=/usr/lib/python2.2
--with-rlm-python-include-dir=/usr/include/python2.2 --enable-ltdl-install
--cache-file=../../.././config.cache --srcdir=.
loading cache ../../.././config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG ) works... yes
checking whether the C compiler (gcc -g -O2 -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG ) is a
cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for python2.3... (cached) python2.2
checking for Python.h... yes
checking for Py_Initialize in -lpython2.2... yes
configure: warning: silently not building rlm_python.
configure: warning: FAILURE: rlm_python requires:  libpython2.2.

Using these options:
./configure \
--with-gnu-ld \
--with-experimental-modules \
--with-static-modules=python \
--with-rlm-python-lib-dir=/usr/lib/python2.2 \
--with-rlm-python-include-dir=/usr/include/python2.2

I've got libpython at /usr/lib/python2.2/config/libpython2.2.a, instead of
the older libpython2.2 that configure seems to be looking for, but no
amount of copying/renaming/linking of libpython2.2.a has made the module
build yet. This is on a Gentoo Linux system, Python 2.2.2, with GCC
2.95.3. I've also tried configuring with
rlm-python-lib-dir=/usr/lib/python2.2/config, with no success. Any
suggestions would be appreciated.

Thanks,
Dave



-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to