From: Moses DeJong <[EMAIL PROTECTED]>
> Do you get this same error with the unix/configure.in build?
> Try that and see if the error is the same. If it is, I would
> be willing to bet that your sed program is broken in some way.
> Try replacing the Solaris sed program with gnu sed and see if
> that fixes it.

I built gnu sed and put its path before /bin in my $PATH.  I the did:
$ make distclean
$ /vol/tclsrcsol/tcl82/tcljava/configure  --prefix=/usr/tcl82 --exec-prefix=/usr
/tcl82/sun4 --with-cc=cc --with-x --x-includes=/usr/openwin/include --x-librarie
s=/usr/openwin/lib --enable-shared
creating cache ./config.cache
checking for ranlib... ranlib
checking for Cygwin environment... no
checking for object suffix... o
checking for mingw32 environment... no
checking for executable suffix... no
checking for gcc... cc
checking whether the C compiler (cc  ) works... yes
checking whether the C compiler (cc  ) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether cc accepts -g... yes
checking for a BSD compatible install... /projects/gnu/sparc-sun-solaris2.6/bin/
ginstall -c
checking whether make sets ${MAKE}... yes
configuring for both jacl and tcl blend
checking for javac... /usr/java1.2/bin/javac
Java found at /vol/java1.2
checking for zip or jar files to include on CLASSPATH... /vol/java1.2/lib/tools.
jar:/vol/java1.2/jre/lib/rt.jar
checking for the java runtime... /vol/java1.2/bin/java
checking for the java compiler... /vol/java1.2/bin/javac
checking for the java header program... /vol/java1.2/bin/javah
checking for the java archive program... /vol/java1.2/bin/jar
checking for the java debugger program... /vol/java1.2/bin/jdb
checking for jni.h include file... /vol/java1.2/include/jni.h.
checking for JDK1_2 in /vol/java1.2/include/jni.h... Looks like you are using a 
1.2 JVM
Sun JDK Production Release Detected.
checking for jni_md.h include file... /vol/java1.2/include/solaris/jni_md.h
checking the jdk arch lib directory... /vol/java1.2/jre/lib/sparc
checking the Java compiler... the Java compiler works
checking the -native flag to the Java runtime... the -native flag works
checking the Java header generation program... the Java header generation progra
m works
checking the Java archive program... 
the jar program creates uncompressed archives
the jar program extracts uncompressed archives
the jar program creates compressed archives
the jar program extracts compressed archives
checking that the jar program did not corrupt the test file... it did not
checking for Tcl configuration... found /vol/tclsrcsol/tcl82/tcl8.2.2/unix/tclCo
nfig.sh
checking for existence of /vol/tclsrcsol/tcl82/tcl8.2.2/unix/tclConfig.sh... loa
ding
checking for building with threads... no (default)
checking how to build libraries... shared
checking for build with symbols... no
checking for tclsh8.2... /usr/tcl82/sun4/bin/tclsh8.2
checking for tcl library... -L/usr/tcl82/sun4/lib -ltcl8.2
updating cache ./config.cache
creating ./config.status
creating Makefile
creating mkIndex.tcl
$ cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:588: checking for ranlib
configure:621: checking for Cygwin environment
configure:637: cc -c   conftest.c 1>&5
"configure", line 633: undefined symbol: __CYGWIN32__
"configure", line 634: warning: statement not reached
cc: acomp failed for conftest.c
configure: failed program was:
#line 626 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:659: checking for object suffix
configure:665: cc -c   conftest.c 1>&5
configure:683: checking for mingw32 environment
configure:695: cc -c   conftest.c 1>&5
"configure", line 691: undefined symbol: __MINGW32__
"configure", line 692: warning: statement not reached
cc: acomp failed for conftest.c
configure: failed program was:
#line 688 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
configure:714: checking for executable suffix
configure:724: cc -o conftest    conftest.c  1>&5
configure:777: checking for gcc
configure:890: checking whether the C compiler (cc  ) works
configure:906: cc -o conftest    conftest.c  1>&5
configure:932: checking whether the C compiler (cc  ) is a cross-compiler
configure:937: checking whether we are using GNU C
configure:946: cc -E conftest.c
configure:965: checking whether cc accepts -g
configure:1028: checking for a BSD compatible install
configure:1086: checking whether make sets ${MAKE}
configuring for both jacl and tcl blend
configure:1324: checking for javac
Java found at /vol/java1.2
JAVA_NAME is jdk
configure:1410: checking for zip or jar files to include on CLASSPATH
Using JAVA_CLASSPATH=/vol/java1.2/lib/tools.jar:/vol/java1.2/jre/lib/rt.jar
configure:1457: checking for the java runtime
Using JAVA=/vol/java1.2/bin/java
configure:1481: checking for the java compiler
Using JAVAC=/vol/java1.2/bin/javac
configure:1510: checking for the java header program
Using JAVAH=/vol/java1.2/bin/javah
configure:1535: checking for the java archive program
Using JAR=/vol/java1.2/bin/jar
configure:1562: checking for the java debugger program
Using JDB=/vol/java1.2/bin/jdb
configure:1706: checking for jni.h include file
Found JNI include file /vol/java1.2/include/jni.h.
configure:1718: checking for JDK1_2 in /vol/java1.2/include/jni.h
#define JDK1_2
Looks like you are using a 1.2 JVM
Sun JDK Production Release Detected.
configure:1943: checking for jni_md.h include file
Found /vol/java1.2/include/solaris/jni_md.h
configure:1960: checking the jdk arch lib directory
configure:2126: checking the Java compiler
Using CLASSPATH=/vol/java1.2/lib/tools.jar:/vol/java1.2/jre/lib/rt.jar
Copied /vol/tclsrcsol/tcl82/tcljava/src/Test.tcl to /vol/tclsrcsol/tcl82/tcljava
/vol/java1.2/bin/javac -d . /vol/tclsrcsol/tcl82/tcljava/src/Test.java
configure:2144: checking the -native flag to the Java runtime
Using CLASSPATH=/vol/java1.2/lib/tools.jar:/vol/java1.2/jre/lib/rt.jar:.
/vol/java1.2/bin/java -native Test
the -native flag works
configure:2184: checking the Java header generation program
Using CLASSPATH=/vol/java1.2/lib/tools.jar:/vol/java1.2/jre/lib/rt.jar:.
/vol/java1.2/bin/javah -jni -o Test.h Test
# Possible matches for method foo
 * Method:    foo
