|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-06-17 21:21 UTC] sniper@php.net
[2002-09-09 10:29 UTC] kalowsky@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 15:00:01 2025 UTC |
Contents of /ftp/pub/linux/apache_modules/php.4.1.2.config.run:{ #!/bin/bash ./configure --with-apxs=/usr/sbin/apxs --with-mod_charset --enable-force-cgi-redirect \ --enable-discard-path --with-java --with-openssl=shared --enable-sigchild --enable-magic-quotes\ --with-zlib --enable-bcmath=shared --with-bz2 --enable-calendar=shared --with-gdbm --with-ndbm --with-db2 \ --with-db3 --enable-dbase=shared --enable-dba=shared --enable-dbx=shared --enable-exif=shared --enable-filepro=shared --enable$ --enable-gd-native-ttf --with-ttf --with-gettext --with-imap --with-iconv=shared --with-imap-ssl \ --with-ldap=shared --enable-mailparse=shared --enable-mbstring=shared --with-mysql=/usr --with-unixODBC=shared --with-pgsql=s$ --with-pspell=shared --with-qtdom=shared --with-ncurses=shared --enable-trans-sid --with-snmp=shared --enable-ucd-snmp-hack \ --enable-sockets --enable-sysvsem --enable-sysvshm --enable-yp --enable-versioning \ --with-kerberos=shared --with-shared --with-experimental-zts --enable-shared --with-interbase=shared,/opt/interbase } Contents of fixed file (ext/java/Makefile):{ # from @php.4.1.2.tar.gz >unzip>tar>/ext/java # By @Dexter of Cancer Software a.k.a. Radu - Eosif Mihailescu # Added "-d." to "javac" line below to make it build under RedHat & Kaffe # Some ppl were lame enough not to able to write a ".java.class:" line :-D # Also, the configure script forgot to add the "-L/usr/kerberos/lib" line as well ... top_srcdir = /home/ftp/pub/i386-linux/apache_modules/php-4.1.2 top_builddir = /home/ftp/pub/i386-linux/apache_modules/php-4.1.2 srcdir = /home/ftp/pub/i386-linux/apache_modules/php-4.1.2/ext/java builddir = /home/ftp/pub/i386-linux/apache_modules/php-4.1.2/ext/java VPATH = /home/ftp/pub/i386-linux/apache_modules/php-4.1.2/ext/java LTLIBRARY_SHARED_NAME = libphp_java.la LTLIBRARY_SOURCES = java.c LTLIBRARY_DEPENDENCIES = php_java.jar LTLIBRARY_LDFLAGS = $(EXTRA_LDFLAGS) $(LDFLAGS) $(PHP_RPATHS) -L/usr/kerberos/lib LTLIBRARY_SHARED_LIBADD = $(LTLIBRARY_DEPENDENCIES) $(EXTRA_LIBS) EXTRA_CFLAGS = $(JAVA_CFLAGS) EXTRA_INCLUDES = $(JAVA_INCLUDE) make_shared = yes include $(top_srcdir)/build/dynlib.mk php_java.jar : reflect.java $(mkinstalldirs) net/php @cp $(srcdir)/reflect.java net/php @echo library=php_java>net/php/reflect.properties javac -d. net/php/reflect.java # bug in author of Makefile! @test ! -f reflect.class || mv reflect.class net/php # bug in KJC javac $(JAVA_JAR) php_java.jar net/php/*.class net/php/*.properties @rm net/php/reflect.* @rmdir net/php @rmdir net } Other details:{ Using Kaffe as JavaVM } Contact:{ <rmihailescu@lumina.ro> ; ICQ: 27762040 } Regards, Dexter