You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
547 B
23 lines
547 B
#!/usr/bin/env bash |
|
|
|
python3 -c 'from pty import spawn; spawn(["echo", "ok"])' | tee /tmp/python_pty_spawn.log |
|
|
|
grep "OSError: out of pty devices" /tmp/python_pty_spawn.log && return 1 |
|
|
|
patch -Np1 -i ../expect-5.45.4-gcc15-1.patch |
|
|
|
./configure --prefix=/usr \ |
|
--with-tcl=/usr/lib \ |
|
--enable-shared \ |
|
--disable-rpath \ |
|
--mandir=/usr/share/man \ |
|
--with-tclinclude=/usr/include |
|
|
|
make |
|
|
|
make test |
|
|
|
make install |
|
|
|
ln -svf expect5.45.4/libexpect5.45.4.so /usr/lib |
|
|
|
|