Hi John, sorry for dumping this code in the list. You can read it here:
http://lists.gnu.org/archive/html/pspp-users/2016-03/msg00096.html Friedrich > Am 31.03.2016 um 14:00 schrieb John Darrington <j...@darrington.wattle.id.au>: > > Sorry. I can't read mail in HTML. > > On Thu, Mar 31, 2016 at 11:21:06AM +0200, Friedrich Beckmann wrote: > html>head><meta http-equiv="Content-Type content="text/html > charset=utf-8"><meta http-equiv="Content-Type" content="text/html > charset=utf-8"><meta http-equiv="Content-Type" content="text/html > charset=utf-8"><meta http-equiv="Content-Type" content="text/html > charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: > space; -webkit-line-break: after-white-space;" class="" dir="auto">Hi > Georg,<div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div > class="">a) Install XQuartz without macports as an install package > via <a href="http://www.xquartz.org" > class="">http://www.xquartz.org</a></div><div class="">b) Install XQuartz via > macports (port: xorg-server)</div><div class=""><br class=""></div><div > class="">Depending on this a different launchdaemon script has to be active. > I have installed XQuartz via macports. My</div><div class="">display variable > is:</div><div class=""><br class=""></div><div class=""><div style="margin: > 0px; font-size: 11px; line-height: normal; font-family: Menlo;" > class=""><span style="font-variant-ligatures: no-common-ligatures" > class="">FriedrichsMacBook:~ fritz$ echo $DISPLAY</span></div><div > style="margin: 0px; font-size: 11px; line-height: normal; font-family: > Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" > class="">/private/tmp/com.apple.launchd.sTURE7Hzol/org.macports:0</span></div></div><div > class=""><br class=""></div><div class="">The scripts for the launchdaemon > are here:</div><div class=""><div style="margin: 0px; font-size: 11px; > line-height: normal; font-family: Menlo;" class=""><span > style="font-variant-ligatures: no-common-ligatures" > class="">FriedrichsMacBook:~ fritz$ ls -la > /Library/LaunchAgents/org.mac*</span></div><div style="margin: 0px; > font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span > style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- > 1 root wheel 721 16 Okt 10:48 > /Library/LaunchAgents/org.macosforge.xquartz.startx.plist</span></div><div > style="margin: 0px; font-size: 11px; line-height: normal; font-family: > Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" > class="">-rw-r--r-- 1 root wheel 632 2 Jan 09:43 > /Library/LaunchAgents/org.macports.startx.plist</span></div></div><div > class=""><br class=""></div><div class="">In order to install the right > script you use launchctl. I now use the XServer which is installed via > macports. To</div><div class="">enable the launch script:</div><div > class=""><br class=""></div><div class=""><span style="font-family: Menlo; > font-size: 11px;" class="">FriedrichsMacBook:~ fritz$ launchctl load > -w </span><span style="font-family: Menlo; font-size: 11px;" > class="">/Library/LaunchAgents/org.macports.startx.plist</span></div><div > class=""><br class=""></div><div class="">This will enable the launch script > for the macports server. Maybe you need to disable the other one via > ???unload???.</div><div class="">Now logout and login again. You can test the > proper behavior by starting any x application.</div><div class=""><br > class=""></div><div class=""><span style="font-family: Menlo; font-size: > 11px;" class="">FriedrichsMacBook:~ fritz$ x</span><font face="Menlo" > size="3" class="">logo</font></div><div class=""><br class=""></div><div > class="">If everything works, you should see the Xlogo window opening. You > can start the pspp gui via</div><div class=""><br class=""></div><div > class=""><span style="font-family: Menlo; font-size: 11px;" > class="">FriedrichsMacBook:~ fritz$ psppire</span></div><div class=""><br > class=""></div><div class="">The launch script is persistent over boot. So > after this you can run psppire always by just typing psppire in a > terminal.</div><div class=""><br class=""></div><div > class="">Friedrich</div><div class=""><br class=""></div><div class=""><div > class=""><blockquote type="cite" class=""><div class="">Am 30.03.2016 um > 09:10 schrieb Georg Kessler <<a href="mailto:kessler.ge...@gmail.com" > class="">kessler.ge...@gmail.com</a>>:</div><br > class="Apple-interchange-newline"><div class=""><meta > http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div > style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: > after-white-space;" class="">Hallo Friedrich,<div class=""><br > class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">Wie rufe ich denn > das Programm ??berhaupt auf?</div><div class=""><br class=""></div><div > class="">Beste Gr????e,</div><div class="">Georg<br class=""> > <br class=""><div class=""><blockquote <type="cite" class=""><div > class="">Am 13.03.2016 um 18:03 schrieb Friedrich Beckmann <<a > href="mailto:friedrich.beckm...@gmx.de" > class="">friedrich.beckm...@gmx.de</a>>:</div><br > class="Apple-interchange-newline"><div class=""><meta > http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div > style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: > after-white-space;" class="">Hi Georg,<div class=""><br class=""></div><div > class="">i just installed pspp-devel @0.9.0_14 on MacOS 10.11.3 and it > works.</div><div class=""><br class=""></div><div class="">Are you sure that > you have an XServer running? If you install just pspp-devel without</div><div > class="">any variant information, then an XServer is expected. An alternative > is the quartz variant which</div><div class="">will be based on the gtk3 > system without an xserver.</div><div class=""><br class=""></div><div > class="">Could you try to run in the terminal: xlogo</div><div class=""><br > class=""></div><div class="">You should see a window with an X.</div><div > class=""><br class=""></div><div class="">Cheers</div><div class=""><br > class=""></div><div class="">Friedrich</div><div class=""><br class=""><div > class=""><blockquote type="cite" class=""><div class="">Am 13.03.2016 um > 15:44 schrieb Georg Kessler <<a href="mailto:kessler.ge...@gmail.com" > class="">kessler.ge...@gmail.com</a>>:</div><br > class="Apple-interchange-newline"><div class=""><meta > http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div > style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: > after-white-space;" class="">Hello,<br class=""><br class="">I am no > experienced user of terminal commands and so I am quite lost with Macports > and the downloaded port PSPP-devel.<br class=""><br class="">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.<br class=""><br class="">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] <br class=""><br class="">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.<br class=""><br class="">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?<br class=""><br class="">Any > help from this community is very much appreciated!<br class=""><br > class="">Georg<br class=""><div class=""> > > Pspp-users@gnu.org > https://lists.gnu.org/mailman/listinfo/pspp-users > > > -- > Avoid eavesdropping. Send strong encryted email. > PGP Public key ID: 1024D/2DE827B3 > fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 > See http://sks-keyservers.net or any PGP keyserver for public key. > > _______________________________________________ > Pspp-users mailing list > Pspp-users@gnu.org > https://lists.gnu.org/mailman/listinfo/pspp-users -- Friedrich Beckmann, Bismarckstraße 11, 86159 Augsburg Tel: 0821-44923693, Mobil: 017648576782
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Pspp-users mailing list Pspp-users@gnu.org https://lists.gnu.org/mailman/listinfo/pspp-users