Freeradius --with-udpfromto --disable-static on OS X 10.7
Alan DeKok
aland at deployingradius.com
Mon Mar 5 13:02:11 CET 2012
YJZ wrote:
> 1. I have been compiling Freeradius 3.0.0 or Freeradius 2.x with the --with-udpfromto flag, until very recently always on Mac OS X 10.4.11. Now I find OS X 10.7 (Lion) "no longer defines SOL_IP for {get,set}sockopt()" as described at http://trac.macports.org/ticket/30403. Inserting the following diff into ./src/lib/udpfromto.c does the trick of getting Freeradius 3.x and 2.x to compile.
Added, thanks.
> 2. After adopting some of ./configure flags Apple used in its Makefile, I notice the --disable-static one makes Freeradius compile without spitting out the huge number of deprecation warnings concerning OpenSSL, OpenDirectory, and UTMP pasted below. The OpenSSL deprecation was discussed at http://stackoverflow.com/questions/7406946/why-is-apple-depricating-openssl-in-macos-10-7-lion and http://ludovicrousseau.blogspot.com/2011/08/mac-os-x-lion-and-openssl.html, apparently because Apple is moving to replace it with its own Common Crypto framework.
>
> I'm wondering if the Freeradius components utilizing those functions really get built successlly, with or without --disable-static, given the numerous deprecation warnings:
They get built. Do the various EAP tests to verify this.
I'm not really interested in fixing these issues. Apple created the
problem. They can submit a patch to fix it.
Alan DeKok.
More information about the Freeradius-Users
mailing list