----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
On Wed, Oct 20, 1999 at 02:32:54PM -0700, jon * wrote:
> my testing/development environment for Apache JServ is the same as your
> environment. it works just fine. something is screwed up with your configure
> settings.
You know, I understand when you dismiss people who ask questions answered in
the docs, or don't give any useful information, but it gets a little annoying
to be dismissed when you provide a detailed bug report. Fortunately I had
time to look into the problem further and have isolated the actual problems in
the code.
There were two different problems in the code causing me grief:
In the configure script, it will definitely prefer Java 1.1 over Java 1.2 if
both are installed under the same tree. This should be fixed. The fix is
extremely simple:
*** configure.orig Fri Oct 8 17:37:38 1999
--- configure Thu Oct 21 16:29:28 1999
***************
*** 3437,3443 ****
/opt \
/
do
! for JAVA_PLATFORM in 1 2 3 ;
do
for subversion in .9 .8 .7 .6 .5 .4 .3 .2 .1 "" ;
--- 3437,3443 ----
/opt \
/
do
! for JAVA_PLATFORM in 3 2 1 ;
do
for subversion in .9 .8 .7 .6 .5 .4 .3 .2 .1 "" ;
The second problem is actually the one that Jean-Luc pointed out. The
"save-install.sh" script in the conf subdirectory which is used to install the
config files does not pay attention to the "install" command that configure
selects and instead just tries to run whatever install executable is in your
path. This fails miserably on Solaris if it ends up running /usr/sbin/install
since it needs a BSD-compatible version of install. That script needs to be
fixed to run the same install command that configure selects.
I suspect that there is still another bug lurking in configure that comes up
with the wrong JAVA_PLATFORM when you manually specify JDK_HOME, but I don't
really have the incentive to track that one down since the above patch allows
configure to find the right JDK and platform itself.
Hope this helps!
--
Steve "Pheran" Snodgrass * [EMAIL PROTECTED] * FORE Systems Unix Administrator
Geek Code: GCS d? s: a- C++ US++++$ P+++ L+ w PS+ 5++ b++ DI+ D++ e++ r++ y+*
"What to do I find it hard to know/The road I walk is not the one I chose" -Yes
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]