thanks for reporting this. I have replaced 'source' with '.' which should also
work in ksh. SVN 1467.
Best Regards,
Jürgen
On 4/11/21 3:15 PM, Callahan, Brian
Robert wrote:
Hello Alexander -- I get the same on -current/6.9. Attached is a better diff.~Brian ________________________________ Brian Robert Callahan, Ph.D. Lecturer, ITWS@RPI Office: Lally 304 ________________________________________ From: Bug-apl [bug-apl-bounces+callab5=rpi....@gnu.org] on behalf of Alexander Shendi [alexander.she...@web.de] Sent: Sunday, April 11, 2021 5:55 AM To: bug-apl@gnu.org Subject: At my C++ wits' end Dear GNU APLers, in a bout of Dunning-Krueger I have tried to build GNU APL (svn: 1466) from source. OS: OpenBSD 6.8-stable, amd64 Configure options --prefix=/home/alexshendi/.local/gnuapl/svn-1466 \ CC=clang CXX=clang++ LD=clang++ Contents of buildtag.hh: #define BUILDTAG PACKAGE_NAME, PACKAGE_VERSION " / SVN: 18005", "2021-04-09 13:44:09 UTC", "Linux 4.15.0-136-generic x86_64", "'--disable-maintainer-mode'" #define ARCHIVE_SVN " 17771" GNU make error mesage: gmake[3]: Entering directory '/home/alexshendi/sources/packages/gnuapl-svn-1466/src' clang++ -DHAVE_CONFIG_H -I. -I.. -Wall -I sql -I /home/alexshendi/sources/packages/gnuapl-svn-1466 -I/usr/local/include/gtk-3.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/X11R6/include -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/cairo -I/usr/X11R6/include/libdrm -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/local/include/harfbuzz -I/usr/local/include/atk-1.0 -I/usr/X11R6/include/pixman-1 -I/usr/X11R6/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -g -O2 -I /home/alexshendi/sources/packages/gnuapl-svn-1466 -MT apl-main.o -MD -MP -MF .deps/apl-main.Tpo -c -o apl-main.o `test -f 'main.cc' || echo './'`main.cc main.cc:301:8: error: value of type '__bind<const int &, const sockaddr *, unsigned long>' is not contextually convertible to 'bool' if (bind(listen_socket, (const sockaddr *)&local, sizeof(local))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. gmake[3]: *** [Makefile:3298: apl-main.o] Error 1 gmake[3]: Leaving directory '/home/alexshendi/sources/packages/gnuapl-svn-1466/src' gmake[2]: *** [Makefile:5012: all-recursive] Error 1 gmake[2]: Leaving directory '/home/alexshendi/sources/packages/gnuapl-svn-1466/src' gmake[1]: *** [Makefile:537: all-recursive] Error 1 gmake[1]: Leaving directory '/home/alexshendi/sources/packages/gnuapl-svn-1466' gmake: *** [Makefile:425: all] Error 2 Misc: I have modified main.cc to add extern "C" { #include <sys/socket.h> } after line 38. I would be grateful for any hints... Best Regards, /Alexander