So sorry - belatedly realised that include is in angle brackets. Installed
the libpng-dev and this fixes the problem. Then the only other issue is
that make install needs to be run as sudo. I now have a working version of
apl.
Sorry to bother you and thank you so much for creating and maintaining a
free version of apl.

Kind regards
Steve


On Fri, 14 Oct 2022 at 09:46, Steve Clay <steve.c...@gmail.com> wrote:

> Hi
>
> I am interested in learning apl and was delighted to find your site about
> GNU APL.
>
> I am using Ubuntu 22.04.1  (64 bit on an i3 machine).
>
> I didn't have subversion but installed it without any problems using apt.
> I already had gcc installed.
> I then downloaded the apl source code using this command:
>
> $ svn checkout http://svn.savannah.gnu.org/svn/apl/trunk
>
> This created a folder called trunk. I used 'cd trunk' to get into the
> folder and, having read the readme and install files, tried to build apl
> using this command:
>
> $ ./configure && make && make install
>
> The process compiled quite a lot of source files but stopped with a fatal
> error while trying to compile Quad_PNG.cc. The fatal error was caused by
> not having png.h. This is the third include in the .cc file. The file isn't
> amongst the source files, should it be somewhere else?
>
> Could you advise me please on how to fix this problem?
> Thank you.
> Kind regards
> Steve Clay
>
>

Reply via email to