This is a very strange problem. It looks like during the ./configure
process the @TCLJAVA_BUILD_DIR_NATIVE@ replacement is not getting
done. During a normal build the Makefile.in file has sed run to do
these replacements and create a new file called Makefile. Perhaps
the sed program is not working on your Solaris box. To be honest,
that is about the only thing I could think of that might cause this.
Here is how you could check. Open up the ./config.status file
and see if there is a line that looks like this.
s%@TCLJAVA_BUILD_DIR_NATIVE@%/vol/tclsrcsol/tcl82/tcljava/tclblend%g
If it does, then the configure script is writing the correct sed command
to config.status. Now you should remove Makefile and run ./config.status.
At that point run "diff -u Makefile.in Makefile | less" and look for
a change related to the @TCLJAVA_BUILD_DIR_NATIVE@ string. If the
@TCLJAVA_BUILD_DIR_NATIVE@ is not getting replaced while processing
Makefile.in, then something is very wrong with your sed program (Sun
has been known to ship broken utils).
You could also try to do a "cvs update" and see if something went
wacky with the cvs checkout.
You might also want to try the older configure process located
in tcljava/unix. The tcljava/configure.in script is very new
and not as tested as the older unix/configure.in script.
I hope that helps
Mo DeJong
On Sat, 6 Nov 1999, Larry W. Virden wrote:
> I fetched the latest tcljava distribution from Scriptics. When I attempt
> to configure and build it I get:
>
>
> $ /vol/tclsrcsol/tcl82/tcljava/configure --prefix=/usr/tcl82
>--exec-prefix=/usr/tcl82/sun4
> --with-cc=cc --with-x --x-includes=/usr/openwin/include
> --x-libraries=/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 program
>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.1/unix/tclConfig.sh
> checking for existence of /vol/tclsrcsol/tcl82/tcl8.2.1/unix/tclConfig.sh... loading
> 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.3
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> creating mkIndex.tcl
> $ make all
> /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_NATIVE@:@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]'.
>
----------------------------------------------------------------
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]'.