Re: Error buildin APL on Linux
Built perfectly. Thanks! Blake On Fri, Mar 15, 2024 at 9:42 AM Dr. Jürgen Sauermann < mail@jürgen-sauermann.de> wrote: > Hi Blake, > > thanks, fixed in *SVN 1767*. > > Best Regards, > Jürgen > > > On 3/14/24 14:52, Blake McBride wrote: > > Dear Dr. Sauermann, > > Thanks, but I get a different error now as follows: > > [...] > g++ -DHAVE_CONFIG_H -I. -I..-Wall -I sql -I /home/blake/Backup/apl > -I/usr/include -I/usr/include-Wno-maybe-uninitialized > -Wno-class-memaccess -I /home/blake/Backup/apl -MT apl-Quad_GTK.o -MD -MP > -MF .deps/apl-Quad_GTK.Tpo -c -o apl-Quad_GTK.o `test -f 'Quad_GTK.cc' || > echo './'`Quad_GTK.cc > mv -f .deps/apl-Quad_GTK.Tpo .deps/apl-Quad_GTK.Po > g++ -DHAVE_CONFIG_H -I. -I..-Wall -I sql -I /home/blake/Backup/apl > -I/usr/include -I/usr/include-Wno-maybe-uninitialized > -Wno-class-memaccess -I /home/blake/Backup/apl -MT apl-Quad_JSON.o -MD -MP > -MF .deps/apl-Quad_JSON.Tpo -c -o apl-Quad_JSON.o `test -f 'Quad_JSON.cc' > || echo './'`Quad_JSON.cc > mv -f .deps/apl-Quad_JSON.Tpo .deps/apl-Quad_JSON.Po > g++ -DHAVE_CONFIG_H -I. -I..-Wall -I sql -I /home/blake/Backup/apl > -I/usr/include -I/usr/include-Wno-maybe-uninitialized > -Wno-class-memaccess -I /home/blake/Backup/apl -MT apl-Quad_MAP.o -MD -MP > -MF .deps/apl-Quad_MAP.Tpo -c -o apl-Quad_MAP.o `test -f 'Quad_MAP.cc' || > echo './'`Quad_MAP.cc > mv -f .deps/apl-Quad_MAP.Tpo .deps/apl-Quad_MAP.Po > g++ -DHAVE_CONFIG_H -I. -I..-Wall -I sql -I /home/blake/Backup/apl > -I/usr/include -I/usr/include-Wno-maybe-uninitialized > -Wno-class-memaccess -I /home/blake/Backup/apl -MT apl-Quad_PLOT.o -MD -MP > -MF .deps/apl-Quad_PLOT.Tpo -c -o apl-Quad_PLOT.o `test -f 'Quad_PLOT.cc' > || echo './'`Quad_PLOT.cc > mv -f .deps/apl-Quad_PLOT.Tpo .deps/apl-Quad_PLOT.Po > g++ -DHAVE_CONFIG_H -I. -I..-Wall -I sql -I /home/blake/Backup/apl > -I/usr/include -I/usr/include-Wno-maybe-uninitialized > -Wno-class-memaccess -I /home/blake/Backup/apl -MT apl-Quad_PNG.o -MD -MP > -MF .deps/apl-Quad_PNG.Tpo -c -o apl-Quad_PNG.o `test -f 'Quad_PNG.cc' || > echo './'`Quad_PNG.cc > Quad_PNG.cc:143:1: error: variable or field ‘PNG_warn’ declared void > 143 | PNG_warn(png_structp png_ptr, png_const_charp reason) > | ^~~~ > Quad_PNG.cc:143:10: error: ‘png_structp’ was not declared in this scope > 143 | PNG_warn(png_structp png_ptr, png_const_charp reason) > | ^~~ > Quad_PNG.cc:143:31: error: ‘png_const_charp’ was not declared in this scope > 143 | PNG_warn(png_structp png_ptr, png_const_charp reason) > | ^~~ > Quad_PNG.cc:150:1: error: variable or field ‘PNG_err’ declared void > 150 | PNG_err(png_structp png_ptr, png_const_charp reason) > | ^~~ > Quad_PNG.cc:150:9: error: ‘png_structp’ was not declared in this scope > 150 | PNG_err(png_structp png_ptr, png_const_charp reason) > | ^~~ > Quad_PNG.cc:150:30: error: ‘png_const_charp’ was not declared in this scope > 150 | PNG_err(png_structp png_ptr, png_const_charp reason) > | ^~~ > Quad_PNG.cc: In static member function ‘static Value_P > Quad_PNG::read_PNG_file(const UTF8_string&)’: > Quad_PNG.cc:179:1: error: ‘png_structp’ was not declared in this scope > 179 | png_structp png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, > | ^~~ > Quad_PNG.cc:181:9: error: ‘png_ptr’ was not declared in this scope > 181 |if (!png_ptr) WS_FULL; > | ^~~ > Quad_PNG.cc:183:1: error: ‘png_infop’ was not declared in this scope > 183 | png_infop info_ptr = png_create_info_struct(png_ptr); > | ^ > Quad_PNG.cc:184:9: error: ‘info_ptr’ was not declared in this scope; did > you mean ‘ino_t’? > 184 |if (!info_ptr) WS_FULL; > | ^~~~ > | ino_t > Quad_PNG.cc:186:17: error: ‘png_ptr’ was not declared in this scope > 186 | png_init_io(png_ptr, in); > | ^~~ > Quad_PNG.cc:186:5: error: ‘png_init_io’ was not declared in this scope > 186 | png_init_io(png_ptr, in); > | ^~~ > Quad_PNG.cc:193:27: error: ‘info_ptr’ was not declared in this scope; did > you mean ‘ino_t’? > 193 |png_read_info(png_ptr, info_ptr); > | ^~~~ > | ino_t > Quad_PNG.cc:193:4: error: ‘png_read_info’ was not declared in this scope > 193 |png_read_info(png_ptr, info_ptr); > |^ > Quad_PNG.cc:197:19: error: ‘png_get_image_width’ was not declared in this > scope > 197 | const int width = png_get_image_width(png_ptr, info_ptr); > | ^~~ > Quad_PNG.cc:198:20: error: ‘png_get_image_height’ was not declared in this > scope > 198 | const int height = png_get_image_height(png_ptr, info_ptr); > |^~~~ > Quad_PNG.cc:199:24: error:
Re: Error buildin APL on Linux
Hi Blake, thanks, fixed in *SVN 1767*. Best Regards, Jürgen On 3/14/24 14:52, Blake McBride wrote: Dear Dr. Sauermann, Thanks, but I get a different error now as follows: [...] g++ -DHAVE_CONFIG_H -I. -I.. -Wall -I sql -I /home/blake/Backup/apl -I/usr/include -I/usr/include -Wno-maybe-uninitialized -Wno-class-memaccess -I /home/blake/Backup/apl -MT apl-Quad_GTK.o -MD -MP -MF .deps/apl-Quad_GTK.Tpo -c -o apl-Quad_GTK.o `test -f 'Quad_GTK.cc' || echo './'`Quad_GTK.cc mv -f .deps/apl-Quad_GTK.Tpo .deps/apl-Quad_GTK.Po g++ -DHAVE_CONFIG_H -I. -I.. -Wall -I sql -I /home/blake/Backup/apl -I/usr/include -I/usr/include -Wno-maybe-uninitialized -Wno-class-memaccess -I /home/blake/Backup/apl -MT apl-Quad_JSON.o -MD -MP -MF .deps/apl-Quad_JSON.Tpo -c -o apl-Quad_JSON.o `test -f 'Quad_JSON.cc' || echo './'`Quad_JSON.cc mv -f .deps/apl-Quad_JSON.Tpo .deps/apl-Quad_JSON.Po g++ -DHAVE_CONFIG_H -I. -I.. -Wall -I sql -I /home/blake/Backup/apl -I/usr/include -I/usr/include -Wno-maybe-uninitialized -Wno-class-memaccess -I /home/blake/Backup/apl -MT apl-Quad_MAP.o -MD -MP -MF .deps/apl-Quad_MAP.Tpo -c -o apl-Quad_MAP.o `test -f 'Quad_MAP.cc' || echo './'`Quad_MAP.cc mv -f .deps/apl-Quad_MAP.Tpo .deps/apl-Quad_MAP.Po g++ -DHAVE_CONFIG_H -I. -I.. -Wall -I sql -I /home/blake/Backup/apl -I/usr/include -I/usr/include -Wno-maybe-uninitialized -Wno-class-memaccess -I /home/blake/Backup/apl -MT apl-Quad_PLOT.o -MD -MP -MF .deps/apl-Quad_PLOT.Tpo -c -o apl-Quad_PLOT.o `test -f 'Quad_PLOT.cc' || echo './'`Quad_PLOT.cc mv -f .deps/apl-Quad_PLOT.Tpo .deps/apl-Quad_PLOT.Po g++ -DHAVE_CONFIG_H -I. -I.. -Wall -I sql -I /home/blake/Backup/apl -I/usr/include -I/usr/include -Wno-maybe-uninitialized -Wno-class-memaccess -I /home/blake/Backup/apl -MT apl-Quad_PNG.o -MD -MP -MF .deps/apl-Quad_PNG.Tpo -c -o apl-Quad_PNG.o `test -f 'Quad_PNG.cc' || echo './'`Quad_PNG.cc Quad_PNG.cc:143:1: error: variable or field ‘PNG_warn’ declared void 143 | PNG_warn(png_structp png_ptr, png_const_charp reason) | ^~~~ Quad_PNG.cc:143:10: error: ‘png_structp’ was not declared in this scope 143 | PNG_warn(png_structp png_ptr, png_const_charp reason) | ^~~ Quad_PNG.cc:143:31: error: ‘png_const_charp’ was not declared in this scope 143 | PNG_warn(png_structp png_ptr, png_const_charp reason) | ^~~ Quad_PNG.cc:150:1: error: variable or field ‘PNG_err’ declared void 150 | PNG_err(png_structp png_ptr, png_const_charp reason) | ^~~ Quad_PNG.cc:150:9: error: ‘png_structp’ was not declared in this scope 150 | PNG_err(png_structp png_ptr, png_const_charp reason) | ^~~ Quad_PNG.cc:150:30: error: ‘png_const_charp’ was not declared in this scope 150 | PNG_err(png_structp png_ptr, png_const_charp reason) | ^~~ Quad_PNG.cc: In static member function ‘static Value_P Quad_PNG::read_PNG_file(const UTF8_string&)’: Quad_PNG.cc:179:1: error: ‘png_structp’ was not declared in this scope 179 | png_structp png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, | ^~~ Quad_PNG.cc:181:9: error: ‘png_ptr’ was not declared in this scope 181 | if (!png_ptr) WS_FULL; | ^~~ Quad_PNG.cc:183:1: error: ‘png_infop’ was not declared in this scope 183 | png_infop info_ptr = png_create_info_struct(png_ptr); | ^ Quad_PNG.cc:184:9: error: ‘info_ptr’ was not declared in this scope; did you mean ‘ino_t’? 184 | if (!info_ptr) WS_FULL; | ^~~~ | ino_t Quad_PNG.cc:186:17: error: ‘png_ptr’ was not declared in this scope 186 | png_init_io(png_ptr, in); | ^~~ Quad_PNG.cc:186:5: error: ‘png_init_io’ was not declared in this scope 186 | png_init_io(png_ptr, in); | ^~~ Quad_PNG.cc:193:27: error: ‘info_ptr’ was not declared in this scope; did you mean ‘ino_t’? 193 | png_read_info(png_ptr, info_ptr); | ^~~~ | ino_t Quad_PNG.cc:193:4: error: ‘png_read_info’ was not declared in this scope 193 | png_read_info(png_ptr, info_ptr); | ^ Quad_PNG.cc:197:19: error: ‘png_get_image_width’ was not declared in this scope 197 | const int width = png_get_image_width(png_ptr, info_ptr); | ^~~ Quad_PNG.cc:198:20: error: ‘png_get_image_height’ was not declared in this scope 198 | const int height = png_get_image_height(png_ptr, info_ptr); | ^~~~ Quad_PNG.cc:199:24: error: ‘png_get_color_type’ was not declared in this scope 199 | const int color_type = png_get_color_type(png_ptr, info_ptr); | ^~ Quad_PNG.cc:200:23: error: ‘png_get_bit_depth’ was not declared in this scope 200 | const int
Re: Error buildin APL on Linux
Dear Dr. Sauermann, Thanks, but I get a different error now as follows: [...] g++ -DHAVE_CONFIG_H -I. -I..-Wall -I sql -I /home/blake/Backup/apl -I/usr/include -I/usr/include-Wno-maybe-uninitialized -Wno-class-memaccess -I /home/blake/Backup/apl -MT apl-Quad_GTK.o -MD -MP -MF .deps/apl-Quad_GTK.Tpo -c -o apl-Quad_GTK.o `test -f 'Quad_GTK.cc' || echo './'`Quad_GTK.cc mv -f .deps/apl-Quad_GTK.Tpo .deps/apl-Quad_GTK.Po g++ -DHAVE_CONFIG_H -I. -I..-Wall -I sql -I /home/blake/Backup/apl -I/usr/include -I/usr/include-Wno-maybe-uninitialized -Wno-class-memaccess -I /home/blake/Backup/apl -MT apl-Quad_JSON.o -MD -MP -MF .deps/apl-Quad_JSON.Tpo -c -o apl-Quad_JSON.o `test -f 'Quad_JSON.cc' || echo './'`Quad_JSON.cc mv -f .deps/apl-Quad_JSON.Tpo .deps/apl-Quad_JSON.Po g++ -DHAVE_CONFIG_H -I. -I..-Wall -I sql -I /home/blake/Backup/apl -I/usr/include -I/usr/include-Wno-maybe-uninitialized -Wno-class-memaccess -I /home/blake/Backup/apl -MT apl-Quad_MAP.o -MD -MP -MF .deps/apl-Quad_MAP.Tpo -c -o apl-Quad_MAP.o `test -f 'Quad_MAP.cc' || echo './'`Quad_MAP.cc mv -f .deps/apl-Quad_MAP.Tpo .deps/apl-Quad_MAP.Po g++ -DHAVE_CONFIG_H -I. -I..-Wall -I sql -I /home/blake/Backup/apl -I/usr/include -I/usr/include-Wno-maybe-uninitialized -Wno-class-memaccess -I /home/blake/Backup/apl -MT apl-Quad_PLOT.o -MD -MP -MF .deps/apl-Quad_PLOT.Tpo -c -o apl-Quad_PLOT.o `test -f 'Quad_PLOT.cc' || echo './'`Quad_PLOT.cc mv -f .deps/apl-Quad_PLOT.Tpo .deps/apl-Quad_PLOT.Po g++ -DHAVE_CONFIG_H -I. -I..-Wall -I sql -I /home/blake/Backup/apl -I/usr/include -I/usr/include-Wno-maybe-uninitialized -Wno-class-memaccess -I /home/blake/Backup/apl -MT apl-Quad_PNG.o -MD -MP -MF .deps/apl-Quad_PNG.Tpo -c -o apl-Quad_PNG.o `test -f 'Quad_PNG.cc' || echo './'`Quad_PNG.cc Quad_PNG.cc:143:1: error: variable or field ‘PNG_warn’ declared void 143 | PNG_warn(png_structp png_ptr, png_const_charp reason) | ^~~~ Quad_PNG.cc:143:10: error: ‘png_structp’ was not declared in this scope 143 | PNG_warn(png_structp png_ptr, png_const_charp reason) | ^~~ Quad_PNG.cc:143:31: error: ‘png_const_charp’ was not declared in this scope 143 | PNG_warn(png_structp png_ptr, png_const_charp reason) | ^~~ Quad_PNG.cc:150:1: error: variable or field ‘PNG_err’ declared void 150 | PNG_err(png_structp png_ptr, png_const_charp reason) | ^~~ Quad_PNG.cc:150:9: error: ‘png_structp’ was not declared in this scope 150 | PNG_err(png_structp png_ptr, png_const_charp reason) | ^~~ Quad_PNG.cc:150:30: error: ‘png_const_charp’ was not declared in this scope 150 | PNG_err(png_structp png_ptr, png_const_charp reason) | ^~~ Quad_PNG.cc: In static member function ‘static Value_P Quad_PNG::read_PNG_file(const UTF8_string&)’: Quad_PNG.cc:179:1: error: ‘png_structp’ was not declared in this scope 179 | png_structp png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, | ^~~ Quad_PNG.cc:181:9: error: ‘png_ptr’ was not declared in this scope 181 |if (!png_ptr) WS_FULL; | ^~~ Quad_PNG.cc:183:1: error: ‘png_infop’ was not declared in this scope 183 | png_infop info_ptr = png_create_info_struct(png_ptr); | ^ Quad_PNG.cc:184:9: error: ‘info_ptr’ was not declared in this scope; did you mean ‘ino_t’? 184 |if (!info_ptr) WS_FULL; | ^~~~ | ino_t Quad_PNG.cc:186:17: error: ‘png_ptr’ was not declared in this scope 186 | png_init_io(png_ptr, in); | ^~~ Quad_PNG.cc:186:5: error: ‘png_init_io’ was not declared in this scope 186 | png_init_io(png_ptr, in); | ^~~ Quad_PNG.cc:193:27: error: ‘info_ptr’ was not declared in this scope; did you mean ‘ino_t’? 193 |png_read_info(png_ptr, info_ptr); | ^~~~ | ino_t Quad_PNG.cc:193:4: error: ‘png_read_info’ was not declared in this scope 193 |png_read_info(png_ptr, info_ptr); |^ Quad_PNG.cc:197:19: error: ‘png_get_image_width’ was not declared in this scope 197 | const int width = png_get_image_width(png_ptr, info_ptr); | ^~~ Quad_PNG.cc:198:20: error: ‘png_get_image_height’ was not declared in this scope 198 | const int height = png_get_image_height(png_ptr, info_ptr); |^~~~ Quad_PNG.cc:199:24: error: ‘png_get_color_type’ was not declared in this scope 199 | const int color_type = png_get_color_type(png_ptr, info_ptr); |^~ Quad_PNG.cc:200:23: error: ‘png_get_bit_depth’ was not declared in this scope 200 | const int bit_depth = png_get_bit_depth(png_ptr, info_ptr); | ^ Quad_PNG.cc:239:22: error: ‘PNG_COLOR_TYPE_PALETTE’ was not
Re: Error buildin APL on Linux
Hi Blake, thanks, fixed in *SVN 1765*. Best Regards, Jürgen On 3/10/24 17:58, Blake McBride wrote: Greetings, I am getting the following error building GNU APL on a Fedora Linux box: [...] /usr/bin/mkdir -p '/usr/local/share/doc/apl' /usr/bin/install -c -m 644 SQL.apl '/usr/local/share/doc/apl' make[3]: Leaving directory '/home/blake/Backup/apl/src/sql' make[2]: Leaving directory '/home/blake/Backup/apl/src/sql' Making install in workspaces make[2]: Entering directory '/home/blake/Backup/apl/src/workspaces' make[3]: Entering directory '/home/blake/Backup/apl/src/workspaces' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/blake/Backup/apl/src/workspaces' make[2]: Leaving directory '/home/blake/Backup/apl/src/workspaces' make[2]: Entering directory '/home/blake/Backup/apl/src' g++ -DHAVE_CONFIG_H -I. -I.. -Wall -I sql -I /home/blake/Backup/apl -I/usr/include -I/usr/include -Wno-maybe-uninitialized -Wno-class-memaccess -I /home/blake/Backup/apl -MT apl-Quad_PNG.o -MD -MP -MF .deps/apl-Quad_PNG.Tpo -c -o apl-Quad_PNG.o `test -f 'Quad_PNG.cc' || echo './'`Quad_PNG.cc Quad_PNG.cc:48:10: fatal error: png.h: No such file or directory 48 | #include | ^~~ compilation terminated. $ svn info Path: . Working Copy Root Path: /home/blake/Backup/gnu-apl.svn URL: http://svn.savannah.gnu.org/svn/apl/trunk Relative URL: ^/trunk Repository Root: http://svn.savannah.gnu.org/svn/apl Repository UUID: bd74f7bd-1a55-4bac-9fab-68015b139e80 Revision: 1764 Node Kind: directory Schedule: normal Last Changed Author: j_sauermann Last Changed Rev: 1764 Last Changed Date: 2024-03-10 06:14:43 -0500 (Sun, 10 Mar 2024) --blake