|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-04-09 16:51 UTC] flim at flim dot de
Hi, line 25 of the makefile in ext/java causes a folder construction like net/php/net/php and put the compiled class in that deepest folder. This causes the compiler to stop as it cannot find the file...and if you move it manually it can't remove the folders;) this should solve it though (unless you want to train your users;=)) pushd net/php javac reflect.java popd regards, flim PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 23:00:01 2025 UTC |
Hi, compiled php-4.2.0RC3 on my local linux box with the same errors. configure runs well, but make creates the following output: Making all in java make[2]: Wechsel in das Verzeichnis Verzeichnis ?/opt/src/php-4_2_0RC3/ext/java?make[3]: Wechsel in das Verzeichnis Verzeichnis ?/opt/src/php-4_2_0RC3/ext/java?/bin/sh /opt/src/php-4_2_0RC3/libtool --silent --mode=compile gcc -I. -I/opt/src/php-4_2_0RC3/ext/java -I/opt/src/php-4_2_0RC3/main -I/opt/src/php-4_2_0RC3 -I/opt/src/php-4_2_0RC3/Zend -I/opt/src/php-4_2_0RC3/ext/mysql/libmysql -I/opt/src/php-4_2_0RC3/ext/xml/expat -I/usr/java/j2sdk1.4.0//include -I/usr/java/j2sdk1.4.0//include/linux -I/opt/src/php-4_2_0RC3/TSRM -g -O2 -prefer-pic -DJNI_12 -D_REENTRANT '-DJAVALIB="/usr/java/j2sdk1.4.0//./jre/lib/i386/libjava.so"' -c java.c && touch java.slo /opt/src/php-4_2_0RC3/build/shtool mkdir -p net/php javac net/php/reflect.java /usr/bin/jar cf php_java.jar net/php/*.class net/php/*.properties net/php/*.class: no such file or directory make[3]: *** [php_java.jar] Fehler 2 make[3]: Verlassen des Verzeichnisses Verzeichnis ?/opt/src/php-4_2_0RC3/ext/java? make[2]: *** [all-recursive] Fehler 1 make[2]: Verlassen des Verzeichnisses Verzeichnis ?/opt/src/php-4_2_0RC3/ext/java? make[1]: *** [all-recursive] Fehler 1 make[1]: Verlassen des Verzeichnisses Verzeichnis ?/opt/src/php-4_2_0RC3/ext? make: *** [all-recursive] Fehler 1 this is exactly the same as with php4.1.2. System is a standart automatically updated redhat7.2 system. Automatically means, using redhat up2date. Kernel is .31 at the moment - system is newly installed, all I changed was removing the php4.0.6 rpms, installing java from current sun rpms and trying to compile java with the following script: ./configure --with-zlib-dir\ --enable-pcntl \ --sbindir=/opt/sbin \ --bindir=/opt/bin \ --exec-prefix=/opt \ --libexecdir=/opt/libexec \ --datadir=/opt/share \ --libdir=/opt/lib \ --program-suffix=4 \ --with-gd=/usr \ --enable-sigchild \ --with-png-dir=/usr/local \ --with-mysql \ --enable-shmop\ --with-gdbm\ --with-java=/usr/java/j2sdk1.4.0/\ --enable-ftp Checking showed the same as before: in ext/java is a subdirectory structure: net/php/net/php where it should only be net/php the additional directories are created by the makefile in ext/java, or better by the line javac net/php/reflect.java which creates the reflect.class file to net/php/net/php/reflect.class instead of net/php/reflect.class... will try on snapshot version tomorrow;) good night, flim