Hi,

trying to compile today's CVS on a Debian i386 unstable as of yesterday
shows some problems in rlm_x99_token.

The 'configure' step fails because the test for des_cbc_encrypt() goes
haywire. The reason is that, in Debian, there are several versions of
the openssl library aboard, and especially that des_cbc_encrypt() is
only a macro that expands to DES_cbc_encrypt() which is in libcrypt.

The test code generated by configure declares the function like this:

char des_cbc_encrypt();

which the compiler can't expand, but yields a compile-time error.

So I read some stuff up on autoconf in order to find a way to modify
configure.in to check for DES_cbc_encrypt when on Debian recent enough,
but failed. Especially, saying

    $ make reconfig

in the module's directory also fails at the "autoheader" step. Running
those commands by hand yields:

$ autoheader
autoheader: error: AC_CONFIG_HEADERS not found in configure.in

Now, I don't feel brave enough to define that in a meaningful way...


And one more question: Is this the right place to discuss such problems?


Thank you!


Best,
--Toni++

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

Reply via email to