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

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

[Help-gnu-radius] (no subject)


From: Gerald
Subject: [Help-gnu-radius] (no subject)
Date: Tue, 24 Sep 2002 16:47:19 -0400 (EDT)

I'm still searching for the root cause, but perhaps you can figure out
what's wrong faster than I can.

Gerald


OS: FreeBSD 4.7 RC #24

m4: m4-1.4_1

I'm installing gnu-radius-0.96.3 fresh from ports collection on
workstation.

## ERROR Message:

make[2]: Entering directory
`/usr/ports/net/gnu-radius/work/gnu-radius-0.96.3/radscripts'
/usr/bin/m4 -DSRCDIR=. -DPROGNAME=/usr/local/sbin/radiusd
-DBINDIR=/usr/local/bin -DSBINDIR=/usr/local/sbin
-DDATADIR=/usr/local/share/gnu-radius
-DPIDFILE=/var/run/radiusd.pid -DPS=/bin/ps            -DAWK=nawk
-DGETOPT=/usr/bin/getopt ./radping.m4 > radping
m4: unexpected end of input, unclosed parenthesis:
   ./radping.m4 at line 48
gmake[2]: *** [radping] Error 1
gmake[2]: Leaving directory
`/usr/ports/net/gnu-radius/work/gnu-radius-0.96.3/radscripts'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/net/gnu-radius/work/gnu-radius-0.96.3'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /usr/ports/net/gnu-radius.
*** Error code 1

Stop in /usr/ports/net/gnu-radius


## Code line:

35 if TEST($# != 1); then
36     usage
37 fi
38
39 if TEST("$CALLERID" = "1"); then
40     FORMAT="-oclid:20,ip:16"
41 else
42     FORMAT="-ologin:20,ip:16"
43 fi
44
45 IPADDR=`radwho -n $FORMAT -e:NULL: |
46  AWK -vVALUE=$1 '$1==VALUE { if ($2 != ":NULL:") print $2; exit }'`
47
48 if TEST(x"$IPADDR" = x""); then
49     echo "user $1 is not online"
50     exit 1
51 fi
52 ping $IPADDR

gcoon:/usr/ports/net/gnu-radius/work/gnu-radius-0.96.3/radscripts/
/usr/bin/m4 -DSRCDIR=. ./radping.m4

usage() {
    echo "usage: radping login"
    echo "       radping -c caller_id"
    exit 1
}

set -- `GETOPT "c" $*`
while  [ $# -ne 0);
do
        case $1 in
        -c ]
                CALLERID=1
                shift;;
        --)     shift
                break;;
        *)      usage;;
        esac
done





reply via email to

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