bug-apl
[Top][All Lists]
Advanced

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

Re: Doubt about plotting on MAC OS X Catalina


From: Dr . Jürgen Sauermann
Subject: Re: Doubt about plotting on MAC OS X Catalina
Date: Wed, 27 Nov 2019 13:12:26 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

Hi,

there is a very nice description of how to install GNU APL on Macintosh written
by Peter Teeson. You can find in in the HOWTOs directory.

I don't know if Macintosh uses OSX, but Peters document is anyhow worthwhile reading.

BTW I have updated the ⎕PLOT error message to be more specific as to which library is missing.

Best Rgeards,
Jürgen Sauermann


On 11/27/19 12:32 PM, Antonio Juan wrote:
Thanks; I need to completely read the GNU-APL DOC, sorry about that

You are right the problem is with the libxcb.

⎕plot 1 2 3 4 5
SYNTAX ERROR+
      ⎕PLOT 1 2 3 4 5
      ^
      )MORE
⎕PLOT is not available because either no libxcb library was found on this
system when GNU APL was compiled, or because it was disabled in ./configure.

Exist a tutorials for building gnu-apl in OSX

Thanks for your time

Toni 

El 26 nov 2019, a las 17:27, Dr. Jürgen Sauermann <address@hidden> escribió:

Hi Toni,

the + character after
SYNTAX ERROR (or any other APL error) indicates that there
is more information available regarding that error. The additional information
can be displayed with command )MORE.

I suspect that in this particular case libraries needed for plotting (essentially libX11.so,
libxcb.so, and libX11-xcb.so) were missing on the platform where GNU APL was compiled
(i.e. your own machine if you compiled from source or the build machine of a package if
you installed a binary package).

For ⎕PLOT to work, you may need to compile the interpreter from source with the required
X libraries installed beforehand.

Best Regards,
Jürgen Sauermann


On 11/26/19 2:27 PM, Antonio Juan wrote:
Thanks for this awesome software. I have installed gnu plot 1.8 from brew package. It works well, and good integration with emacs. So it is a good environment for learning APL.

The only think is that when I try to plot I always get the following error:

       ⎕PLOT 0 1 ¯1 2 ¯2 3 ¯3
SYNTAX ERROR+
      ⎕PLOT 0 1 ¯1 2 ¯2 3 ¯3
      ^

I do not see anywhere, if is needed to load a workspace, or the needed for some environment configuration during installation. So really I do not know how to proceed.

Thanks for your time

Toni





reply via email to

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