Hi Alan,
Are you sure? What does it say when you do: yes i'm sure...
#which grep /home/imsuser/bin/grep [imsuser@raddev freeradius-server-3.0.10]# /home/imsuser/bin/grep -V /home/imsuser/bin/grep (GNU grep) 2.22 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Haertel and others, see <http://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS>. where /home/imsuser/bin is the custom path of the gnu grep Regards, Marco On 27/01/2016 15:52, Alan DeKok wrote:
On Jan 27, 2016, at 9:45 AM, Marco <marco.xp@tiscali.it> wrote:
i trying to install the Freeradius Server v3.0.11 on the Solaris 5.10 spare It worked when I tried it.
i have installed latest gnu release of the grep and awk tools, i've also listed their paths on the first position of the PATH to set these as default tools Are you sure? What does it say when you do:
$ which grep
Starting from a fresh installation, these are the steps:
# ./configure --prefix=<install-dir> (this seems completed with minor warnings)
# gmake CC jlibtool.c HEADER src/include/attributes.h /bin/sh: ATTRIBUTE: not found Usage: grep [OPTION]... PATTERN [FILE]... Try 'grep --help' for more information. That looks like it's using the Solaris grep.
/bin/sh: VALUE: not found Usage: grep [OPTION]... PATTERN [FILE]... Try 'grep --help' for more information. 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 And the Solaris sed.
any advice? Be sure you're using the correct grep / sed.
I tried the Solaris fixes before committing them. So it *does* work.
Perhaps the next step is to look for a Solaris "grep", and refuse to run if so.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html