Problems building freeradius 1.1.3 under cygwin...
3ric Johanson
freeradius at cubesearch.com
Tue Nov 14 02:11:14 CET 2006
Update:
$ cat startup.log
Ignoring deprecated command-line option -pStarting - reading configuration
files
...
reread_config: reading radiusd.conf
Config: including file: /usr/local/etc/raddb/proxy.conf
Config: including file: /usr/local/etc/raddb/clients.conf
Config: including file: /usr/local/etc/raddb/snmp.conf
Config: including file: /usr/local/etc/raddb/eap.conf
Config: including file: /usr/local/etc/raddb/sql.conf
main: prefix = "/usr/local"
main: localstatedir = "/usr/local/var"
main: logdir = "/usr/local/var/log/radius"
main: libdir = "/usr/local/lib"
main: radacctdir = "/usr/local/var/log/radius/radacct"
main: hostname_lookups = no
main: max_request_time = 30
main: cleanup_delay = 5
main: max_requests = 1024
main: delete_blocked_requests = 0
main: port = 0
main: allow_core_dumps = no
main: log_stripped_names = no
main: log_file = "/usr/local/var/log/radius/radius.log"
main: log_auth = no
main: log_auth_badpass = no
main: log_auth_goodpass = no
main: pidfile = "/usr/local/var/run/radiusd/radiusd.pid"
main: user = "(null)"
main: group = "(null)"
main: usercollide = no
main: lower_user = "no"
main: lower_pass = "no"
main: nospace_user = "no"
main: nospace_pass = "no"
main: checkrad = "/usr/local/sbin/checkrad"
main: proxy_requests = yes
proxy: retry_delay = 5
proxy: retry_count = 3
proxy: synchronous = no
proxy: default_fallback = yes
proxy: dead_time = 120
proxy: post_proxy_authorize = no
proxy: wake_all_if_all_dead = no
security: max_attributes = 200
security: reject_delay = 1
security: status_server = no
main: debug_level = 0
read_config_files: reading dictionary
read_config_files: reading naslist
Using deprecated naslist file. Support for this will go away soon.
read_config_files: reading clients
read_config_files: reading realms
radiusd: entering modules setup
Module: Library search path is /usr/local/lib
radiusd.conf[1585] Failed to link to module 'rlm_exec': No such file or
director
y
$ ls -lart /usr/local/lib/rlm_exec*
-rwxr-xr-x 1 3ricj None 799 Nov 13 16:59 /usr/local/lib/rlm_exec.la
-rw-r--r-- 1 3ricj None 34710 Nov 13 16:59 /usr/local/lib/rlm_exec.a
lrwxrwxrwx 1 3ricj None 11 Nov 13 16:59 /usr/local/lib/rlm_exec-1.1.3.la ->
r
lm_exec.la
$
Not sure why it can't link to the rlm_exec module.
Any ideas?
However, I've just found freeradius.net, where they have packaged up builds!
woohoo!
So I'm going to abort my own building process. FYI, there seems to be
outstanding issues with cygwin/win32 on the newer versions of freeradius.
Cheers,
3ric
On Mon, 13 Nov 2006, 3ric Johanson wrote:
> Hi there,
>
> I've been trying to get cygwin to build freeradius for a while now... just
> kinda watching the version numbers grow, but still having problems. :)
>
> Here is the first error that it bombs out at:
>
> Making all in rlm_perl...
> make[6]: Entering directory
> `/home/3ricj/freeradius-1.1.3/src/modules/rlm_perl'
> /home/3ricj/freeradius-1.1.3/libtool --mode=compile gcc -g -O2 -D_REENTRANT
> -D_
> POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG
> -I/home/3ricj/freeradius-1
> .1.3/src/include -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe
> -I/usr/local/
> include -I/usr/lib/perl5/5.8/cygwin/CORE -DPERL_USE_SAFE_PUTENV
> -fno-strict-ali
> asing -pipe -I/usr/local/include -c rlm_perl.c
> mkdir .libs
> gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE
> -DNDEBUG
> -I/home/3ricj/freeradius-1.1.3/src/include -DPERL_USE_SAFE_PUTENV
> -fno-strict-a
> liasing -pipe -I/usr/local/include -I/usr/lib/perl5/5.8/cygwin/CORE
> -DPERL_USE_S
> AFE_PUTENV -fno-strict-aliasing -pipe -I/usr/local/include -c rlm_perl.c
> -DPIC
> -o .libs/rlm_perl.o
> rlm_perl.c: In function `rlm_perl_get_handles':
> rlm_perl.c:226: warning: cast to pointer from integer of different size
> rlm_perl.c: At top level:
> rlm_perl.c:614: error: external linkage required for symbol
> 'XS_radiusd_radlog'
> because of 'dllexport' attribute.
> make[6]: *** [rlm_perl.lo] Error 1
> make[6]: Leaving directory
> `/home/3ricj/freeradius-1.1.3/src/modules/rlm_perl'
> make[5]: *** [common] Error 2
> make[5]: Leaving directory `/home/3ricj/freeradius-1.1.3/src/modules'
>
> Disabling rlm_perl via:
>
> ./configure --without-rlm_perl
>
> Results in a functional build.
>
> Cheers,
> -3ric
> - List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
>
>
More information about the Freeradius-Users
mailing list