You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2010/10/19 03:52:51 UTC

DO NOT REPLY [Bug 50112] New: buildconf broken in two places

https://issues.apache.org/bugzilla/show_bug.cgi?id=50112

           Summary: buildconf broken in two places
           Product: Apache httpd-2
           Version: 2.2.15
          Platform: Macintosh
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: luke@cywh.com


There are two issues.

#1)

When I attempt to do ./buildconf I get:

Copying libtool helper files ...
$_prefix/share/aclocal/libtool.m4 not found

I found this here:

https://issues.apache.org/bugzilla/show_bug.cgi?id=48776

But I was unable to find a solution. Temporarily I edited /usr/bin/glibtoolize
and changed:

aclocaldir=$_prefix/share/aclocal

to:

aclocaldir=/usr/share/aclocal

And that fixed this issue. I can confirm this on 2.2.14 through 2.2.16 (Didn't
test 2.2.17 with this issue)

#2)

After working around #1 I get this:

./buildconf failed for apr-util

(with a few possible relevant lines above this one)

I was unable to find a work around. This ONLY applies to 2.2.15 through 2.2.17.
It works fine with 2.2.14, which means this problem was introduced in 2.2.15.


As far as I can tell each version builds fine as long as you dont need to run
./buildconf. But buildconf is needed, as far as I know, when you want to
include optional extensions like mod_fcgid (these issues happen regardless if I
have that included or not).

Luke

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 50112] buildconf broken in two places

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50112

--- Comment #2 from Luke Scott <lu...@cywh.com> 2010-10-19 15:33:02 EDT ---
For #1 here is the complete output:


found apr source: srclib/apr
found apr-util source: srclib/apr-util
rebuilding srclib/apr/configure
buildconf: checking installation...
buildconf: python version 2.6.1 (ok)
buildconf: autoconf version 2.61 (ok)
buildconf: libtool version 2.2.4 (ok)
Copying libtool helper files ...
$_prefix/share/aclocal/libtool.m4 not found
./buildconf failed for apr


I tried setting LIBTOOL_M4 to /usr/share/aclocal and
/usr/share/aclocal/libtool.m4 and nothing changed (output is still the same as
above).

This is the code in /usr/bin/glibtoolize which is bundled with OS X 10.6.4:

prefix=/usr
datadir=$_prefix/share
pkgdatadir=$_prefix/share/libtool
pkgltdldir=$_prefix/share/libtool
aclocaldir=$_prefix/share/aclocal

Not sure how ./buildconf gets the value of libtool.m4, but if it's reading it
directly "$_prefix" is not being parsed.

For #2 (still manually editing glibtoolize to aclocaldir=/usr/share/aclocal):

The output is:


found apr source: srclib/apr
found apr-util source: srclib/apr-util
rebuilding srclib/apr/configure
buildconf: checking installation...
buildconf: python version 2.6.1 (ok)
buildconf: autoconf version 2.61 (ok)
buildconf: libtool version 2.2.4 (ok)
Copying libtool helper files ...
buildconf: Using libtool.m4 at /usr/share/aclocal/libtool.m4.
Creating include/arch/unix/apr_private.h.in ...
Creating configure ...
Generating 'make' outputs ...
rebuilding rpm spec file
rebuilding srclib/apr-util/configure

Looking for apr source in /Users/lukescott/Downloads/httpd-2.2.17/srclib/apr
cp: /Users/lukescott/Downloads/httpd-2.2.17/srclib/apr/build/config.guess: No
such file or directory
cp: /Users/lukescott/Downloads/httpd-2.2.17/srclib/apr/build/config.sub: No
such file or directory
./buildconf failed for apr-util


Again this isn't an issue in version 2.2.14.


The above was just tested in build 2.2.17

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 50112] buildconf broken in two places

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50112

Rainer Jung <ra...@kippdata.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|                            |All

--- Comment #1 from Rainer Jung <ra...@kippdata.de> 2010-10-19 00:22:30 EDT ---
Can you try running after setting an environment variable named LIBTOOL_M4 to
the full file name (including absolute directory path) of your libtool.m4 file?

If there are still failures, e.g. your #2 failure, please provide full
buildconf output.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org