Hi All,

 

I am trying to build log4cxx 0.10.0 on solaris10 platform.

 

I am getting this error when I execute “make” command, though it generates the binaries and library:

 

make: Fatal error: Don't know how to make target `all-local'

Current working directory /apps/scratch/chakrava/log4cxx-0.10.0/src/test/resources

*** Error code 1

The following command caused the error:

set fnord $MAKEFLAGS; amf=$2; \

dot_seen=no; \

target=`echo all-recursive | sed s/-recursive//`; \

list='input witness'; 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) \

   || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \

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 /apps/scratch/chakrava/log4cxx-0.10.0/src/test/resources

*** Error code 1

The following command caused the error:

set fnord $MAKEFLAGS; amf=$2; \

dot_seen=no; \

target=`echo all-recursive | sed s/-recursive//`; \

list='cpp resources'; 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) \

   || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \

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 /apps/scratch/chakrava/log4cxx-0.10.0/src/test

*** Error code 1

The following command caused the error:

set fnord $MAKEFLAGS; amf=$2; \

dot_seen=no; \

target=`echo all-recursive | sed s/-recursive//`; \

list='main test simplesocketserver examples performance site'; 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) \

   || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \

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 /apps/scratch/chakrava/log4cxx-0.10.0/src

*** Error code 1

The following command caused the error:

set fnord $MAKEFLAGS; amf=$2; \

dot_seen=no; \

target=`echo all-recursive | sed s/-recursive//`; \

list='src'; 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) \

   || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \

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'

 

 

I need some help on this to resolve this error.

 

Thanks & Regards,

 

Jenica Mehta