On 1/12/26 19:25, IOhannes m zmoelnig via Pd-list wrote:
On 1/12/26 17:17, IOhannes m zmölnig via Pd-list wrote:Am 12. Jänner 2026 16:07:03 MEZ schrieb Wolfgang Gaggl <[email protected]>:good news: Tcl/Tk-8.6.17 build fine (the only issue was with some extra Tcl-packages like "sqlite", but since we don't need them i just skipped them...I'm currently trying to build the last 8.6 release of Tcl/Tk... let's see how this works out.and wish starts :-) bad news: the GUI still doesn't fire up:
well, it seems i have resolved most issues. the GUI finally starts, and I have re-added the sgi audio and MIDI backends.the changeset can be found in the `irix` branch of my fork on <https://github.com/umlaeute/pure-data/tree/irix>
# usage1. get the latest and greatest Tcl and Tk 8.6 packages from <https://www.tcl-lang.org/software/tcltk/download.html> (I didn't try Tcl/Tk-9.x)
compile and install both Tcl and Tk.(as mentioned previously, I couldn't build some of the Tcl addons; simply remove the offending directories from tcl8.6.17/pkgs/; i left in the itcl and thread packages; no idea whether they are needed)
``` rm -rf tcl8.6.17/pkgs/tdbc* tcl8.6.17/pkgs/sqlite* cd tcl8.6.17/unix ./configure gmake gmake install cd ../../tk8.6.17/unix ./configure gmake gmake install ``` 2. get my branch ``` git clone https://github.com/umlaeute/pure-data -b irix ``` 3. build ``` ./autogen.sh ./configure --without-local-portaudio --without-local-portmidi \ --disable-expr --with-wish=/usr/local/bin/wish8.6 \ --with-external-extension=pd_irix6 \ --with-deken-os=Irix6 --with-deken-cpu=mips gmake ```Tcl/Tk's "gmake install" installed wish to /usr/local/bin/wish8.6, and Pd tries to just open "wish" by default, hence the "--with-wish" flag. so alternatively you could just make sure that /usr/local/bin is in your PATH, and symlink "wish8.6" to "wish".
the "--with-deken-*" flags are optional and are actually only used for deken (and there probably aren't any Irix specific packages...)
sometimes, I get failures when building the po/ directory (some unknown flag to xgettext). just running gmake again seems to do the trick.
4. start Pd ``` ./bin/pd ``` (if things go awry, use "./bin/pd -stderr" first)I had some IPv6-related problems when connecting the pd-gui with the core (in theory IRIX should support IPv6, but it who knows...)
a simple solution is to just force to IPv4, by patching src/s_net.c (forcing the hints.ai_flags to AI_PASSIVE):
```diff diff --git a/src/s_net.c b/src/s_net.c index 48bed722..4134988f 100644 --- a/src/s_net.c +++ b/src/s_net.c@@ -66,6 +66,7 @@ int addrinfo_get_list(struct addrinfo **ailist, const char *hostname, AI_V4MAPPED | /* fallback to IPv4-mapped IPv6 addrs */
#endifAI_PASSIVE; /* listen to any addr if hostname is NULL */
+ hints.ai_flags = AI_PASSIVE;
portstr[0] = '\0';
sprintf(portstr, "%d", port);
result = getaddrinfo(hostname, portstr, &hints, ailist);
```
i'd be interested to know whether this works at all.
and whether audio (and MIDI!) works as well.
there seems to be some problem with printing numbers.
e.g. [noise~]->[env~]->[print] shows weird numbers, like "0+.3345" or
"/4.909"
due to the nature of the my VM, I could not actually test sound input/output.
of course, my VM is absymally slow (and the Irix is not an Octane :-)). happy patching. gamsdr IOhannes -- please do not CC me for list-emails
OpenPGP_signature.asc
Description: OpenPGP digital signature
--- [email protected] - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/[email protected]/message/CKAGFWX676HYY4FLGFWHVJ2VDPVEPRGK/ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