JNIEXPORT void JNICALL Java_Test_foo
# End of possible matches for method foo
egrep 'JNIEXPORT[ |     ]+void[ |       ]+JNICALL[ |    ]+Java_Test_foo' Test.h
JNIEXPORT void JNICALL Java_Test_foo
configure:2220: checking the Java archive program
Using CLASSPATH=/vol/java1.2/lib/tools.jar:/vol/java1.2/jre/lib/rt.jar
/vol/java1.2/bin/jar -cf0 Test.jar Test.class
/vol/java1.2/bin/jar -xf Test.jar
/vol/java1.2/bin/jar -cf Test.jar Test.class
/vol/java1.2/bin/jar -xf Test.jar
configure:2282: checking that the jar program did not corrupt the test file
Using CLASSPATH=/vol/java1.2/lib/tools.jar:/vol/java1.2/jre/lib/rt.jar:.
/vol/java1.2/bin/java Test
configure:2381: checking for Tcl configuration
configure:2451: checking for existence of /vol/tclsrcsol/tcl82/tcl8.2.2/unix/tcl
Config.sh
configure:2557: checking for building with threads
configure:2641: checking how to build libraries
configure:2708: checking for build with symbols
configure:2831: checking for tclsh8.2
configure:2874: checking for tcl library
$ make
/bin/sh /vol/tclsrcsol/tcl82/tcljava/mkinstalldirs /vol/tclsrcsol/tcl82/tcljava/
tcljava
mkdir /vol/tclsrcsol/tcl82/tcljava/tcljava
/bin/sh /vol/tclsrcsol/tcl82/tcljava/mkinstalldirs /vol/tclsrcsol/tcl82/tcljava/
tcljava/tcl
mkdir /vol/tclsrcsol/tcl82/tcljava/tcljava/tcl
/bin/sh /vol/tclsrcsol/tcl82/tcljava/mkinstalldirs /vol/tclsrcsol/tcl82/tcljava/
tcljava/tcl/lang
mkdir /vol/tclsrcsol/tcl82/tcljava/tcljava/tcl/lang
cp -rf /vol/tclsrcsol/tcl82/tcljava/src/tcljava/tcl/lang/library /vol/tclsrcsol/
tcl82/tcljava/tcljava/tcl/lang/library
rm -rf /vol/tclsrcsol/tcl82/tcljava/tcljava/tcl/lang/*.class
rm -rf /vol/tclsrcsol/tcl82/tcljava/tcljava/tcl/lang/reflect/*.class
cd /vol/tclsrcsol/tcl82/tcljava/src/tcljava ; CLASSPATH=@TCLJAVA_BUILD_DIR_NATIV
E@:@EMPTY_JAR@:/vol/java1.2/lib/tools.jar:/vol/java1.2/jre/lib/rt.jar /vol/java1
.2/bin/javac  -d @TCLJAVA_BUILD_DIR_NATIVE@  tcl@SEP@lang@SEP@reflect@SEP@*.java
Can't read: TCLJAVA_BUILD_DIR_NATIVE@ (No such file or directory)
make: *** [tcljava.jar] Error 1
-- 
Larry W. Virden                 <URL: mailto:[EMAIL PROTECTED]>
<URL: http://www.purl.org/NET/lvirden/> <*> O- 
Unless explicitly stated to the contrary, nothing in this posting should 
be construed as representing my employer's opinions.
-><-

----------------------------------------------------------------
The TclJava mailing list is sponsored by Scriptics Corporation.
To subscribe:    send mail to [EMAIL PROTECTED]  
                 with the word SUBSCRIBE as the subject.
To unsubscribe:  send mail to [EMAIL PROTECTED] 
                 with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'. 

Reply via email to