www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Leffler <jleff...@informix.com>
Subject config/3661: 'make install' ignores the --prefix dir specified during configuration
Date Wed, 13 Jan 1999 20:23:05 GMT

>Number:         3661
>Category:       config
>Synopsis:       'make install' ignores the --prefix dir specified during configuration
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Jan 13 12:30:01 PST 1999
>Last-Modified:
>Originator:     jleffler@informix.com
>Organization:
apache
>Release:        1.3.4
>Environment:
$ uname -a
SunOS osiris 5.6 Generic_105181-05 sun4m sparc SUNW,SPARCstation-20

Using GCC 2.8.1, Apache 1.3.4, Apache-JServ 1.0b2.
Java 1.1.6_4, JSDK 2.0.
>Description:

I configured Apache 1.3.4 using the command:
 ./configure --prefix=/work4/jserver
I then configured Apache-JServ 1.0b2 using the command(s):
+ export CLASSPATH=/work4/Apache-Java/java/src:/work4/Apache-Java/java:/usr/java/src/java:/usr/java/src
+ ./configure --with-apache-src=/work4/Apache-Java/apache_1.3.4 --enable-apache-conf --with-jdk-home=/usr/java
--enable-debugging --with-jsdk=/work4/Apac
he-Java/JSDK2.0

I then built Apache-JServ successfully - no complaints.
When I ran the optional 'make install' process, I got the errors:

...tail od successful make of JServ...
adding: org/apache/jserv/JServServletManager.class (in=15282) (out=15282) (stored 0%)
adding: org/apache/jserv/JServSession.class (in=3921) (out=3921) (stored 0%)
adding: org/apache/jserv/JServUtils.class (in=4465) (out=4465) (stored 0%)
Making all in docs
Making all in example
CLASSPATH=/work4/Apache-Java/JSDK2.0/lib/jsdk.jar:$CLASSPATH /usr/java/bin/javac Hello.java
$ make install
Making install in src
Making install in c
/bin/sh ../../src/scripts/build/unix/mkinstalldirs /usr/local/jserv/lib
mkdir /usr/local/jserv
mkdir: Failed to make directory "/usr/local/jserv"; Read-only file system
mkdir /usr/local/jserv/lib
mkdir: Failed to make directory "/usr/local/jserv/lib"; No such file or directory
*** Error code 2
make: Fatal error: Command failed for target `install-libLTLIBRARIES'
Current working directory /work4/Apache-Java/Apache-JServ-1.0b2/src/c
*** Error code 1
make: Fatal error: Command failed for target `install-recursive'
Current working directory /work4/Apache-Java/Apache-JServ-1.0b2/src
*** Error code 1
make: Fatal error: Command failed for target `install-recursive'
$ cd ../apache_1.3.4
$ make
...successful build and install of Apache 1.3.4...

As you can see, the install phase seems to be putting the Java code into
/usr/local/jserv, but I specified --prefix=/work4/jserver so that's where
the code should go, isn't it?

This is a non-critical problem in that the example works -- I believe it
pulls the necessary Java code from the build area.  But it isn't all that
tidy (but beta programs are for tidying up, aren't they).  I seem to remember
having the problem with the 1.0b1 build too, but I've not verified that it
happens in both.  When I built 1.0b1, I was using Apache 1.3.3.

>How-To-Repeat:

>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]




Mime
View raw message