Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Tcl/Tk 8.4a1 build for QNX

0 views
Skip to first unread message

Bruce Edge

unread,
Jun 7, 2000, 3:00:00 AM6/7/00
to
Here's how to build this on QNX 4:

Note, this is build with gcc, not Watcom.

In tcl/unix:
./configure --prefix=/usr/local/tcl8.4a1 --disable-threads --disable-load
--disable-shard --enable-gcc --with-tcl=/usr/local/tcl8.4a1
--with-tk=/usr/local/tcl8.4a1

In tk/unix:
./configure --prefix=/usr/local/tcl8.4a1 --disable-threads --disable-load
--disable-shard --enable-gcc --with-tcl=/usr/local/tcl8.4a1/lib
--with-tk=/usr/local/tcl8.4a1

I think the fact that you need to add a /lib to the --with-tcl path is a bug,
but the preceeding is a workaround.

Edit unix/Makefile in both tcl and tk trees and change SH to /bin/bash rather
/bin/sh, the QNX ksh is a bit wierd in it's test implementation.

Edit tk/generic/tk.h and insert:
#undef XNQueryInputStyle
above the line:
#ifdef XNQueryInputStyle

This last one is needed to prevent wish from SEGVing. It looks like a bug in
XFree86, but that's way beyond me. If you want more info, refer to Scriptics
bug report 3894.

There's probably a cleaner way to implement this last one, I'm open to
suggestions.

-Bruce.

Bruce Edge

unread,
Jun 7, 2000, 3:00:00 AM6/7/00
to
Er, um, what's RtP?

>
> Any idea if the above will work for RtP?

Randy Vice

unread,
Jun 7, 2000, 3:00:00 AM6/7/00
to

Any idea if the above will work for RtP?

--
: damo...@TheNostromo.cx : Bruce Morrow, a man before and after his
time :
: "The Constitution shall never be construed to prevent the people of
the :
: United States who are peaceable citizens from keeping their own
arms." :
: - Samuel Adams : Morrow Project Science - Postholocaust Party Animals

Randy Vice

unread,
Jun 8, 2000, 3:00:00 AM6/8/00
to
Bruce Edge wrote:
>
> Er, um, what's RtP?

Was Neutrino, now known as RealTime Platform (RtP).

Bruce Edge

unread,
Jun 8, 2000, 3:00:00 AM6/8/00
to
Randy Vice wrote:
>
> Bruce Edge wrote:
> >
> > Er, um, what's RtP?
>
> Was Neutrino, now known as RealTime Platform (RtP).

Ahhhh.
Well, you can probably drop the --disable-threads --disable-load
--disable-shared since RtP has better support for that kinda stuff than QNX4.

Don't know about the RtP shell, so you might still need bash, and I haven't
tried this with and QNX released X server, only with XFree86.

From what I've heard about RtP, it should all work pretty smoothly.
I'd try it without any of the hacks 1st, then, add them if needed.

-Bruce.

Randy Vice

unread,
Jun 8, 2000, 3:00:00 AM6/8/00
to
Bruce Edge wrote:
>
> Randy Vice wrote:
> >
> > Bruce Edge wrote:
> > >
> > > Er, um, what's RtP?
> >
> > Was Neutrino, now known as RealTime Platform (RtP).
>
> Ahhhh.
> Well, you can probably drop the --disable-threads --disable-load
> --disable-shared since RtP has better support for that kinda stuff than QNX4.
>
> Don't know about the RtP shell, so you might still need bash, and I haven't
> tried this with and QNX released X server, only with XFree86.
>
> From what I've heard about RtP, it should all work pretty smoothly.
> I'd try it without any of the hacks 1st, then, add them if needed.

Thanks much!

0 new messages