Building tclkit on Snow Leopard

Kroc <[email protected]> Thu, 15 Apr 2010 01:39:04 -0700 (PDT)
Newsgroups gmane.comp.lang.tcl.starkit
Message-ID <ff3009d5-40db-4369-bb34-d335f17c59ed@q15g2000yqj.googlegroups.com>
Hi all,

I tried to build tclkit 8.5.8 (vlerq and metakit flavours) on Mac OS X
Snow Leopard (10.6.3) using kitgen.

First of all, when I use XCode from 10.6 DVD everything fails (I got
problems with MacOSX10.4u.sdk missing headers) while it works with
XCode from 10.5 DVD.

Here's my build process with kitgen (based on
http://code.google.com/p/tclkit/wiki/BuildingTclkit):

if [ ! -d 8.5 ] ; then
	mkdir 8.5
fi
cd 8.5
cvs -d:pserver:[email protected]:/cvsroot/tcl co -r
core-8-5-branch tcl
cvs -d:pserver:[email protected]:/cvsroot/tktoolkit co
-r core-8-5-branch tk
cd ..
if [ ! -d 8.x ] ; then
	mkdir 8.x
fi
cd 8.x
cvs -d:pserver:[email protected]:/cvsroot/tcl co
thread
cvs -d:pserver:[email protected]:/cvsroot/tclvfs co
tclvfs
cvs -d:pserver:[email protected]:/cvsroot/incrtcl
co -d itcl incrTcl/itcl
svn co svn://svn.equi4.com/metakit/trunk mk
svn co svn://svn.equi4.com/vlerq/branches/v4/tcl vqtcl
if [ ! -d zlib ] ; then
	wget http://www.equi4.com/pub/tk/tars/zlib.tar.gz
	tar zxvf zlib.tar.gz
	rm zlib.tar.gz
fi
cd ..
if [ ! -d 8.5/darwin-univ-aqua ] ; then
	mkdir 8.5/darwin-univ-aqua
fi
sh config.sh 8.5/darwin-univ-aqua thread univ aqua cli gui mk
cd 8.5/darwin-univ-aqua/
make

It works fine for vlerq-flavours (see attachments) but it fails for
traditional tclkit:

mkdir -p build/itcl && cd build/itcl && CFLAGS="-arch ppc -arch i386 -
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/kitgen/8.5/
darwin-univ-aqua/build --exec-prefix=/Users/dzolli/Programmation/Tcl/
tclkit/Build/kitgen/8.5/darwin-univ-aqua/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

Does this means something for anyone?

--
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