bug-apl
[Top][All Lists]
Advanced

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

Re: GNU APL now requires bash shell and in-tree builds


From: Dr . Jürgen Sauermann
Subject: Re: GNU APL now requires bash shell and in-tree builds
Date: Mon, 12 Apr 2021 11:47:31 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

Hi Alexander,

thanks, fixed in SVN 1470.

The bind() error is somewhat strange because:

- in the same file (main.cc), accept() (a companion of bind()) works without :: and
- in other files bind() also works without ::

I suppose some other #include file declares bind() differently (which
would be an error in the platform).

Best Regards,
Jürgen


On 4/11/21 10:53 PM, Alexander Shendi wrote:
Dear list,

I tried out SVN 1468, but still had to modify the following files
*   . /configure (replace "source" with ".")
*   . /src/main.cc (replace "bind" with "::bind" on line 300

Thanks in advance for your help.

/Alexander

Am 11. April 2021 15:26:44 MESZ schrieb "Callahan, Brian Robert" <callab5@rpi.edu>:
Hello --

In fixing Alexander's issue, I found these lines in the GNU APL
Makefile I have never seen before:
buildtag.hh: Makefile buildtag.sh
       source ${top_srcdir}/buildtag.sh
       touch $@

The source command is a bash built-in and won't work on other shells,
like OpenBSD ksh.

Additionally, even with bash, this command does not work if doing an
out-of-tree build, which is the way I have always built GNU APL and
which autotools are supposed to make easy to do.

Thanks.

~Brian

________________________________
Brian Robert Callahan, Ph.D.
Lecturer, ITWS@RPI
Office: Lally 304
--
Ceci n'est pas un courriel.



reply via email to

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