I had tried to use version 8.1b1 for both tcl and tk. It looked to me
that there was a bug in the C compiler
cc: Error: ./../generic/tclEncoding.c, line 691: In this statement,
"strlen" and "unilen" may not be combined in a conditional expression.
encodingPtr->lengthProc = (typePtr->nullSize == 1) ? strlen : unilen;
strlen and unilen (an internal function to this routine) are both entry
constants, so I don't see why it shouldn't work. I didn't dig further
maybe casting might have helped.
IN ANY EVENT, I used instead version 8.0.4 and it worked fine.
Tom Linden Support of PL/I for VMS, Open VMS and
Kednos Corporation Digital Unix.
tel 650 949 1249
---------- Forwarded message ----------
Date: Wed, 6 Jan 1999 07:53:24 -0600
From: Partin.Kevin <KPartin_at_hou.mdc.com>
To: 'Tom Linden' <tom_at_kednos.com>
Subject: RE: tkgnats, tk and tcl port?
Here are the procedures that I developed for D.U. 4.0D and HP-UX 10.20 to
build Tk/Tcl.
Kevin Partin
Tcl v8.0.3
Source:
http://www.scriptics.com
Commands to build and install files:
1. gunzip -c tcl8.0.3.tar.gz | tar xf -
2. cd tcl8.0.3/unix
3. make distclean
4. ./configure --prefix=/app
Digital UNIX 4.0D
1. make
2. make install
HP-UX 10.20
1. make CFLAGS_OPTIMIZE='-O +Onolimit'
2. make install
Notes:
1. Build Tcl before Tk.
2. On HP-UX, the CFLAGS_OPTIMIZE='-O +Onolimit' is required for the
generic/tclExecute.c routine to compile without an optimization warning.
3. Installation must be done as root.
Build Verification
Build procedure verified on 11/05/1998 for both Digital UNIX 4.0D and HP-UX
10.20.
Tk v8.0.3
Source:
http://www.scriptics.com
Commands to build and install files:
1. gunzip -c tk8.0.3.tar.gz | tar xf -
2. cd tk8.0.3/unix
3. make distclean
4. ./configure --prefix=/app
Digital UNIX 4.0D
1. make
2. make install
HP-UX 10.20
3. make CFLAGS_OPTIMIZE='-O +Onolimit'
4. make install
Notes:
1. Build Tcl before Tk.
2. On HP-UX, the CFLAGS_OPTIMIZE='-O +Onolimit' is required for the
tkUnixWm.c routine to compile without an optimization warning.
3. Installation must be done as root.
Build Verification
Build procedure verified on 11/05/1998 for both Digital UNIX 4.0D and HP-UX
10.20.
> -----Original Message-----
> From: Tom Linden [SMTP:tom_at_kednos.com]
> Sent: Tuesday, January 05, 1999 6:53 PM
> To: alpha-osf-managers
> Cc: ray.johnson_at_scriptics.com
> Subject: tkgnats, tk and tcl port?
>
> Has anyone ported tcl8.1b1 and tk8.1b1, which i need for tkgnats?
> I started with tcl and thought I might get lucky, but got a compile
> error. I have plenty of other of problems to solve, so if someone has
> already done it, sure would appreciate any help. I'm running 4.0d
> using cc. Was hoping not to have to install gcc, which requires ...
>
> bash-2.02.1 and emacs-20.3 built cleanly, if anyone is interested.
>
> Tom Linden Support of PL/I for VMS, Open VMS and
> Kednos Corporation Digital Unix.
> tel 650 949 1249
Received on Wed Jan 06 1999 - 20:38:27 NZDT