httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <joe+gm...@sunstarsys.com>
Subject Re: libapreq2-2.02-dev build problems with Perl 5.6.1
Date Wed, 25 Feb 2004 04:24:43 GMT
"Edward J. Sabol" <sabol@alderaan.gsfc.nasa.gov> writes:

[...]

> I strongly suggest updating the minimum version requirement 

After some googling around, I don't think upping the libtool 
version is appropriate here.  AM_PROG_LIBTOOL has been around for a
while, but we may be better off if we use AC_PROG_LIBTOOL instead.

> for libtool and maybe fixing the acinclude.m4 warnings listed above
> (if possible).
> 
> Next, I patched Makefile.PL to use ExtUtils::MM instead of $Config{perlpath}.
> I posted this patch on December 11th, but it was never applied to the CVS
> repository. I need this patch or it won't use the correct version of Perl.
> 
> After that, I typed "perl5.6.1 Makefile.PL
> --with-apache2-apxs=/usr/wwwserver/apache/bin/apxs". This seemed to work
> well.
> 
> Then, I typed "make". This proceeded to do a seemingly redundant "recheck",
> duplicating much of what configure did. It died with the following error:
> 
> /bin/sh ./config.status --recheck
> running /bin/sh ./configure  --enable-perl-glue
> --with-perl=/usr1/local/bin/perl5.6.1
> --with-apache2-apxs=/usr/wwwserver/apache/bin/apxs  --no-create
> --no-recursion 
> checking for [...]
> [...]
>  cd  && /bin/sh ./config.status Makefile 
> ./config.status: ./config.status: No such file or directory
> make: *** [Makefile] Error 127
> 
> I suspect $(top_builddir) isn't getting set in the "recheck", but I haven't
> looked at the Makefile that closely.

OK.  See if the following patch to acinclude.m4 helps any:

DSA host key for IP address '209.237.227.194' not in list of known hosts.
Index: acinclude.m4
===================================================================
RCS file: /home/cvs/httpd-apreq-2/acinclude.m4,v
retrieving revision 1.15
diff -u -r1.15 acinclude.m4
--- acinclude.m4	7 Nov 2003 20:40:49 -0000	1.15
+++ acinclude.m4	25 Feb 2004 04:07:31 -0000
@@ -1,4 +1,4 @@
-AC_DEFUN(AC_APREQ, [
+AC_DEFUN([AC_APREQ], [
 
         AC_ARG_ENABLE(perl_glue,
                 AC_HELP_STRING([--enable-perl-glue],[build perl modules Apache::Request and
Apache::Cookie]),
@@ -103,9 +103,9 @@
           USE_VPATH=1
         fi
 
-        AC_SUBST(top_builddir)
-        AC_SUBST(abs_srcdir)
-        AC_SUBST(abs_builddir)
+        dnl AC_SUBST(top_builddir)
+        dnl AC_SUBST(abs_srcdir)
+        dnl AC_SUBST(abs_builddir)
 
         get_version="$abs_srcdir/build/get-version.sh"
         version_hdr="$abs_srcdir/src/apreq_version.h"
@@ -147,7 +147,7 @@
         AC_SUBST(PERL)
 ])
 
-AC_DEFUN(APR_ADDTO,[
+AC_DEFUN([APR_ADDTO],[
   if test "x$$1" = "x"; then
     echo "  setting $1 to \"$2\""
     $1="$2"


-- 
Joe Schaefer


Mime
View raw message