help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gnu-radius] make check fails on slackware and segmentation fault w


From: Erik Olson
Subject: [Help-gnu-radius] make check fails on slackware and segmentation fault with -p
Date: Wed, 15 Jun 2005 14:02:57 -0400

I am using version 1.2 on a redhat box very successfully (thank you!)  I am 
trying to build a new radius server with version 1.3 on a new slackware box and 
I am running into a strange issue with make check.   "configure" and "make" 
appear successful, but make check fails:

## -------------------------- ##
## GNU Radius 1.3 test suite. ##
## -------------------------- ##
  1: Starting radius server                       FAILED (begin.at:29)
  2: Status-Server                                FAILED (status-server.at:25)
  3: Basic Authentication Types                   FAILED (basic-auth.at:52)
  4: Reply attributes                             FAILED (reply.at:27)
  5: BEGIN Keyword                                FAILED (begin-kw.at:26)
  6: DEFAULT Keyword                              FAILED (default-kw.at:27)
  7: Match-Profile                                FAILED (match-profile.at:30)
  8: hints                                        FAILED (hints.at:25)
  9: huntgroups                                   FAILED (huntgroups.at:27)
 10: Scheme authentication                        FAILED (scheme-auth.at:32)
 11: Access control lists                         FAILED (acl.at:25)
 12: Expiration attribute                         FAILED (expiration.at:26)
 13: menus                                        skipped (menu.at:42)
 14: accounting and simultaneous use control      FAILED (acct.at:29)
 15: rewrite rules                                FAILED (rewrite.at:27)
 16: external procedures                          FAILED (execwait.at:27)
 17: filters                                      FAILED (filter.at:25)
 18: Scheme accounting                            FAILED (scheme-acct.at:40)
 19: tunnel attributes                            FAILED (tunnel.at:28)
 20: Log-Mode-Mask attribute                      FAILED (log-mode.at:27)
 21: Shutting down radius server                  ok
 22: Starting radius server                       FAILED (begin-proxy.at:29)
 23: Basic Authentication Types (proxy)           FAILED 
(proxy-basic-auth.at:25)
 24: Case-insensitive realms                      FAILED 
(proxy-ignorecase.at:25)
 25: VSA propagation                              FAILED (proxy-vsa.at:25)
 26: menus (proxy)                                skipped (proxy-menu.at:42)
 27: nested realms                                FAILED (proxy-nested.at:25)
 28: proxy accounting                             FAILED (proxy-acct.at:29)
 29: tunnel attributes (proxy)                    FAILED (proxy-tunnel.at:28)
 30: Shutting down radius server                  ok

## ------------- ##
## Test results. ##
## ------------- ##

ERROR: 28 tests were run,
26 failed unexpectedly.
2 tests were skipped.

After trying several things, I noticed that ps-ef | grep radius yielded about 
20 instances of the following:

root     14797     1  0 13:34 ?        00:00:00 lt-radiusd -d 
/root/radius-1.3/tests/raddb -l /root/radius-1.3/tests/raddb/log -a 
/root/radius-1.3/tests/raddb/acct -P /root/radius-1.3/tests/raddb


And if you try to make install, radiusd will run ok with no arguments.  However 

radiusd -y -p 1645 -A -z -x 100

results in 

Segmentation fault

however if I take out the -p argument it seems to work ok.

I tried to configure with --with-included-argp per someone's previous tip, but 
make then terminates with the following output:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../include 
-I../include/radius -I../include/radius -DLOCALEDIR=\"/usr/local/share/locale\" 
-DSYSCONFDIR=\"/usr/local/etc\" -DRADPID_DIR=\"/var/run\" 
-DRADLOG_DIR=\"/var/log\" -g -O2 -MT argp-fs-xinl.lo -MD -MP -MF 
.deps/argp-fs-xinl.Tpo -c argp-fs-xinl.c  -fPIC -DPIC -o .libs/argp-fs-xinl.lo
In file included from /usr/include/stdio.h:28,
                 from argp-fmtstream.h:33,
                 from argp-fs-xinl.c:28:
/usr/include/features.h:265:65: operator '&&' has no right operand
make[3]: *** [argp-fs-xinl.lo] Error 1
make[3]: Leaving directory `/root/radius-1.3/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/radius-1.3/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/radius-1.3'
make: *** [all] Error 2

Is this just a difference between version 1.2 and 1.3?  Why would make check 
appear to fail so horribly yet the daemon does seem to be running?  (I haven't 
configured users on it yet, tho)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]