X11 problems

View: New views
1 Messages — Rating Filter:   Alert me  

X11 problems

by Steve Kirkby-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Beginner here. Perhaps someone, including Paulo Moura, could help with my
problem. Mac G5. OS 10.5.8.

With Nicolas Pelletier's help (for which many thanks) I have got SWI-Prolog
to launch. (That is, swipl runs). I launched the X11 that came with my Mac
and downloaded X11Quartz and ran that (both in my applications/Utilities
folder). At first I managed to create a small data base:

[user].
loves(simon,mary). etc., and ask questions:

loves(X,mary). Also, help(help) worked.

Then, for no reason I could see, I cannot even do that. Entering data into
the database immediately results in an error message about unknown
something. (I cannot reproduce the message for the reason in the next
paragraph).

Now, I can't even get X11 to launch. When double-clicking on the Mac OS X11
I get a message box stating that "X11 failed to load, do I want to
re-launch?" Accepting that repeats the message and even if I dismiss the
massage box it reappears repeatedly at five second intervals and I have to
restart my computer to get rid of it.

In using X11 I tried the following variations:

Mac OS X11 only; Mac X11 + X11Quartz; Mac X11 + X11Quartz + Mac X11 SDK
(suggested by Nicolas); X11Quartz only; X11Quartz + Mac X11 SDK; Mac X11 +
Mac X11 SDK.

I have also tried running X11Quartz before running Mac OS X11 and after.

When I first ran X11Quartz the icon for Mac OS X11 changed to include an
orange circle and there was no sign of X11Quartz. In all later attempts the
circle has not appeared but X11Quartz has, and I have run that as well.

If I do help(help). I get text surrounded with asterisks telling me that X11
has not been run, followed by lots of error messages.

I conclude from this that X11 is not running, or not running properly.

Can anyone advise on what the problem is and how to cure it? Please note
that although I have programmed in BASIC for many years I am totally
unfamiliar with Terminal, and indeed terrified by it because it is so
unforgiving.

Thanks for any help.

Steve Kirkby.

_______________________________________________
SWI-Prolog mailing list
SWI-Prolog@...
https://mailbox.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog