[CM] Building snd on a Mac

Steve Woods saw at sandoak.co.uk
Thu Jul 1 15:10:41 PDT 2021


Hi

Just getting started and following the notes in README.snd I've built snd without errors but get the following error when it launches:

'Error: Couldn't find per display information'

Steps I've followed (Macbook Pro 2015, Catalina 10.15.7)

 XQuartz-2.8.1.dmg installer from www.xquartz.org
 xcode-select --install
 brew install gcc 
 brew install ruby
 brew install openmotif
 brew install poppler
 ./configure CFLAGS="-arch x86_64  -I/sw/include" LDFLAGS="-L/sw/lib -lmx -bind_at_load" --with-motif
 make

 ./snd
 > 'Error: Couldn't find per display information'

I've tried combinations of snd-21.4, snd-21.5,  XQuartz 2.7.11, XQuartz 2.8.1, XQuartz 2.7.8
and a different configuration from the README
./configure CFLAGS="-arch x86_64  -I/opt/X11/include" LDFLAGS="-L/opt/X11/lib -lmx -bind_at_load" --with-motif

I did have success with snd-20.7 (last version to support gtk) and ./configure --with-gtk

Seems to be a problem with motif and xquartz but I installed nedit (which uses motif) with homebrew and that works fine.

I see in the archives that Matti Koskinen successfully built snd-21 on Apple Mac Mini M1
https://cm-mail.stanford.edu/pipermail/cmdist/2021-April/008419.html

also some success in this thread
https://cm-mail.stanford.edu/pipermail/cmdist/2020-September/008108.html

What am I missing?
Has anybody experienced the 'Couldn't find per display information' error?
Feels like I'm almost there :)

Thanks

Steve


More information about the Cmdist mailing list