[tcljava-user] can tclblend run on centos 7?
Brought to you by:
mdejong
|
From: Ross, B. <Bil...@co...> - 2017-10-17 15:34:00
|
I have been using tclblend for many years.
I have an older system that works and a new system I want to make work.
I am struggling with finding a combination of packages that will work.
I would like to run all the latest versions if possible.
I also want to run in 64 bit mode.
But first I want to find one combination that works.
In almost all cases the build and make and make install all run successfully
How important is it that "make test" run without a crash?
I can't find older jdk for centos 7
I have root to both machines and do whatever on want on the new one, the older one is being used in production.
I am looking for a logical approach to getting a build working and then verifying what other combination also work.
I am not a linux sys admin or very familiar with java.
I have learned enough to get done what I needed.
Also should this be posted in the users mail list or the dev users list?
I have an older redhat 6 system where I run tclblend. - Red Hat Enterprise Linux Server release 6.4 (Santiago)
Linux 2.6.32-358.11.1.el6.x86_64 #1 SMP Wed May 15 10:48:38 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux
$ ./configure --with-tcl=/usr/local/lib --with-thread=/usr/lib/thread2.6.5 --with-jdk=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64
# Tcl's version number.
TCL_VERSION='8.5'
TCL_MAJOR_VERSION='8'
TCL_MINOR_VERSION='5'
TCL_PATCH_LEVEL='.7'
Make test => Tests ended at Tue Oct 17 10:25:37 EDT 2017
all.tcl: Total 1397 Passed 1320 Skipped 5 Failed 72
Sourced 0 Test Files.
Files with failing tests: javaInterp.test javaObj.test loading.test refCount.test FuncSig.test JavaImportCmd.test JavaInfoCmd.test JavaInvoke.test JavaLock.test JavaNewCmd.test JavaTryCmd.test ReflectException.test ReflectObject.test
Number of tests skipped for each constraint:
2 jaclOnly
1 pcOnly
1 tip132
1 unimplemented
Warning: files left behind:
javaInterp.test: hs_err_pid13782.log
loading.test: hs_err_pid14047.log hs_err_pid14213.log hs_err_pid14165.log hs_err_pid14189.log hs_err_pid13950.log hs_err_pid14283.log hs_err_pid13974.log hs_err_pid13998.log hs_err_pid14022.log hs_err_pid14071.log
Tests done.
I have a new system and want to get tclblend running on it - CentOS Linux release 7.2.1511 (Core)
Linux 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19 22:10:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
I tried many combinations of tcl, thread and jdk and all seem to build and install but when I try to execute I get an error
All my attempts have been in 64 bit mode.
tclsh: /home/comcast/software/tclBlend1.4.1/src/native/javaCmd.c:359: JavaGetCache: Assertion `tsdPtr->initialized' failed.
java-1.6.0-openjdk-devel.x86_64 1:1.6.0.0-6.1.13.3.el7_0 @/java-1.6.0-openjdk-devel-1.6.0.0-6.1.13.3.el7_0.x86_64
java-1.7.0-openjdk-devel.x86_64 1:1.7.0.151-2.6.11.1.el7_4 @/java-1.7.0-openjdk-devel-1.7.0.151-2.6.11.1.el7_4.x86_64
java-1.8.0-openjdk-devel.x86_64 1:1.8.0.141-1.b16.el7_3 @updates
tcl 8.5.7 and tcl 8.6.7
thread 2.8.1 and thread 2.6.5
last attempt at make test
Exception in thread "main" java.lang.UnsupportedClassVersionError: tcl/lang/TclPkgInvoker : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:442)
at java.net.URLClassLoader.access$100(URLClassLoader.java:64)
at java.net.URLClassLoader$1.run(URLClassLoader.java:354)
at java.net.URLClassLoader$1.run(URLClassLoader.java:348)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:347)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:312)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at tcl.lang.reflect.PkgInvoker.getPkgInvoker(PkgInvoker.java:235)
at tcl.lang.reflect.PkgInvoker.usesDefaultInvoker(PkgInvoker.java:267)
at tcl.lang.FuncSig.getAccessibleConstructor(FuncSig.java:1170)
at tcl.lang.FuncSig.get(FuncSig.java:255)
at tcl.lang.JavaInvoke.newInstance(JavaInvoke.java:106)
at tcl.lang.JavaNewCmd.cmdProc(JavaNewCmd.java:105)
at tcl.lang.AutoloadStub.cmdProc(Extension.java:119)
at tcl.lang.Interp.callCommand(Interp.java:1266)
JavaCmdProc : Interp.callCommand() raised an Exception
/bin/sh: line 19: 18655 Done ( echo set auto_path [concat [pwd] [set auto_path]]\; puts \"pwd is [pwd]\"\; puts \"CLASSPATH is [set env\(CLASSPATH\)]\"\; puts \"auto_path is [set auto_path]\"\; source \"/home/comcast/software/tclBlend1.4.1/tests/all.tcl\"\; puts \"Tests done.\"\; exit )
18656 Aborted (core dumped) | LD_PRELOAD="" LD_BIND_NOW= PATH="/home/comcast/software/tclBlend1.4.1:/home/comcast/software/tcl8.5.7/unix:/usr/local/lib/thread2.6.5:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.151-2.6.11.1.el7_4.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.151-2.6.11.1.el7_4.x86_64/jre/lib/amd64/server:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/comcast/run:/home/comcast/.local/bin:/home/comcast/bin:/root/run" LD_LIBRARY_PATH="/home/comcast/software/tclBlend1.4.1:/home/comcast/software/tcl8.5.7/unix:/usr/local/lib/thread2.6.5:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.151-2.6.11.1.el7_4.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.151-2.6.11.1.el7_4.x86_64/jre/lib/amd64/server:/usr/local/lib" SHLIB_PATH="/home/comcast/software/tclBlend1.4.1:/home/comcast/software/tcl8.5.7/unix:/usr/local/lib/thread2.6.5:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.151-2.6.11.1.el7_4.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.151-2.6.11.1.el7_4.x86_64/jre/lib/amd64/server:" KAFFELIBRARYPATH="/home/comcast/software/tclBlend1.4.1:/home/comcast/software/tcl8.5.7/unix:/usr/local/lib/thread2.6.5:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.151-2.6.11.1.el7_4.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.151-2.6.11.1.el7_4.x86_64/jre/lib/amd64/server" TCL_LIBRARY=/home/comcast/software/tcl8.5.7/library TCLLIBPATH="/home/comcast/software/tclBlend1.4.1 /home/comcast/software/tclBlend1.4.1/src /usr/local/lib/thread2.6.5" CLASSPATH=:/home/comcast/software/tclBlend1.4.1/btests:/home/comcast/software/tclBlend1.4.1/tclblend.jar:/home/comcast/software/tclBlend1.4.1/tcljava.jar:/home/comcast/software/tclBlend1.4.1/tl.jar:/home/comcast/software/tclBlend1.4.1/itcl.jar:/home/comcast/software/tclBlend1.4.1/tjc.jar:/home/comcast/software/tclBlend1.4.1/tjcext.jar JAVA=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.151-2.6.11.1.el7_4.x86_64/bin/java BUILD_DIR=/home/comcast/software/tclBlend1.4.1 /home/comcast/software/tcl8.5.7/unix/tclsh
make: *** [test_tclblend.exec] Error 134
|