[Starkit] Struggling to build the current tclkit
Larry W. Virden
lvirden at cas.org
Fri Jan 30 08:41:12 CET 2004
Okay, I downloaded the current source files and genkit to build
tclkit.
My 'friendly' local gcc maintainer has, once again, built the latest
gcc, and it seems once again genkit/tclkit and gcc differ on how
to build here on my SPARC Solaris 8 environment.
However, this time it's a bit different.
RUN: g++ -o kitsh pwb.o kitInit.o zlib.o rechan.o tclAppInit.o ../tcl/libtcl8.4.
a ../vfs/libvfs1.3.a ../zlib/libz.a ../mk/.libs/libmk4tcl.a -L/ldatae/tclkit/ins
tall/lwv26awu/lib -ltcl8.4 -ldl -lsocket -lm -static -lstdc++ -dynamic -lgcc_s
/vol/gnu/gcc-3.3.1/bin/ld: cannot find -ldl
collect2: ld returned 1 exit status
ERROR: child process exited abnormally
while executing
"run g++ -o kitsh pwb.o kitInit.o zlib.o rechan.o tclAppInit.o ../tcl/libtcl8.4.
a ../vfs/libvfs1.3.a ../zlib/libz.a ../mk/.libs/libmk4tcl.a -L/ldatae/t..."
("eval" body line 1)
invoked from within
"eval run $X(g++) -o $target [glob *.o] $L"
("kitsh" arm line 37)
invoked from within
"switch $target {
tcl {
config tcl/$X(unix) --disable-shared
#run $X(make) genstubs
run $X(make) binaries LD_SEARCH_FLAGS= CC_SEARC..."
is the error I am getting (after hacking things so that the script
no longer tries to statically link gcc_s - which, alas, appears to not
be available as a static library any longer - not your problem; just
thought I would pass along the experience in case someone else does so as
well.
However, that "cannot find" has my puzzled - I certainly see
/lib/libdl.so - which would g++ not see that? Anyone ever experience
that before?
--
Tcl - The glue of a new generation. <URL: http://wiki.tcl.tk/ >
Larry W. Virden <mailto:lvirden at cas.org> <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.
-><-
More information about the Starkit
mailing list