FreeRadius - Version porting

srithar jeevadurai srijeevadurai1 at gmail.com
Sat Nov 21 20:11:37 CET 2015


Dear Friends,

It tried by adding ggrep path in PATH variable as first path even  though I
am getting same error message.

My doubt is that gmake command calls a script which uses grep however gun
grep in solaris is ggrep.

I am able to successfully compile 2.2.9. (after trying and failed with
3.0.9) in the same environment. I have faced only error while compiling
rlm_unix module, as per Alan's reply for one of old thread, I removed
rlm_unix and successfully installed 2.2.9 in the environment.

I am facing difficulty only with 3.0.9 on Solaris 11.

1) While configure step, I faced below WARNINGS. hope I can ignore those.

checking for redisConnect in -lhiredis... no
checking for redisConnect in -lhiredis in /usr/local/lib... no
checking for redisConnect in -lhiredis in /opt/lib... no
configure: WARNING: hiredis libraries not found. Use
--with-redis-lib-dir=<path>.
configure: WARNING: silently not building rlm_rediswho.
configure: WARNING: FAILURE: rlm_rediswho requires: hiredis.h libhiredis.

2) while doing gmake I faced following errors. GNU grep on solaris is
ggrep, since script is using "grep" though I added GNU utilities path
(/usr/sfw/bin) as first in the PATH variable, it is not able to make use
since name is ggrep. I believe that if I create symbolic link as grep to
ggrep in the path /usr/sfw/bin then It may resolve. Please correct me on
the same.

>gmake
/bin/sh: test: argument expected
/bin/sh: test: argument expected
gmake: Warning: File `build/tests/keywords/autoconf.h.mk' has modification
time 40 s in the future
HEADER src/include/attributes.h
/bin/sh: ATTRIBUTE: not found
Usage: grep -hblcnsviw pattern file . . .
/bin/sh: VALUE: not found
Usage: grep -hblcnsviw pattern file . . .
HEADER src/include/rfc2867.h
/bin/sh: ATTRIBUTE: not found
Usage: grep -hblcnsviw pattern file . . .
HEADER src/include/rfc6911.h
/bin/sh: ATTRIBUTE: not found
Usage: grep -hblcnsviw pattern file . . .
HEADER src/include/rfc3162.h
/bin/sh: ATTRIBUTE: not found
Usage: grep -hblcnsviw pattern file . . .
..
..
..
/bin/sh: ATTRIBUTE: not found
Usage: grep -hblcnsviw pattern file . . .
HEADER src/include/rfc3576.h
/bin/sh: ATTRIBUTE: not found
Usage: grep -hblcnsviw pattern file . . .
HEADER src/include/vqp.h
/bin/sh: ATTRIBUTE: not found
Usage: grep -hblcnsviw pattern file . . .
HEADER src/include/features.h
*/bin/sh: s,#[\\t ]*ifdef[\\t ]*" $2 "$,#if "$3 ",g;s,#[\\t ]*ifndef[\\t
]*" $2 "$,#if !"$3 ",g;s,defined(" $2 ")," $3 ",g;"}: not found*
gmake: *** [src/include/autoconf.sed] Error 1
Usage: grep -hblcnsviw pattern file . . .



On Mon, Nov 16, 2015 at 9:04 PM, Matthew Newton <mcn4 at leicester.ac.uk>
wrote:

> On Mon, Nov 16, 2015 at 08:55:16PM +0530, srithar jeevadurai wrote:
> > 3) $>alias grep='/usr/sfw/bin/ggrep '
> > $>gmake
> > */bin/sh: test: argument expected*
> > gmake: Warning: File `build/tests/keywords/autoconf.h.mk' has
> modification
> > time 8.2 s in the future
> > /*bin/sh: s,#[\\t ]*ifdef[\\t ]*" $2 "$,#if "$3 ",g;s,#[\\t ]*ifndef[\\t
> > ]*" $2 "$,#if !"$3 ",g;s,defined(" $2 ")," $3 ",g;"}: not found*
> > *gmake: *** [src/include/autoconf.sed] Error 1*
> > Usage: grep -hblcnsviw pattern file . . .
> >
> > It is still giving same error message (even I have set the alias grep as
> > '/usr/sfw/bin/ggrep '.
>
> An alias won't help scripts; you need a correctly named binary or
> a symlink.
>
> Then hope the build scripts don't call another binary that's been
> updated in the last 15 years. Rinse and repeat.
>
> Matthew
>
>
> --
> Matthew Newton, Ph.D. <mcn4 at le.ac.uk>
>
> Systems Specialist, Infrastructure Services,
> I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom
>
> For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>



-- 
Regards,
Srithar Durairaj
Alternate Mail I.D: srijeevadurai1 at yahoo.co.in
Mobile: +919886251852


More information about the Freeradius-Users mailing list