Running "sudo port upgrade apr" fixed the problem. However, after copying httpd.conf.sample to httpd.conf, I get the following error on startup: httpd: Syntax error on line 97 of /opt/local/apache2/conf/httpd.conf: Cannot load /opt/local/apache2/modules/mod_ssl.so into server: dlopen(/opt/local/apache2/modules/mod_ssl.so, 10): Symbol not found: _ssl_cmd_SSLCACertificateFile\n Referenced from: /opt/local/apache2/modules/mod_ssl.so\n Expected in: flat namespace\n Commenting out line 97 fixes the problem: #LoadModule ssl_module modules/mod_ssl.so However, I want to use SSL on this server. Any idea how to fix? Thanks, Matt On Tue, Apr 1, 2008 at 10:09 AM, Ryan Schmidt <ryandesign@macports.org> wrote:
On Apr 1, 2008, at 10:37, Matt Raible wrote:
When I try to install Apache 2 on Leopard, I get the following error. Any ideas?
[snip]
libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag'
Aw, heck. That issue was supposed to have been taken care of by now. :)
Check these bugs:
http://trac.macosforge.org/projects/macports/query?summary=%7Einfer
Specifically this one:
http://trac.macosforge.org/projects/macports/ticket/13653
According to that, the problem was supposed to have been resolved by incrementing apr's revision so that it's forced to rebuild following the update to MacPorts 1.6.0. Do you have MacPorts 1.6.0 (or later) and are your ports current? Please try "sudo port selfupdate" and then use "port outdated" to see if any ports are outdated, and if so, "sudo port upgrade" them. Then try installing apache2 again. If it still fails, "sudo port clean --work apache2" again, then rebuild apr with "sudo port -ncuf upgrade apr" and then try installing apache2 again. Please let us know your results.