Re: **** Access denied: Insufficient Karma (lyric|phpweb/include)

From: Date: Wed, 17 Jan 2001 22:31:07 +0000
Subject: Re: **** Access denied: Insufficient Karma (lyric|phpweb/include)
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-44422@lists.php.net to get a copy of this message
I'm having the same problem and so is Bill Stoddard. Our id's are akilov and stoddard respectively. Did we all get bounced for insufficient activity of late? Here's the change I was trying to commit: Index: ext/java/config.m4 =================================================================== RCS file: /repository/php4/ext/java/config.m4,v retrieving revision 1.21 diff -u -r1.21 config.m4 --- ext/java/config.m4 2000/12/19 00:14:57 1.21 +++ ext/java/config.m4 2001/01/17 22:23:04 @@ -10,6 +10,12 @@ if test "$withval" != "no"; then JAVA_SHARED="libphp_java.la" + pltform=uname -s 2>/dev/null + java_libext="libjava.so" + case "$pltform" in + AIX) java_libext="libjava.a" ;; + HP-UX) java_libext="libjava.sl" ;; + esac # substitute zip for systems which don't have jar in the PATH if JAVA_JAR=which jar 2>/dev/null; then JAVA_JAR="$JAVA_JAR cf" @@ -29,6 +35,7 @@ JAVA_INCLUDE=-I$withval/include/kaffe JAVA_CLASSPATH=$withval/share/kaffe/Klasses.jar JAVA_LIB=kaffevm + java_libext=kaffevm test -f $withval/lib/$JAVA_LIB && JAVA_LIBPATH=$withval/lib test -f $withval/lib/kaffe/$JAVA_LIB && JAVA_LIBPATH=$withval/lib/kaffe @@ -38,7 +45,7 @@ JAVA_JAR='zip -q0' fi - elif test -f $withval/lib/libjava.so; then + elif test -f $withval/lib/$java_libext; then JAVA_LIB=java JAVA_LIBPATH=$withval/lib JAVA_INCLUDE="-I$withval/include" @@ -63,10 +70,12 @@ test -f $i/classes.zip && JAVA_CLASSPATH="$i/classes.zip" test -f $i/rt.jar && JAVA_CLASSPATH="$i/rt.jar" - if test -f $i/libjava.so; then + if test -f $i/$java_libext; then JAVA_LIB=java JAVA_LIBPATH=$i + test -d $i/hotspot && AC_ADD_LIBPATH($i/hotspot) test -d $i/classic && AC_ADD_LIBPATH($i/classic) + test -d $i/server && AC_ADD_LIBPATH($i/server) test -d $i/native_threads && AC_ADD_LIBPATH($i/native_threads) fi done @@ -81,7 +90,7 @@ AC_DEFINE(HAVE_JAVA,1,[ ]) AC_ADD_LIBPATH($JAVA_LIBPATH) - JAVA_CFLAGS="$JAVA_CFLAGS '-DJAVALIB=\"$JAVA_LIBPATH/lib$JAVA_LIB.so\"'" + JAVA_CFLAGS="$JAVA_CFLAGS '-DJAVALIB=\"$JAVA_LIBPATH/$java_libext\"'" if test "$PHP_SAPI" != "servlet"; then PHP_EXTENSION(java, shared) Alex

« previous php.dev (#44422) next »