php is not that easy.
I have a 17MB .libs/libphp4.a and a lot of import libs which fail do link to the dll so far. (via mkdll.sh from stipe)
I suspect it's a missing shared lib for mysqlclient
But the good point is that I was able to configure for a lot more modules.
./configure --localstatedir=/var -sysconfdir=/etc --mandir=/usr/share/man --prefix=/usr --with-mysql=/usr/local/mysql --with-pgsql --with-apxs=/usr/sbin/apxs --enable-track-vars --with-calendar --with-gd --enable-cli --with-openssl --with-mhash --with-jpeg-dir=/usr/lib --with-zlib-dir=/usr/lib --enable-gd-native-ttf --enable-mbstring --with-iconv --with-gettext --enable-dba --with-pgsql --with-xmlrpc --enable-memory-limit --enable-zend-multibyte --with-mcrypt --with-dom --with-gdbm --without-db4 --with-inifile --with-flatfile --with-curl --with-zlib --with-xml --with-bz2
stipe's module just had the default ones. --with-db4 fails for yet unknown reasons. --with-xdebug will be seperate.
Reini Urban schrieb:
Hi Brian, Any progress with apache?
I'm also unhappy about the apache-php solution and needed some debugging support. So I started. The php4-3.9RC2 build was straight with MSVC. They improved packaging a lot now, which makes me happy. I'll do the cygwin build later.
apache:
I've redone most of tolje step's without EAPI and without mod_ssl to keep the patch clean, and avoid the rebase issues.
It builds OOTB mostly, just the cyg prefix for the dll is an issue.
my gbs and patch is at http://xarch.tu-graz.ac.at/home/rurban/software/cygwin/apache/ I'll put the other gbs and patches there also when they work.
unsolved problems:
* mod_auth_dbm fails to build
I vaguely remember any dirty hacks on linux with the find-dbm helper. I have most berkeley db's and gdbm installed, but it refuses to build, which sense from a quick glance, because it tries to #include <ndbm.h> and not the found dbm lib include file (here <gdbm.h>.
* mod_digest fails to load (probably a dependent dll not found)
otherwise it builds and runs just fine.
signals: after adding the server-status resp. server-info directive an apachectl graceful was not enough, restart was needed.
Apache Server Status for localhost Server Version: Apache/1.3.29 (Cygwin) Server Built: Feb 9 2004 19:14:10 Current Time: Thursday, 09-Sep-2004 16:32:47 GMT Restart Time: Thursday, 09-Sep-2004 16:32:46 GMT Parent Server Generation: 2 Server uptime: 1 second 4 requests currently being processed, 0 idle servers
WSSS............................................................ ................................................................ ................................................................ ................................................................
Scoreboard Key:
"_" Waiting for Connection, "S" Starting up, "R" Reading Request,
"W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup,
"L" Logging, "G" Gracefully finishing, "." Open slot with no current process
PID Key:
2012 in state: W , 1896 in state: S , 2116 in state: S 0 in state: S ,
To obtain a full report with current status information you need to use the ExtendedStatus On directive.
Apache/1.3.29 Server at localhost Port 8080
oops. this was the previous one. this is the info for new one:
Server Version: Apache/1.3.31 (Cygwin) Server Built: Sep 9 2004 17:10:25 API Version: 19990320:16
Apache Server Status for localhost Server Version: Apache/1.3.31 (Cygwin) Server Built: Sep 9 2004 17:10:25 Current Time: Thursday, 09-Sep-2004 19:14:42 GMT Restart Time: Thursday, 09-Sep-2004 17:28:00 GMT Parent Server Generation: 0 Server uptime: 1 hour 46 minutes 42 seconds 1 requests currently being processed, 5 idle servers
Apache Server Information
Server Settings, mod_setenvif.c, mod_so.c, mod_unique_id.c, mod_usertrack.c, mod_headers.c, mod_expires.c, mod_cern_meta.c, mod_proxy.c, mod_auth_anon.c, mod_auth.c, mod_access.c, mod_rewrite.c, mod_alias.c, mod_userdir.c, mod_speling.c, mod_actions.c, mod_imap.c, mod_asis.c, mod_cgi.c, mod_dir.c, mod_autoindex.c, mod_include.c, mod_info.c, mod_status.c, mod_negotiation.c, mod_mime.c, mod_mime_magic.c, mod_log_config.c, mod_env.c, mod_vhost_alias.c, http_core.cServer Version: Apache/1.3.29 (Cygwin)
Server Built: Feb 9 2004 19:14:10
API Version: 19990320:16
Run Mode: standalone
User/Group: #-1(-1)/-1
Hostname/port: localhost:8080
Daemons: start: 5 min idle: 5 max idle: 10 max: 150
Max Requests: per child: 0 keep alive: on max per connection: 100
Threads: per child: 0
Excess requests: per child: 0
Timeouts: connection: 300 keep-alive: 15
Server Root: /usr
Config File: /etc/apache/httpd.conf
PID File: /var/run/httpd.pid
Scoreboard File: /var/run/httpd.scoreboard
...
-- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/