Hi,

we have installed PHP under Solaris with Apache 2, Oci8, XSLT (with JS
multithreaded) etc. (configure line follows further down).
However we had to repeadetly make a one line change to the "configure" file.
This identical change was made for PHP 4.2.2 and 4.2.3. (This change so far
has only been necessary under Solaris and not Linux).

The diff of the our change follows. Obviously our change is a massive hack.

Could this patch be applied to PHP or are we doing something else wrong?

diff -u configure.php configure.php.orig
--- configure.php   Tue Aug  6 16:14:20 2002
+++ configure.php.orig      Sun Jul 21 05:56:20 2002
@@ -66529,11 +66529,7 @@
 JS_GetRuntime()
 ; return 0; }
 EOF
-###verinform: redefine to include -G
-ac_link='${CC-cc} -G -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS 1>&5'
 if { (eval echo configure:66533: \"$ac_link\") 1>&5; (eval $ac_link)
2>&5; } && test -s conftest${ac_exeext}; then
-###verinform: now put it back like it was:
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS 1>&5'
   rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"
 else


Configure line:
configure:
    rm config.cache
    rm debug.log
    make clean
    ./configure --with-apxs2=/usr/local/apache2/bin/apxs \
    --with-iconv=/usr/local/lib \
    --with-gd=/usr/local \
    --with-jpeg-dir=/usr/local \
    --with-freetype-dir=/usr/local \
    --with-xpm-dir=/usr/local \
    --with-png-dir=/usr/local \
    --with-zlib \
    --enable-trans--sid \
    --enable-track-vars \
    --enable-xslt \
    --with-xslt-sablot=/usr/local/src/Sablot-0.95 \
    --with-expat-dir=/usr/local \
    --with-sablot-errors-descriptive \
    --with-zlib \
    --with-config-file-path=/etc \
    --disable-debug \
    --without-mysql \
    --with-oci8=/usr/local/oracle/ora32bit \
    --with-sablot-js=/usr/local \
    --with-tsrm-pthreads \
    --enable-sigchild

PS: Credit for this goes to Dan Damon.

thank you very much,
Florian Clever

Software Architect
Verinform
http://www.verinform.com/


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to