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 2012/03/12 19:19:08 UTC

DO NOT REPLY [Bug 52890] New: --with-included-apr doesn't work when srclib/apr and srclib/apr-util are symlinks

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

             Bug #: 52890
           Summary: --with-included-apr doesn't work when srclib/apr and
                    srclib/apr-util are symlinks
           Product: Apache httpd-2
           Version: 2.4.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: yann@droneaud.fr
    Classification: Unclassified


Created attachment 28452
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28452
Full log of ./configure --with-included-apr

I have downloaded httpd-2.4.1, apr-1.4.6 and apr-1.4.1 sources packages.
Then I have unpacked them in the same directory:

  apr-1.4.6/
  apr-util-1.4.1/
  httpd-2.4.1/

Then, in httpd-2.4.1/srclib, I have created symlinks:

  apr -> ../../apr-1.4.6
  apr-util -> ../../apr-util-1.4.1

Running ./configure --with-included-apr is working up to apr-util configuration
step.
It fails with:

checking for APR... configure: error: the --with-apr parameter is incorrect. It
must specify an install prefix, a build directory, or an apr-config file.
configure failed for srclib/apr-util

-- 
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


[Bug 52890] --with-included-apr doesn't work when srclib/apr and srclib/apr-util are symlinks

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

--- Comment #5 from Carl Furst <ca...@mlb.com> ---
You should also specify that the apr "bundle" should be extracted into
srclib/apr. There is nothing, as least as far as I read that indicate this in
the docs. I had to find out by reading this in configure:

if test "x$with_included_apr" = "xyes"; then
  apr_found=reconfig
  if test ! -d srclib/apr && test ! -d $srcdir/srclib/apr; then
    as_fn_error $? "Bundled APR requested but not found at ./srclib/. Download
and unpack the corresponding apr and apr-util packages to ./srclib/." "$LINENO"
5
  fi


Not exactly correct.

-- 
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 52890] --with-included-apr doesn't work when srclib/apr and srclib/apr-util are symlinks

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

--- Comment #4 from Yann Droneaud <ya...@droneaud.fr> 2012-03-12 18:24:01 UTC ---
Copying the apr and apr-util sources instead of symlinking them works better.

If this problem is not fixed in the build system, a little warning should be
added in httpd-2.4.1/INSTALL.

-- 
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


[Bug 52890] --with-included-apr doesn't work when srclib/apr and srclib/apr-util are symlinks

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

inviteman3@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #6 from inviteman3@gmail.com ---
You need to rename your apr-1.4.6 to apr and possibly your apr-util-1.4.1 to
apr-util. This is because apr-util looks back to ../apr somewhere, but it
doesn't exist in your case. Then recreate the symlinks.

-- 
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 52890] --with-included-apr doesn't work when srclib/apr and srclib/apr-util are symlinks

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

--- Comment #1 from Yann Droneaud <ya...@droneaud.fr> 2012-03-12 18:21:50 UTC ---
Created attachment 28453
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28453
httpd-2.4.1/config.log

-- 
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 52890] --with-included-apr doesn't work when srclib/apr and srclib/apr-util are symlinks

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

--- Comment #3 from Yann Droneaud <ya...@droneaud.fr> 2012-03-12 18:22:34 UTC ---
Created attachment 28455
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28455
httpd-2.4.1/srclib/apr-util/config.log

-- 
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 52890] --with-included-apr doesn't work when srclib/apr and srclib/apr-util are symlinks

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

--- Comment #2 from Yann Droneaud <ya...@droneaud.fr> 2012-03-12 18:22:15 UTC ---
Created attachment 28454
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28454
httpd-2.4.1/srclib/apr/config.log

-- 
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