Version 1 of notes on building TclPro

Updated 2002-03-11 18:10:46

Bruce Stephens wrote up a description of his experiences building TclPro from source during March of 2002. He provided permission to write up his experiences here on the wiki. Bruce writes:

 From: Bruce Stephens <[email protected]>
 Newsgroups: comp.lang.tcl
 Date: Sun, 10 Mar 2002 22:34:52 +0000
 Message-ID: <[email protected]>

"... I just tried building it (on GNU/Linux), and it's not *that* bad.

Here are the notes I made. Feel free to stick them anywhere suitable (a wiki or whatever), with or without modification.

You'll need 80M for sources, about 120M or so for an existing TclPro (which you need) (this is the path --with-protools), about 130M for the TclPro you build (this is the path --prefix), and about 200M for building.

You need a working TclPro (e.g., 1.4.1 with the free keys). It's convenient if tclsh points at a tclsh which has tcllib, so a good way to do that is to make a symbolic link in a suitable place to protclsh83.

Check out tclpro

Edit tclpro/TclProCheckout.tcl to set user id (at bottom) and change base versions of tcl and tk (to 8.3.4), if you want.

Edit tclpro/modules/install/src/parts.in and tclpro/modules/wrapper/boot83.uses.in to change http and msgcat versions (from 2.3 to 2.4 and 1.0 to 1.1 respectively).

Run TclProCheckout.tcl (from directory that contains tclpro)

 cvs -d:pserver:[email protected]:/cvsroot/incrtcl get -ritcl-3-2-0 iwidgets
 mv iwidgets itcl3.2/iwidgets3.0.0
 cvs -d:pserver:[email protected]:/cvsroot/incrtcl get -riwidgets-2-2-0 iwidgets
 mv iwidgets itcl3.2/iwidgets2.2.0

Get trf, memchan, trfcrypt, SetOps, expand by running the various get-* scripts in tclpro. (Run them from the toplevel: tclpro/get-expand etc.)

replace "bash autoconf" with "autoconf" in buildenv/buildModule.tcl and buildenv/buildModuleB.tcl

Some tcl, tk, tclpro version numbers in configure.in and tclpro/modules/projectInfo/projectInfo.tcl will want to be changed..

Run autoconf in tclpro.

 cd tclpro
 mkdir linux-ix86
 cd linux-ix86
 ../configure --with-protools=/usr/local/tclpro --prefix=/usr/local/tclpro1.5

"