Bulding a 64bit tclkit based on tcl8.5 on Solaris SPARC.

franky777 <[email protected]> Wed, 4 Mar 2009 01:39:42 -0800 (PST)
Newsgroups gmane.comp.lang.tcl.starkit
Message-ID <b068f41a-4519-4413-9903-8d13ab665d7a@y13g2000yqn.googlegroups.com>
Hi guys. I need some help please.

I need to build a 64bit tclkit based on tcl8.5.

This is my host:
# uname -a
SunOS fidarc1 5.11 snv_62 sun4v sparc SUNW,Sun-Fire-T200

I've followed the instructions from here: http://www.equi4.com/wikis/equi4/218

The only change I've made is to define these two variable before
starting the whole procedure:

setenv KIT_VERSION 5
setenv EXTRA_MAKE_FLAGS "-O3 -mcpu=v9"

The first one had the effect to download tcl8.5 source code.
The second one was intended to build a 64bit binary but it failed with
this:

*******************************************************************************************************************
RUN: make -O3 -mcpu=v9 binaries LD_SEARCH_FLAGS= CC_SEARCH_FLAGS=
TCL_LIBRARY= TCL_PACKAGE_PATH=

make: Warning: Ignoring DistributedMake -m option
Warning: tclStubInit.c may be out of date.
Developers may want to run "make genstubs" to regenerate.
This warning can be safely ignored, do not report as a bug!

RUN: make -O3 -mcpu=v9 install-binaries install-libraries

make: Warning: Ignoring DistributedMake -m option
Warning: tclStubInit.c may be out of date.
Developers may want to run "make genstubs" to regenerate.
This warning can be safely ignored, do not report as a bug!
Installing libtcl8.4.a to /opt/csw/tcl/TclDevKit-5.0/kit/install/
fidarc1/lib/
Installing tclsh as /opt/csw/tcl/TclDevKit-5.0/kit/install/fidarc1/bin/
tclsh8.4
Installing tclConfig.sh to /opt/csw/tcl/TclDevKit-5.0/kit/install/
fidarc1/lib/
Installing libtclstub8.4.a to /opt/csw/tcl/TclDevKit-5.0/kit/install/
fidarc1/lib/
Installing header files
Installing library files to /opt/csw/tcl/TclDevKit-5.0/kit/noarch/lib/
tcl8.4
Installing library http1.0 directory
Installing library http2.5 directory
Installing library opt0.4 directory
Installing library msgcat1.3 directory
Installing library tcltest2.2 directory
Installing library encoding directory

RUN: /opt/csw/tcl/TclDevKit-5.0/kit/install/fidarc1/bin/tclsh8.5 <<
{parray tcl_platform}


ERROR: couldn't execute "/opt/csw/tcl/TclDevKit-5.0/kit/install/
fidarc1/bin/tclsh8.5": no such file or directory
    while executing
"run $I/bin/$X(tclsh8.$V) << "parray tcl_platform""
    ("tcl" arm line 8)
    invoked from within
"switch $target {

          tcl {
            config tcl$Z(85)/$X(unix) --disable-shared
            #run $X(make) genstubs
            eval run $X(make) binaries  LD_SEARCH_FLAG..."
*******************************************************************************************************************

I've also tried with:
setenv EXTRA_MAKE_FLAGS "-O3 -mcpu=v9"

Any idea what I'm doing wrong please?

Note that before trying to build a 64bit tclkit based on tcl8.5 I
didn't define any variable and just followed the normal procedure. The
process was successful and I obtained a 32bit tclkit based on tcl8.4.

Thank you.
Frankye