squeak hangs up during heavy networking operation

Ian Piumarta ian.piumarta at inria.fr
Wed Sep 4 12:37:34 UTC 2002


On Wed, 4 Sep 2002, Yoel Jacobsen wrote:

> In file included from/space/squeak/Squeak-3.2-5devel/platforms/unix/plugins/PseudoTTYPlugin/sqUnixPs
> udoTTYPlugin.c:75:                                       
> /space/squeak/Squeak-3.2-5devel/platforms/unix/plugins/PseudoTTYPlugin/openpty.
> :98:5: #error : cannot open a pty -- this plugin will not work

Do you have /dev/ptmx?  If so, what are the permissions?  FWIW, mine looks
like this:

fricotin:~$ ls -l /dev/ptmx
lrwxrwxrwx   1 root     root           30 Aug  8  2001 /dev/ptmx ->
../devices/pseudo/clone at 0:ptmx
fricotin:~$ ls -lL /dev/ptmx
crw-rw-rw-   1 root     sys       11,  23 Aug  8  2001 /dev/ptmx

The configure script looks for a *readable* /dev/ptmx, using `test -r
/dev/ptmx', and sets HAVE_UNIX98_PTYS in config.h accordingly.  Looks like
this isn't getting set for you for some reason.  Could you also try this
for me:

  /bin/sh
  if test -r /dev/ptmx; then echo yup; else echo nope; fi
  exit

(hopefully it'll print "yup").

BTW: a quick hack to get this thing to compile would be to remove the
plugin from src/plugins.int and reconfigure.

Cheers,

Ian





More information about the Squeak-dev mailing list