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-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
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, 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 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 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 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 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
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 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 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 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 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, 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 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 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