Forum OpenACS Q&A: Response to make error in nsjava

Collapse
Posted by Gilbert Wong on
Here's the output:
bitstc /home/aol30/sources/nsjava-0.0.9: ./configure --with-aolserver-src=/home/aol30/sources/aolserver_src/aolserver --prefix=/home/aol30
creating cache ./config.cache
checking prefix... /home/aol30
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking looking for aolserver ns.h include file... /home/aol30/sources/aolserver_src/aolserver/include/ns.h
checking looking for aolserver nsd.h include file... /home/aol30/sources/aolserver_src/aolserver/nsd/nsd.h
checking for javac... /opt/java/bin/javac
checking checking for java... Java found at /opt/java
checking for zip or jar files to include on CLASSPATH... "/opt/java/lib/classes.zip"
checking for the java runtime... /opt/java/bin/java
checking for the java compiler... /opt/java/bin/javac
checking for the java header program... /opt/java/bin/javah
checking for the java archive program... /opt/java/bin/jar
checking for the java debugger program... /opt/java/bin/jdb
checking for jni.h include file... /opt/java/include/jni.h.
checking for jdk version... Looks like you are using a 1.1 JVM
checking for jni_md.h include file... /opt/java/include/hp-ux/jni_md.h
checking the jdk arch lib directory... checking how to run the C preprocessor... gcc -E
checking for unistd.h... yes
checking for working const... yes
checking for ANSI C header files... yes
checking for size_t... yes
checking for ANSI C header files... (cached) yes
checking for strerror... yes
checking for strstr... yes
checking for strlen... yes
checking platform specific compile options... hp11

        NSJAVA version 0.0.9 configured successfully.

Using c-compiler:      gcc
JDK Version:           1.1
Install libnsjava.so:  /home/aol30/bin
Aolserver Version:     3_0_PLUS
Aolserver include:     /home/aol30/sources/aolserver_src/aolserver/include
Aolserver nsd include: /home/aol30/sources/aolserver_src/aolserver/nsd
jdk include:           /opt/java/include
jdk platform include:  /opt/java/include/hp-ux
libjava.so dir:        /opt/java/lib/PA_RISC/native_threads
java classpath:        "/opt/java/lib/classes.zip"

CFLAGS: ' -D__hp11 -pipe -fPIC -Wall -Wno-unused -DUSE_DLSHL=1'

LIBS:   ' -lpthread  -lpthread -L/opt/java/lib -ljava'

updating cache ./config.cache
creating ./config.status
creating Makefile.global
The -L option gets set to /opt/java/lib every time I run configure even though I set the LD_LIBRARY_PATH variable. I have to hack the makefile to change it. Thanks.