Patch: ext/openssl/openssl.c

From: Date: Sun, 10 Mar 2002 14:05:23 +0000
Subject: Patch: ext/openssl/openssl.c
Groups: php.dev 
Request: Send a blank email to php-dev+get-80962@lists.php.net to get a copy of this message
In sync with the HEAD version of datetime.c openssl.c needs a similar patch, as attached. It then does compile, make and make install, but doesn't work as an apache module. It creates 3 SIGSEVs and then exits with a 0200 code. gdb isn't able to bt, under run -X. Removing openssl from the modules, works, but then curl fails and there's no with-openssl-dir in ext/curl/config.m4. Further more: apache_1.3.23/src/Makefile needs a small adjustment, as below. With that adjustment, I've now been able to compile: './configure' '--prefix=/usr/local/php' '--with-apache=../apache_1.3.23' '--enable-debug' '--without-pear' '--enable-magic-quotes' '--disable-short-tags' '--enable-trans-sid' '--enable-session' '--disable-xml' '--with-pgsql=/usr' '--with-bz2' '--with-gdbm' '--enable-ftp' apache_1.3.23/src/Makefile.patch: --- Makefile.dist Sun Mar 10 13:54:37 2002 +++ Makefile Sun Mar 10 14:00:28 2002 @@ -109,7 +109,7 @@ lib$(TARGET).$(SHLIB_SUFFIX_NAME): subdirs modules.o $(CC) -c $(INCLUDES) $(CFLAGS) buildmark.c - $(LD_SHLIB) $(LDFLAGS_SHLIB) -o lib$(TARGET).$(SHLIB_SUFFIX_NAME) buildmark.o $(OBJS) $(REGLIB) $(EXPATLIB) $(LD_SHCORE_DEF) $(LD_SHCORE_LIBS) + $(LD_SHLIB) $(LDFLAGS_SHLIB) -o lib$(TARGET).$(SHLIB_SUFFIX_NAME) buildmark.o $(OBJS) $(REGLIB) $(EXPATLIB) $(LD_SHCORE_DEF) $(LD_SHCORE_LIBS) $(LIBS) @if [ ".$(SHLIB_SUFFIX_LIST)" != . ]; then \ rm -f lib$(TARGET).$(SHLIB_SUFFIX_NAME).*; \ for suffix in $(SHLIB_SUFFIX_LIST) ""; do \ Met vriendelijke groeten / With kind regards, IDG.nl Melvyn Sopacua Webmaster

Attachment: [application/octet-stream] openssl.patch
« previous php.dev (#80962) next »