BUG: Error Upgrading Apache2: Multiple APR errors then Apache2 .configure fails
Reported by: |
ebwebw macports@… |
Owned by: |
imajes@… |
Priority:
|
Normal
|
Milestone:
|
|
Component:
|
ports
|
Version:
|
|
Keywords:
|
apr
|
Cc:
|
|
Port:
|
apache2
|
|
|
I recently ran a "port upgrade installed" that seems to have broken my Apache2 install. I tried to upgrade Apach2 but got a bunch of build errors while configuring various components, most notably apr and apr-utils ports of various versions, after which the .configure script of the Apache2 portf failed with the following error. I'm running Macports 1.32 on a 10.4.9 PPC Powerbook with gcc version 4.0.0 20041026 (Apple Computer, Inc. build 4061).
Error below:
---> Configuring apache2
Error: Target com.apple.configure returned: configure failure: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_apache2/work/httpd-2.2.4" && ./configure --prefix=/opt/local/apache2 --with-apr=/opt/local/bin/apr-1-config --with-apr-util=/opt/local/bin/apu-1-config --libdir=/opt/local/lib --with-expat=/opt/local --with-pcre=/opt/local --mandir=/opt/local/share/man --enable-mods-shared=all --enable-ssl --with-ssl=/opt/local --enable-cache --enable-disk_cache --enable-file_cache --enable-mem_cache --enable-deflate --enable-proxy --enable-proxy-connect --enable-proxy-http --enable-proxy-ftp" returned error 1
Command output: checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... powerpc-apple-darwin8.9.0
checking host system type... powerpc-apple-darwin8.9.0
checking target system type... powerpc-apple-darwin8.9.0
Configuring Apache Portable Runtime library ...
checking for APR... yes
setting CC to "gcc"
setting CPP to "gcc -E"
setting CFLAGS to " -g -O2"
setting CPPFLAGS to " -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp"
setting LDFLAGS to " "
Configuring Apache Portable Runtime Utility library...
checking for APR-util... configure: error: the --with-apr-util parameter is incorrect. It must specify an install prefix, a build directory, or an apu-config file.
Change History (4)
Milestone: |
→ Port Bugs
|
Priority: |
Expected →
Normal
|
Summary: |
Error Upgrading Apache2: Multiple APR errors then Apache2 .configure fails →
BUG: Error Upgrading Apache2: Multiple APR errors then Apache2 .configure fails
|
Version: |
1.4.40
|
Owner: |
changed from macports-tickets@… to imajes@…
|
Keywords: |
apache2 removed
|
Port: |
apache2 added
|
Resolution: |
→ worksforme
|
Status: |
new →
closed
|
It's been a long time since this ticket was filed so maybe it's been fixed since then. Please make sure you have the latest Mac OS X (currently 10.4.11 for Tiger) by running Software Update, make sure you have the latest Xcode (currently 2.5 for Tiger) by downloading it from the Apple Developer Connection if necessary, make sure you have the latest MacPorts by running "
sudo port selfupdate
", and try again with "sudo port clean --work apache2
" followed by "sudo port install apache2
" (or "sudo port upgrade apache2
" if it's already installed). If you still have the error, please report back with your version of Mac OS X, Xcode and MacPorts.Assigning ticket to maintainer of apache2.