I installed PSPP from MacPorts on Mac OS X 10.5.8. When I launch the psppire GUI, it displays the splash screen, opens its main window, then crashes a couple of seconds later:
$ /opt/local/bin/psppire Xlib: extension "RANDR" missing on display "/tmp/launch-T7iqdy/:0".(psppire:64632): Gtk-WARNING **: Could not find the icon 'application-x-spss-sav'. The 'hicolor' theme was not found either, perhaps you need to install it. You can get a copy from: http://icon-theme.freedesktop.org/releases ** Gtk:ERROR:gtkrecentmanager.c:1942:get_icon_fallback: assertion failed: (retval != NULL) Abort trap
Upgrading to the pspp-devel
beta version didn’t help.
Solution
Google found a recent ticket and discussion for the same problem with “MyPaint” installed from MacPorts. Maybe it’s a generic problem caused by a change to MacPorts. Dunno, but the same workaround fixed PSPP for me:
- Install
gnome-icon-theme
via MacPorts - Create
~/.gtkrc-2.0
with the line
gtk-icon-theme-name = "gnome"
Ta-da:
$ /opt/local/bin/psppire
Xlib: extension "RANDR" missing on display "/tmp/launch-T7iqdy/:0".
The “RANDR” warning doesn’t seem to matter.