You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Tony Karakashian <tk...@gmail.com> on 2005/06/21 20:27:18 UTC

[users@httpd] Compiling Apache2 with Cygwin

For the last couple of days, I've been trying to get Apache 2.0.54 to
compile in a Cygwin environment.  Depending various config options, I
receive various levels of success.  The configure line I'm using is:

./configure --enable-module=so --prefix=/usr
--enable-mods-shared="access actions alias asis auth auth_anon
auth_dbm auth_digest auth_ldap autoindex cache cern_meta cgi cgid
charset_lite dav dav_fs deflate dir disk_cache dumpio echo env example
expires ext_filter file_cache headers imap include info ldap
log_config log_forensic logio mime mime_magic negotiation proxy
proxy_connect proxy_ftp proxy_http rewrite setenvif speling ssl status
unique_id userdir usertrack vhost_alias"

(Before I'm asked...I do use a fair number of those modules, mostly
for testing, some for "production".  Since they're dynamic I've just
learned it's easier to install 'em all at first and not worry about it
later.)

If I run it as is, it fails trying to compile util_ldap.  The error is
"apr-util is necessary to compile util_ldap".  I installed the latest
apr and apr-util from the Apache site, but still get the error.

If I specify --with-apr=/usr/bin/apr-config
--with-apr-util=/usr/bin/apr-config, mod_ldap fails to compile with
undeclared references to _apr_sha1_something and _apr_md5_decode.  In
other words, it's not finding apr_sha1.h or apr_md5.h (both are
located in /usr/include).

If I specify --with-apr=/usr & --with-apr-util=/usr, it compiles, but
the modules are not compiled properly.  I get mod_*.la & mod_*.a
files, rather than .so files and I can't load them.  When running make
install, I see "Warning!  dlname not found in
/usr/modules/mod_actions.la.  Assuming installing a .so rather than a
libtool archive." for every module.

Any ideas?

Thanks,
-T

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org