These are the steps I take to build it

rm -rf php
cvs co php4
cd php4
cvs co Zend TSRM
cd ..
./buildconf
./configure \
--with-apxs2=/usr/local/apache2/bin/apxs --enable-safe-mode \
--with-openssl=/usr/src/openssl-0.9.6c/ --enable-magic-quotes --with-zlib \
--with-bz2 --enable-calendar --enable-gd-native-ttf --with-ttf \
--with-imap=/usr/src/imap-2001a.RELEASE-CANDIDATE.4/ --with-mysql=no \
--with-imap-ssl --enable-mailparse --with-pgsql --enable-trans-sid \
--enable-shmop --with-snmp=shared --enable-ucd-snmp-hack --enable-sysvsem \
--enable-sysvshm --enable-memory-limit \
--with-freetype-dir=/usr/local/include/freetype1/ --with-jpeg-dir=shared \
--with-png-dir=shared --with-xpm-dir=shared --with-gd-dir=shared \
--with-gd \
LIBS="-ljpeg -lpng" \
LDFLAGS="-L/usr/X11R6/lib -L/usr/local/lib -L/usr/local/ssl/lib" \
CFLAGS="$CFLAGS -pipe -g -I/usr/local/include" CPPFLAGS="$CFLAGS"
make -j2 LDFLAGS="-L/usr/local/ssl/lib"

David

Justin Erenkrantz wrote:

>On Fri, Feb 01, 2002 at 01:28:50PM -0500, David Ford wrote:
>
>>I can build php fine (did you do the php/Zend and php/TSRM 
>>checkout/update?), I just haven't had much luck in the past two weeks 
>>getting apache to startup with php installed.  Nuttin' but segfaults Jim.
>>
>
>Yeah, I have those dirs.  You can run buildconf and configure and
>it produces all of the relevant Makefiles?  Odd, because it isn't
>doing that here.  -- justin
>


Reply via email to