Re: Doubt about plotting on MAC OS X Catalina

2019-11-30 Thread Antonio Juan
Thanks for the tip! El dj., 28 de nov. 2019, 16:58, Elias Mårtenson va escriure: > There is no ldf on OSX if I'm not mistaken. I think you have to use otool. > > Do note that OSX doesn't behave much like a Unix, and newer version are > even more limited. > > You probably need to add the correct

Re: Doubt about plotting on MAC OS X Catalina

2019-11-28 Thread Elias Mårtenson
There is no ldf on OSX if I'm not mistaken. I think you have to use otool. Do note that OSX doesn't behave much like a Unix, and newer version are even more limited. You probably need to add the correct compiler flags manually since its possible autotools doesn't handle it right. On Thu, 28 Nov

Re: Doubt about plotting on MAC OS X Catalina

2019-11-28 Thread Elias Mårtenson
There should be no need for that. I haven't used OSX in some time, but the way it works is that you use the - framework flag which points to the library you want to use. The framework files contain both the libraries and the header files, and the compiler will automatically find them. On Thu, 28

Re: Doubt about plotting on MAC OS X Catalina

2019-11-28 Thread Dr . Jürgen Sauermann
Hi, so the headers are usable even though they don't exist. Interesting platform that you have there. In that situation I would (recursively) copy the header files from /opt/X11/include to /usr/include to make sure that they are found by both th

Re: Doubt about plotting on MAC OS X Catalina

2019-11-28 Thread Antonio Juan
Compiled well again same error, on apl interpreter This is the new configure output checking xcb/xcb.h usability... yes checking xcb/xcb.h presence... no configure: WARNING: xcb/xcb.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: xcb/xcb.h: proceeding with the comp

Re: Doubt about plotting on MAC OS X Catalina

2019-11-28 Thread Dr . Jürgen Sauermann
Hi Antonio, For X11 and friend to work you need two different things: 1. header files, e.g. xcb.h, Xlib.h, etc. 2. library files, e.g. libxcb.so.1, libX11.so.6, etc. These days libraries are often shipped in two different packages: one t

Re: Doubt about plotting on MAC OS X Catalina

2019-11-28 Thread Dr . Jürgen Sauermann
Hi, I would at least expect something like  CXXFLAGS="-I /opt/X11/include" ./configure (if that is the directory where your header files live). Best Regards, Jürgen On 11/28/19 1:05 PM, Antonio Juan wrote:

Re: Doubt about plotting on MAC OS X Catalina

2019-11-28 Thread Antonio Juan
So I need to change CXXFLAGS="-I /opt/X11" ./configure With this I not get anything I'm not sure where to point I have the X11 in my /opt/X11 export PKG_CONFIG_PATH=/usr/local/Cellar/gtk+/2.24.32_3/lib/pkgconfig:/opt/X11/lib/pkgconfig:/usr/local/Cellar/cairo/1.16.0_2/lib/pkgconfig Thanks for

Re: Doubt about plotting on MAC OS X Catalina

2019-11-28 Thread Antonio Juan
Hi i will check, The compilation ended, and done sudo make install, but I still have the same problem ⎕PLOT 1 2 3 4 5 SYNTAX ERROR+ ∩ ⎕PLOT 1 2 3 4 5 ^ )MORE ⎕PLOT is not available because one or more of its build prerequisites (in particular libX11.so) was missing, or be

Re: Doubt about plotting on MAC OS X Catalina

2019-11-28 Thread Dr . Jürgen Sauermann
Hi Juan, I see. I have changed the code so that it checks if POLLRDHUP is #defined. SVN 1207. Best Regards, Jürgen On 11/28/19 12:34 PM, Antonio Juan wrote: I have this lines /*

Re: Doubt about plotting on MAC OS X Catalina

