I've been googling the net and search list archives for information on getting mod_perl working under cygwin.
I'm using the latest cygwin (installed yesterday) w/o apache. Then I got apache 1.3.27 and mod_perl 1.28 sources and set to build them. I'm running this under XP Home. I've managed to get a static version built and running under cygwin with no problem. However when I attempt to enable the so module it all bombs out. The bottom of this message will includes how I successfully got this built and how it failed, as well as excerpt from the errors in the build log. I've found two or three messages that were helpful when I was attempting to build the shared version -- but the most recent helpful information seems to have been from June 2002. Is there more recent information? Is a static http the only way to get mod perl working under cygwin? Any assistance getting the shared version built is greatly appreciated. Thanks, Greg STATIC BUILD -- THIS WORKED:: cd /home/Greg/apache/mod_ssl-2.8.14-1.3.27 ./configure --with-apache=../apache_1.3.27 cd ../mod_perl-1.28 perl Makefile.PL \ USE_APACI=1 \ DO_HTTPD=1 \ EVERYTHING=1 \ SSL_BASE=/usr \ APACHE_PREFIX=/opt/apache \ APACI_ARGS='--prefix=/opt/apache --runtimedir=/opt/apache/run \ --with-port=80 --server-uid=Greg --server-gid=None \ --with-perl=/usr/bin/perl --enable-module=auth_db \ --enable-module=digest --enable-module=expires \ --enable-module=usertrack --enable-module=rewrite \ --enable-module=unique_id --enable-module=vhost_alias \ --enable-module=expires --enable-module=info \ --enable-module=ssl' make SHARED BUILD -- THIS DOES NOT WORK:: cd /home/Greg/apache/mod_ssl-2.8.14-1.3.27 ./configure --with-apache=../apache_1.3.27 cd ../mod_perl-1.28 perl Makefile.PL \ USE_APACI=1 \ DO_HTTPD=1 \ EVERYTHING=1 \ SSL_BASE=/usr \ APACHE_PREFIX=/opt/apache \ APACI_ARGS='--prefix=/opt/apache --runtimedir=/opt/apache/run \ --with-port=80 --server-uid=Greg --server-gid=None \ --with-perl=/usr/bin/perl --enable-module=auth_db \ --enable-module=digest --enable-module=expires \ --enable-module=usertrack --enable-module=rewrite \ --enable-module=unique_id --enable-module=vhost_alias \ --enable-module=expires --enable-module=info \ --enable-module=ssl --enable-module=so' make When compiling the shared version, it works fine until it gets to the following point (errors included): <=== src/modules env LD_RUN_PATH=/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE gcc -c -I. -I/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE -I./os/cygwin -I./include -DCYGWIN -DNO_DBM_REWRITEMAP -DMOD_SSL=208114 -DMOD_PERL -DUSE_PERL_SSI -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -DUSE_HSREGEX -DEAPI -DSHARED_CORE -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing `./apaci` modules.c env LD_RUN_PATH=/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE gcc -c -I. -I/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE -I./os/cygwin -I./include -DCYGWIN -DNO_DBM_REWRITEMAP -DMOD_SSL=208114 -DMOD_PERL -DUSE_PERL_SSI -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -DUSE_HSREGEX -DEAPI -DSHARED_CORE -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing `./apaci` buildmark.c dllwrap --export-all -o libhttpd.dll buildmark.o modules.o modules/standard/libstandard.a modules/ssl/libssl.a modules/perl/libperl.a main/libmain.a ./os/cygwin /libos.a ap/libap.a regex/libregex.a -lcrypt -lgdbm dllwrap: no export definition file provided. Creating one, but that may not be what you want modules/standard/libstandard.a(mod_include.o)(.text+0xb4):mod_include.c: undefined reference to `__imp__ap_ht_time' modules/standard/libstandard.a(mod_include.o)(.text+0xcf):mod_include.c: undefined reference to `__imp__ap_table_setn' modules/standard/libstandard.a(mod_include.o)(.text+0xf4):mod_include.c: undefined reference to `__imp__ap_ht_time' modules/standard/libstandard.a(mod_include.o)(.text+0x10f):mod_include.c: undefined reference to `__imp__ap_table_setn' modules/standard/libstandard.a(mod_include.o)(.text+0x13a):mod_include.c: undefined reference to `__imp__ap_ht_time' modules/standard/libstandard.a(mod_include.o)(.text+0x155):mod_include.c: undefined reference to `__imp__ap_table_setn' modules/standard/libstandard.a(mod_include.o)(.text+0x177):mod_include.c: undefined reference to `__imp__ap_table_setn' There are 11,616 lines like the undefined reference total, from the following files: Apache.o Connection.o Constants.o File.o Log.o ModuleConfig.o Server.o Table.o URI.o Util.o mod_auth_db.o mod_include.o mod_perl.o mod_perl_opmask.o perl_config.o perl_util.o perlio.o perlxsi.o ssl_engine_dh.o ssl_engine_ext.o ssl_engine_init.o ssl_engine_io.o ssl_engine_kernel.o ssl_engine_log.o ssl_engine_pphrase.o ssl_engine_rand.o ssl_engine_vars.o ssl_scache_dbm.o ssl_scache_shmcb.o ssl_scache_shmht.o ssl_util.o ssl_util_ssl.o