On 15 Jul 2013, at 22:23, Arran Cudbard-Bell <a.cudbardb@freeradius.org> wrote:
On 15 Jul 2013, at 21:21, Arran Cudbard-Bell <a.cudbardb@freeradius.org> wrote:
On 15 Jul 2013, at 20:59, Alan DeKok <aland@deployingradius.com> wrote:Aaron Hurt wrote:Just did this myself, it looks like HAVE_CRYPT isn't being properly
defined by the configure script on FreeBSD and missing.c is trying to
emulate it which causes a conflict with the FreeBSD base definition. I
was able to get things to compile on a 9.1-RELEASE-p3 amd64 box by
exporting CFLAGS="-I/usr/local/include" and
LDFLAGS="-L/usr/local/include" … this got everything to build but there
are still some linking errors when it gets to the proto_dhcp module.
I'll dig a bit more into this later today.
Verify this is with HEAD please. I did fix an issue yesterday evening with the configure scripts not exiting if they found the header in the normal search path. Teaches me to delete random " " values with no comments as to what they do...
Nope present in HEAD too, I can produce it.
Pushed fixes.
Arran Cudbard-Bell <a.cudbardb@freeradius.org>
FreeRADIUS Development Team
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
-rw-r--r-- 1 root wheel 249804 Jul 16 11:14 /usr/local/lib/libidn.a-rwxr-xr-x 1 root wheel 1012 Jul 16 11:14 /usr/local/lib/libidn.lalrwxr-xr-x 1 root wheel 12 Jul 16 11:14 /usr/local/lib/libidn.so -> libidn.so.17-rwxr-xr-x 1 root wheel 217566 Jul 16 11:14 /usr/local/lib/libidn.so.17
=== configuring in src/modules/rlm_idn (/usr/local/src/freeradius-server/src/modules/rlm_idn)configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--with-rlm-idn-libraries=/usr/local/lib' '--with-rlm-idn-includes=/usr/local/include' --cache-file=/dev/null --srcdir=.checking for gcc... gccchecking whether the C compiler works... yeschecking for C compiler default output file name... a.outchecking for suffix of executables...checking whether we are cross compiling... nochecking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option to accept ISO C89... none neededchecking how to run the C preprocessor... gcc -Echecking for idna_to_ascii_8z in -lidn... nochecking for idna_to_ascii_8z in -lidn in /usr/local/lib... yeschecking for idna.h... nochecking for idna.h in /usr/local/include... yesconfigure: creating ./config.statusconfig.status: creating all.mk
CC src/modules/rlm_idn/rlm_idn.c/usr/bin/ld: cannot find -lidngmake: *** [build/lib/local/rlm_idn.la] Error 1