*
Hi,

I'm having problems building 0.96.3 on Solaris 9 and 10.  I believe I've
copied in the appropriate sections of configure and make below.  Can anyone
tell me why this might be failing?  Or, what other information I can provide
that might help?

Thanks,

Tom

>From configure:

checking whether we are cross compiling... configure: error: in
`/src/objss10/clamav-0.96.3/libclamav/c++':
configure: error: cannot run C++ compiled programs.
If you meant to cross compile, use `--host'.


>From make:*
*
*
make  all-recursive
  CC     unrar15.lo
  CC     unrar.lo
  CC     unrar20.lo
  CC     unrarppm.lo
  CC     unrarvm.lo
  CC     unrarcmd.lo
  CC     unrarfilter.lo
  CC     unrarhlp.lo
  CCLD   libclamunrar.la
  CC     unrar_iface.lo
  CCLD   libclamunrar_iface.la
  CC     libclamav_la-matcher-ac.lo
  CC     libclamav_la-matcher-bm.lo
  CC     libclamav_la-matcher-md5.lo
  CC     libclamav_la-matcher.lo
  CC     libclamav_la-others.lo
In file included from /usr/include/sys/wait.h:24,
                 from others.c:38:
/usr/include/sys/siginfo.h:259: error: syntax error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: syntax error before '}' token
/usr/include/sys/siginfo.h:294: error: syntax error before '}' token
/usr/include/sys/siginfo.h:390: error: syntax error before "ctid_t"
/usr/include/sys/siginfo.h:398: error: conflicting types for '__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of '__fault' was
here
/usr/include/sys/siginfo.h:404: error: conflicting types for '__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of '__file' was
here
/usr/include/sys/siginfo.h:420: error: conflicting types for '__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of '__prof' was
here
/usr/include/sys/siginfo.h:424: error: conflicting types for '__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of '__rctl' was
here
/usr/include/sys/siginfo.h:426: error: syntax error before '}' token
/usr/include/sys/siginfo.h:428: error: syntax error before '}' token
/usr/include/sys/siginfo.h:432: error: syntax error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: syntax error before '}' token
In file included from /usr/include/sys/procset.h:24,
                 from /usr/include/sys/wait.h:25,
                 from others.c:38:
/opt/gnu/lib/gcc/sparc-sun-solaris2.8/3.4.5/include/sys/signal.h:96: error:
syntax error before "siginfo_t"
In file included from others.c:38:
/usr/include/sys/wait.h:86: error: syntax error before "siginfo_t"
*** Error code 1
The following command caused the error:
echo "  CC    " libclamav_la-others.lo;/bin/bash ../libtool --silent
--tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I./nsis
-I../libltdl  -DWARN_DLOPEN_FAIL -I/usr/local/include
-DSEARCH_LIBDIR=\"/usr/local/lib\" -g -O2 -MT libclamav_la-others.lo -MD -MP
-MF .deps/libclamav_la-others.Tpo -c -o libclamav_la-others.lo `test -f
'others.c' || echo './'`others.c
make: Fatal error: Command failed for target `libclamav_la-others.lo'
Current working directory /src/objss9/clamav-0.96.3/libclamav
*** Error code 1
The following command caused the error:
fail= 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=''; 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; \
  (CDPATH="${ZSH_VERSION+.}:" && 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 /src/objss9/clamav-0.96.3/libclamav
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /src/objss9/clamav-0.96.3/libclamav
*** Error code 1
The following command caused the error:
fail= 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='libltdl libclamav clamscan clamd clamdscan freshclam sigtool clamconf
database docs etc clamav-milter test unit_tests clamdtop clambc'; 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; \
  (CDPATH="${ZSH_VERSION+.}:" && 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 /src/objss9/clamav-0.96.3
*** Error code 1
make: Fatal error: Command failed for target `all'

-- 
Tom Goerger
University of Minnesota - Internet Services
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to