question about the current tclkit tar files

"Virden, Larry W." <[email protected]>
Newsgroups gmane.comp.lang.tcl.starkit
Message-ID <[email protected]>
I was taking a whack at trying to build the latest tclkit sources from
the web site into a Solaris tclkit.

I'd not attempted a build for a while, and so I updated all the genkit, etc.
files.

First thing I noticed was that, without doing anything different than
I usually do, genkit attempts to build kitlite.
This fails on Solaris 9 using gcc 3.4.4:

RUN: gcc -o kitlite pwb.o kitInit.o zlib.o rechan.o tclAppInit.o ../tcl/libtcl8.
4.a ../vfs/libvfs1.3.a ../zlib/libz.a ../thrive/libthrive2.23.a ../itcl/libitcl3
.3.a -L/ldatae/Tcl/tcl/tclkit/build/lwv27awu/tk -ltk8.4 -L/usr/openwin/lib -lX11
 -ldl -lsocket -lm -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic

kitInit.o: In function `TclKit_AppInit':
kitInit.c:(.text+0x94): undefined reference to `Mk4tcl_Init'
kitInit.c:(.text+0x98): undefined reference to `Mk4tcl_Init'
collect2: ld returned 1 exit status

ERROR: child process exited abnormally
    while executing
"run gcc -o kitlite pwb.o kitInit.o zlib.o rechan.o tclAppInit.o ../tcl/libtcl8.
4.a ../vfs/libvfs1.3.a ../zlib/libz.a ../thrive/libthrive2.23.a ../itcl..."
    ("eval" body line 1)
    invoked from within
"eval run $gcc -o $target [glob *.o] $L $Z(ldsuff)"
    ("kitlite" arm line 62)

with the same failure in kitshlite.

Then I notice that something called thrive is being built - it seemed to work
okay.

When I get to genkit D, I get this:
ld.so.1: dummy-lwv27awu: fatal: libstdc++.so.6: open failed: No such file or directory

I know that's one of the g++ default libraries. It looks to me like there
is a static version of the library - so I suspect I need to hack genkit
to tell g++ to use that one. Anyone know for certain what I need to add?
-- 
Tcl - The glue of a new generation.  <URL: http://wiki.tcl.tk/ >
Larry W. Virden <mailto:[email protected]><URL: http://www.purl.org/NET/lvirden/ >
Even if explicitly stated to the contrary, nothing in this posting should 
be construed as representing my employer's opinions.
-><-
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.