Re: Re: something's rotten in the state of tclkit

David Zolli <[email protected]> Tue, 15 Jun 2010 17:12:51 +0200
Newsgroups gmane.comp.lang.tcl.starkit
Message-ID <[email protected]>
Le 15 juin 2010 à 16:56, David Zolli a écrit :

> Just another thing: if I try to build tclkit 8.5.8 with metakit instead of vlerq I got this error:
> .../..
> strip: can't open file: *tk8*.so (No such file or directory)
> make: *** [build/tkdyn] Error 1
> 
> I guess strip should use *tk8*.dylib instead of *tk8*.so but, once again, I don't know where to fixe this.

Sometime writing helps to find solution. I change line 27 in makefile.include from:

	SO    ?=.so

to:

	SO    ?=.dylib

and now I'm able to build tclkit-dyn.

But kitgen still fails with the metakit flavour:

cc1plus: warning: command line option "-Wno-implicit-int" is valid for C/ObjC but not for C++
rm -f libMk4tcl2.4.9.7.a
ar cr libMk4tcl2.4.9.7.a column.o custom.o derived.o field.o fileio.o format.o handler.o persist.o remap.o std.o store.o string.o table.o univ.o view.o viewx.o mk4tcl.o mk4too.o 
ranlib: file: libMk4tcl2.4.9.7.a(std.o) has no symbols
ranlib libMk4tcl2.4.9.7.a
ranlib: file: libMk4tcl2.4.9.7.a(std.o) has no symbols
 /usr/bin/install -c libMk4tcl2.4.9.7.a /Users/dzolli/Programmation/Tcl/tclkit/build/8.5/kroc/build/lib/Mk4tcl2.4.9.7/libMk4tcl2.4.9.7.a
 ranlib /Users/dzolli/Programmation/Tcl/tclkit/build/8.5/kroc/build/lib/Mk4tcl2.4.9.7/libMk4tcl2.4.9.7.a
ranlib: file: /Users/dzolli/Programmation/Tcl/tclkit/build/8.5/kroc/build/lib/Mk4tcl2.4.9.7/libMk4tcl2.4.9.7.a(std.o) has no symbols
Installing header files in /Users/dzolli/Programmation/Tcl/tclkit/build/8.5/kroc/build/include
mkdir -p build/itcl && cd build/itcl && CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4" && export CFLAGS && \
	  sh ../../../../8.x/itcl/configure --disable-shared --with-tcl=../lib --prefix=/Users/dzolli/Programmation/Tcl/tclkit/build/8.5/kroc/build --exec-prefix=/Users/dzolli/Programmation/Tcl/tclkit/build/8.5/kroc/build  && \
	  make install-binaries install-libraries
checking for correct TEA configuration... ok (TEA 3.6)
checking whether ln -s works... yes
configure: error: cannot find install-sh or install.sh in tclconfig ../../../../8.x/itcl/tclconfig
make: *** [build/itcl] Error 1

-- 
David Zolli

-- 
You received this message because you are subscribed to the "starkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/starkit?hl=en