From: <jbo...@li...> - 2006-05-09 06:23:35
|
Author: jfr...@jb... Date: 2006-05-09 02:23:31 -0400 (Tue, 09 May 2006) New Revision: 4146 Modified: labs/jbossweb/trunk/src/share/native/build/buildphp.sh Log: Use our own postgresql on Solaris. Modified: labs/jbossweb/trunk/src/share/native/build/buildphp.sh =================================================================== --- labs/jbossweb/trunk/src/share/native/build/buildphp.sh 2006-05-09 06:10:15 UTC (rev 4145) +++ labs/jbossweb/trunk/src/share/native/build/buildphp.sh 2006-05-09 06:23:31 UTC (rev 4146) @@ -21,16 +21,9 @@ case `uname -n` in dev12) # -with-libxml-dir=/usr/local but 2.6.11 needed. - ADDCONF="--disable-libxml \ - --disable-simplexml \ - --disable-soap \ + ADDCONF="--with-libxml-dir=$TOOLS/LIBXML2 \ --with-libexpat-dir=/usr/local \ - --disable-xmlreader \ - --with-xmlrpc=no \ - --disable-xmlwriter \ - --with-xsl=no \ --with-curl=no \ - --disable-dom \ --with-jpeg-dir=/usr/sfw \ --with-png-dir=/usr/sfw \ --with-freetype-dir=/usr/sfw \ @@ -41,12 +34,16 @@ --with-mysql=no \ --with-mysqli=no \ --with-pdo-mysql=no \ - --with-pgsql=no \ - --with-pdo-pgsql=no \ + --with-pgsql=shared,$TOOLS/POSTGRESQL \ + --with-pdo-pgsql=shared,$TOOLS/POSTGRESQL \ --with-pspell=no \ --with-readline=no \ --with-tidy=no \ " + # Make sure the right xml2 is used. + # the make install of php (PEAR) uses php and need libxml2. + LD_LIBRARY_PATH=$TOOLS/lib:$LD_LIBRARY_PATH + export LD_LIBRARY_PATH ;; *) ADDCONF="\ @@ -156,3 +153,4 @@ php5servlet.c ld -G -o libphp5servlet.so php5servlet.o -L $TOOLS/PHP/lib -lphp5 ) +cp ../php5servlet/libphp5servlet.so $TOOLS/PHP/lib |