2019-11-28 Thread Antonio Juan
I have this lines /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif > El 28 nov 2019, a las 12:22, Dr. Jürgen Sauermann > escribió: > > Hi again, > > another thing that you may want to check is that your config.h (which is > generated by

Re: Doubt about plotting on MAC OS X Catalina

2019-11-28 Thread Antonio Juan
Maybe could be useful the makefile Makefile Description: Binary data El 28 nov 2019, a las 10:31, Antonio Juan escribió:Thanks for your replies I'm using OSX Catalina 10.15.1,Like I commented, I have gnu-apl installed with homebrew and it works well except for the Plot feature.

Re: Doubt about plotting on MAC OS X Catalina

2019-11-28 Thread Dr . Jürgen Sauermann
Hi again, another thing that you may want to check is that your config.h (which is generated by ./configure) contains the following lines: /* Enable GNU extensions on systems that have them.  */ #ifndef _GNU_SOURCE # define

Re: Doubt about plotting on MAC OS X Catalina

2019-11-28 Thread Dr . Jürgen Sauermann
Hi Antonio, that seems to be an incompatibility between the commonly used libs and the Apple libs. Nothing that I could (or should) do anything about in GNU APL. As far as I can see you could probably remove the  POLLRDHUP without much harm so that th

Re: Doubt about plotting on MAC OS X Catalina

2019-11-28 Thread Antonio Juan
Hi thanks, I thinks that will be important to put the output of this things: ➜ svn co http://svn.savannah.gnu.org/svn/apl/trunk gnu-apl ... ... Agnu-apl/install-sh Checked out revision 1206. ➜ export PKG_CONFIG_PATH=/usr/local/Cellar/gtk+/2.24.32_3/lib/pkgconfig:/opt/X11/lib/pkgconfig:/usr/l

Re: Doubt about plotting on MAC OS X Catalina

2019-11-28 Thread Dr . Jürgen Sauermann
Hi Antonio, I fixed the -Wreturn-type warning  in SVN 1206. Best Regards, Jürgen Sauermann On 11/28/19 10:31 AM, Antonio Juan wrote: Thanks for your replies I'm using OSX Catalina 10.15.1, Like

Re: Doubt about plotting on MAC OS X Catalina

2019-11-28 Thread Antonio Juan
Thanks for your replies I'm using OSX Catalina 10.15.1, Like I commented, I have gnu-apl installed with homebrew and it works well except for the Plot feature. So it was a problem with X11 and GTK, for the X11 Lib I need Xquartz from https://www.xquartz.org/ This puts

Re: Doubt about plotting on MAC OS X Catalina

2019-11-27 Thread Jeff Derby
e so it is more specific than "Re: Contents of Bug-apl digest..." Today's Topics: 1. Re: Doubt about plotting on MAC OS X Catalina (Peter Teeson) -- Message: 1 Date: Wed, 27 Nov 2019 10:48:22 -0500 From:

Re: Doubt about plotting on MAC OS X Catalina

2019-11-27 Thread Peter Teeson
Hi: The Macintosh operating system used to be called OS X Then it was renamed macOS. That was around the time Apple created a spin off iOS for their mobile devices. So these days people refer to the hardware as Macs (both desktop and laptop) And iPhone, iPad, iWatch for their mobile devices. Wh

Re: Doubt about plotting on MAC OS X Catalina

2019-11-27 Thread Dr . Jürgen Sauermann
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

Re: Doubt about plotting on MAC OS X Catalina

2019-11-27 Thread Dr . Jürgen Sauermann
Hi, thanks, the LENGTH ERROR was incorrect and was fixed in SVN 1205 (yesterday). The background of the recent changes in ⎕PLOT was this: Plotting a matrix means that every row of the matrix represents one plot line (and a vector

Re: Doubt about plotting on MAC OS X Catalina

2019-11-27 Thread Antonio Juan
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

Re: Doubt about plotting on MAC OS X Catalina

2019-11-26 Thread Christian Robert via Bugs and suggestions for GNU APL
And note that ⎕PLOT plot matrix, not vector as in: ⎕PLOT 0 1 ¯1 2 ¯2 3 ¯3 LENGTH ERROR ⎕PLOT 0 1 ¯1 2 ¯2 3 ¯3 ^ ⎕PLOT 1 7 ⍴ 0 1 ¯1 2 ¯2 3 ¯3 139625030256384 ⍝ <- X11 handle to possibly close later I'm not sure if the behavior changed lately... me too I though I could

Re: Doubt about plotting on MAC OS X Catalina

2019-11-26 Thread Dr . Jürgen Sauermann
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 libra

Doubt about plotting on MAC OS X Catalina

2019-11-26 Thread Antonio Juan
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