[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with running port pspp-devel (MacOS X11 Server)

From: Friedrich Beckmann
Subject: Re: problem with running port pspp-devel (MacOS X11 Server)
Date: Thu, 31 Mar 2016 11:21:06 +0200

Hi Georg,

this is not a specific question for pspp but for macports X11 in general. Any application that requires X11 needs a proper X11 server running. There are two possible ways to get an Xserver under MacOS.

a) Install XQuartz without macports as an install package via
b) Install XQuartz via macports (port: xorg-server)

Depending on this a different launchdaemon script has to be active. I have installed XQuartz via macports. My
display variable is:

FriedrichsMacBook:~ fritz$ echo $DISPLAY

The scripts for the launchdaemon are here:
FriedrichsMacBook:~ fritz$ ls -la /Library/LaunchAgents/org.mac*
-rw-r--r--  1 root  wheel  721 16 Okt 10:48 /Library/LaunchAgents/org.macosforge.xquartz.startx.plist
-rw-r--r--  1 root  wheel  632  2 Jan 09:43 /Library/LaunchAgents/org.macports.startx.plist

In order to install the right script you use launchctl. I now use the XServer which is installed via macports. To
enable the launch script:

FriedrichsMacBook:~ fritz$ launchctl load -w /Library/LaunchAgents/org.macports.startx.plist

This will enable the launch script for the macports server. Maybe you need to disable the other one via „unload“.
Now logout and login again. You can test the proper behavior by starting any x application.

FriedrichsMacBook:~ fritz$ xlogo

If everything works, you should see the Xlogo window opening. You can start the pspp gui via

FriedrichsMacBook:~ fritz$ psppire

The launch script is persistent over boot. So after this you can run psppire always by just typing psppire in a terminal.


Am 30.03.2016 um 09:10 schrieb Georg Kessler <address@hidden>:

Hallo Friedrich,

Ich habe X11 (Version 2.7.5). Wenn ichs übers Terminal aufrufe so wie du anregst, dann kommt die Fehlermeldung „Can’t open display:“ und dann folgt ein Pfad an dessen Ende „…xquartz:0“ steht.

Wie rufe ich denn das Programm überhaupt auf?

Beste Grüße,

Am 13.03.2016 um 18:03 schrieb Friedrich Beckmann <address@hidden>:

Hi Georg,

i just installed pspp-devel @0.9.0_14 on MacOS 10.11.3 and it works.

Are you sure that you have an XServer running? If you install just pspp-devel without
any variant information, then an XServer is expected. An alternative is the quartz variant which
will be based on the gtk3 system without an xserver.

Could you try to run in the terminal: xlogo

You should see a window with an X.



Am 13.03.2016 um 15:44 schrieb Georg Kessler <address@hidden>:


I am no experienced user of terminal commands and so I am quite lost with Macports and the downloaded port PSPP-devel.

I managed to install PSPP on my MacOS 10.10. The last line of the installation reads: --->  No broken files found.    I believe, this is a good sign.

The content is there as well as a Unix executable PSPP. When I run it in the terminal I get the error message: Error: Error for opening the output file `pspp.jnl': Permission denied.  [original line in German: Fehler: Fehler beim Öffnen der Ausgabedatei `pspp.jnl': Permission denied]  

I did have hick-ups with installing the dependency Python because a .list-file already existed. Installation was aborted, but I could manually override this problem. Python got installed. I did not clean the port installation, though, because I forgot that. I am not sure whether that is meaningful information.

I would need help in overcoming this problem of running the program and also I would like to create an icon for my deck - does anybody have experience with that?

Any help from this community is very much appreciated!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]