How to fix PSPP’s psppire crashing right after launch (Mac OS 10.5.8)

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:

  1. Install gnome-icon-theme via MacPorts
  2. 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".

PSPP screenshot

The “RANDR” warning doesn’t seem to matter.

Posted in Tips. Tags: , , . Leave a Comment »
Follow

Get every new post delivered to your Inbox.

Join 63 other followers