I'm trying to compile SARG (Squid Analysis Report Generator), but keep getting:
configure: error: can not find install-sh or install.sh in cfgaux ./cfgaux
But it is there in sarg-1.4.1/cfgaux/ !!
Here's the code snippet from sarg-1.4.1/configure that I think is giving me fits:
*** begin ***
ac_aux_dir=
for ac_dir in cfgaux $srcdir/cfgaux; do
if test -f $ac_dir/install-sh; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/install-sh -c"
break
elif test -f $ac_dir/install.sh; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/install.sh -c"
break
fi
done
if test -z "$ac_aux_dir"; then
{ echo "configure: error: can not find install-sh or install.sh in cfgaux $src
dir/cfgaux" 1>&2; exit 1; }
fi
ac_config_guess=$ac_aux_dir/config.guess
ac_config_sub=$ac_aux_dir/config.sub
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
*** end ***
I recall having a similar problem with squid 2.4 and OS X 10.1.x, but went away after going to 10.2 (and squid 2.5). I think I read somewhere it had something to do with OS X's way of pointing to directories (or something like that).
I've the latest devtools and gcc 3.3 update.
Anyway, does anyone know how to get around this?