[squid-users] Problem with install on Solaris

From: Balachandran, Sharat <c_sbalac@dont-contact.us>
Date: Thu, 5 Apr 2007 11:42:52 -0700

Hi

I'm trying to install squid 2.6 STABLE12 on sparc-sun-solaris2.10 on
ARCH=SunOS-5. I extract the tar and run ./configure
--prefix=/local/mnt/squid/install Then when I make, I get

"error: `SIGHUP' undeclared"

However I have checked the include locations for signal.h etc and all
seems to be in order. I also previously installed squid on another
machine, with a slightly older gcc and everthing worked. Comparing the
configurations, I don't see anything different. I am not sure as to
where the issue lies, or what steps I should take from this point. I
have copied the error message below. Any assistance in this matter would
be greatly appreciated.

Thanks

Sharat

I../include -Wall -g -O2 -MT cache_cf.o -MD -MP -MF
".deps/cache_cf.Tpo" -c -o cache_cf.o cache_cf.c; \ then mv -f
".deps/cache_cf.Tpo" ".deps/cache_cf.Po"; else rm -f
".deps/cache_cf.Tpo"; exit 1; fi

cache_cf.c: In function `requirePathnameExists':
cache_cf.c:3019: error: `SIGHUP' undeclared (first use in this function)
cache_cf.c:3019: error: (Each undeclared identifier is reported only
once
cache_cf.c:3019: error: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `cache_cf.o'
Current working directory /local/mnt/squid/squid-2.6.STABLE12/src
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \ list='fs repl auth';
for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (cd $subdir && make $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /local/mnt/squid/squid-2.6.STABLE12/src
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /local/mnt/squid/squid-2.6.STABLE12/src
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \ list='lib scripts
src icons errors doc helpers tools'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (cd $subdir && make $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Received on Thu Apr 05 2007 - 12:43:02 MDT

This archive was generated by hypermail pre-2.1.9 : Tue May 01 2007 - 12:00:01 MDT