I have been using the 2.08 version libapreq2 for quite a while.

Today, I tried to upgrade to the 2.12 version on one of my
development machines.

It failed to compile.  The long and short of it is that 2.08
would compile using just the regular "make" on OpenSolaris.
2.12 won't compile unless you use "gmake".

When you attempt to build with just "make", the build fails with:

gcc -shared -Wl,-h -Wl,mod_apreq2.so -o .libs/mod_apreq2.so .libs/handle.o .libs/filter.o -R/homes/staff/lidl/hg/rmdb/notes/perl_modules/obj/libapreq2-2.12/library/.libs -R/usr/local/apache22/lib -R/usr/local/apache22/lib /homes/staff/lidl/hg/rmdb/notes/perl_modules/obj/libapreq2-2.12/library/.libs/libapreq2.so -L/usr/local/apache22/lib -L/usr/local/BerkeleyDB.4.7/lib -luuid -lsendfile -lsocket -lnsl -lpthread -ldb-4.7 /usr/local/apache22/lib/libapr-1.so /usr/local/apache22/lib/libaprutil-1.so -lc
ar cru .libs/mod_apreq2.a  handle.o filter.o
ranlib .libs/mod_apreq2.a
creating mod_apreq2.la
(cd .libs && rm -f mod_apreq2.la && ln -s ../mod_apreq2.la mod_apreq2.la)
make: Fatal error: Don't know how to make target `all-local'
Current working directory /homes/staff/lidl/hg/rmdb/notes/perl_modules/obj/libapreq2-2.12/module/apache2
*** 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='apache2'; 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 /homes/staff/lidl/hg/rmdb/notes/perl_modules/obj/libapreq2-2.12/module
*** 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='. include library module glue'; 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'

Reply via email to