Re: [Bug-apl] Python Interface

2019-06-17 Thread Dr . Jürgen Sauermann
Hi, thanks, good to know. My personal feeling is that Python configuration is an unportable mess. If I run python3-config, then I get: pyenv: python3-config: command not found The `python3-config' command exists in these Py

Re: [Bug-apl] Python Interface

2019-06-17 Thread Christian Robert
I made it work but only with some works Makefile.am from: lib_gnu_apl_la_CXXFLAGS += -I/usr/include/python3.4m to: lib_gnu_apl_la_CXXFLAGS += `python3-config --includes` then run: "autoreconf" ./configure --with-python make -j4 sudo make install then had to run

[Bug-apl] fpc/freepascal interface

2019-06-17 Thread enztec
Hi Jürgen, > Regarding fpc it depends on how they have built their C/C++ interface (if > they did). > The last time I used Pascal was the time when the only other programming > language on my platform was BASIC. So I am not really up-to-date with Pascal. > If you want to try it, then I can hel

Re: [Bug-apl] Python Interface

2019-06-17 Thread Dr . Jürgen Sauermann
the effort should be rather low. If you look at the Python interface (file src/python_apl.cc) then it has only 823 lines of C++ code. The python interface is a re-write of libapl so I could have used libapl to further reduce the code size. But I found it

Re: [Bug-apl] Python Interface

2019-06-17 Thread Dr . Jürgen Sauermann
Hi, I haven't tried Python 2.7 but it may work. I followed the instructions in https://docs.python.org/3.3/c-api I personally find Python 2.7 somewhat odd, so I never considered it. According to ./configure  --help: ..