Re: stdwin, alfa version

Guido.van.Rossum@cwi.nl
Mon, 11 Apr 1994 19:49:30 +0200

> I have python 1.0.1, and stdwin 0.9.8. I tried to build python with the
> stdwin alfa port, and failed. The link step reports a clutch of undefined
> symbols, such as _wnewbitmap and _wconnectionnumber. If anyone knows of a
> stdwin alfa port and a stdwin module that work together, or has spotted my
> stupid mistake, I'd like to hear about it.

No stupid mistake on your part -- I haven't tested Python with alpha
stdwin for AGES. You can remove the references to bitmap stuff (which
is only in the X11 version of stdwin) by commenting out the #define
HAVE_BITMAPS from stdwinmodule.c. The connectionnumber method you must
comment out manually from a few places in stdwinmodule.c.

> Also, is it possible to write a Python program on a Sun with SunOs 4.1
> that will use either the stdwin X11 port or the alfa port, depending on the
> user's terminal type?

No, you will have to build two Python binaries and decide (e.g. in an
alias or tiny script wrapper) which one to use.

--Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>
URL: <http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>