|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16519 makefile error
Submitted: 2002-04-09 16:51 UTC Modified: 2002-08-21 01:00 UTC
From: flim at flim dot de Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 4.1.2 OS: linux redhat 7.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: flim at flim dot de
New email:
PHP Version: OS:


 [2002-04-09 16:51 UTC] flim at flim dot de
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



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-12 18:18 UTC]
I can not reproduce this with PHP 4.2.0RC3 or latest CVS.
Please try them: (for the RC3) (snapshots)


 [2002-04-13 18:04 UTC] flim at flim dot de
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/"' -c java.c && touch java.slo
/opt/src/php-4_2_0RC3/build/shtool mkdir -p net/php
javac net/php/
/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 \
Checking showed the same as before:
in ext/java is a subdirectory structure:
where it should only be
the additional directories are created by the makefile in ext/java, or better by the line
javac net/php/
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,
 [2002-04-13 23:21 UTC]
I installed the same j2sdk you have, and configured with
this configure line:

# ./configure --with-java=/usr/java/j2sdk1.4.0/ 
# make 

and it worked just fine. (both latest CVS and RC3)

Please try with the same configure line I have (and clean sources)

 [2002-08-21 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Dec 08 00:01:30 2023 UTC