|
From: | Louis Chretien |
Subject: | Re: ⎕PLOT library change |
Date: | Thu, 6 Aug 2020 12:58:51 -0400 |
I just updated to 1329, same error message. Here’s the ./configure output: Updated to revision 1329. Mac-Pro-Louis:Subversion lchretien$ ./build-apl.sh checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking whether make supports nested variables... yes checking dependency style of gcc... gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-apple-darwin18.7.0 checking host system type... x86_64-apple-darwin18.7.0 checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 196608 checking how to convert x86_64-apple-darwin18.7.0 file names to x86_64-apple-darwin18.7.0 format... func_convert_file_noop checking how to convert x86_64-apple-darwin18.7.0 file names to toolchain format... func_convert_file_noop checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dsymutil... dsymutil checking for nmedit... nmedit checking for lipo... lipo checking for otool... otool checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fno-common -DPIC checking if gcc PIC flag -fno-common -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin18.7.0 dyld checking how to hardcode library paths into programs... immediate checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fno-common -DPIC checking if g++ PIC flag -fno-common -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin18.7.0 dyld checking how to hardcode library paths into programs... immediate checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking for term.h... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking fftw3.h usability... no checking fftw3.h presence... no checking for fftw3.h... no checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for unistd.h... (cached) yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking ext/atomicity.h usability... no checking ext/atomicity.h presence... no checking for ext/atomicity.h... no checking xcb/xcb.h usability... no checking xcb/xcb.h presence... no checking for xcb/xcb.h... no checking X11/Xlib.h usability... no checking X11/Xlib.h presence... no checking for X11/Xlib.h... no checking X11/Xlib-xcb.h usability... no checking X11/Xlib-xcb.h presence... no checking for X11/Xlib-xcb.h... no checking X11/Xutil.h usability... no checking X11/Xutil.h presence... no checking for X11/Xutil.h... no checking utmpx.h usability... yes checking utmpx.h presence... yes checking for utmpx.h... yes checking for xcb/xproto.h... no checking for stdbool.h that conforms to C99... no checking for _Bool... no checking for inline... inline checking for int32_t... yes checking for int64_t... yes checking for off_t... yes checking for size_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for error_at_line... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for floor... yes checking for memset... yes checking for munmap... yes checking for pow... yes checking for sqrt... yes checking for strchr... yes checking for strerror... yes checking for setupterm in -lncurses... yes checking for XGetXCBConnection in -lX11-xcb... no checking for XOpenDisplay in -lX11... no checking for xcb_connect in -lxcb... no checking for socket in -lsocket... no checking for sem_init in -lpthread... yes checking for yp_all in -lnsl... no checking for acosh in -lm... yes checking for gtk_init in -lgtk-3... no checking for gdk_init in -lgdk-3... no checking for fftw_plan_dft in -lfftw3... no checking for backtrace in -lexecinfo... no checking for dlopen in -ldl... (cached) yes checking for cairo_fill in -lcairo... no checking for initstate_r in -lc... no checking for __atomic_fetch_add_4 in -latomicity... no checking for SQLite3 library >= 3.0.0... yes cat: /include/sqlite3.h: No such file or directory ./configure: line 18986: test: !=: unary operator expected configure: WARNING: Cannot find SQLITE_VERSION macro in sqlite3.h header to retrieve SQLite version! checking for pg_config... no checking for pcre2_compile_32 in -lpcre2-32... no checking whether support for ⎕GTK (needs GTK version 3) is desired... yes checking if pkg-config is executable... no (cannot use GTK without pkg-config) checking whether CPU has rdtsc (read CPU cycle counter) opcode... yes checking whether sem_init() works... no checking whether pthread_setaffinity_np is available... no checking whether pthread_setname_np is available... no checking whether OSAtomicAdd32Barrier() is available... no checking whether atomic_add_32_nv() is available... no checking if we are compiling for Android... no checking if we want to build an erlang interface (implies libapl.so)... no checking if we want to build libapl.so... no checking if we want to build libpython_apl.so... no checking whether internal performance counters shall be enabled)... no checking whether to remember the history of APL values (debug feature)... no checking whether gprof profiling shall be enabled... no checking whether gcov coverage testing shall be enabled... no checking whether dynamic logging shall be enabled... no checking whether value flags shall be traced... no checking how picky internal tests shall be... 1 checking security level (0=none, 1=configured in preferences, 2=all)... 0 checking how many CPU cores shall be used by APL (experimental!)... 0 checking which type of socket APserver shall use... 0 checking which port number APserver shall use for TCP or UDP sockets... 16366 checking which unix port name APserver shall use... /tmp/GNU-APL/APserver checking how long a short APL value shall be at most... 12 checking whether visible markers shall be used... no checking whether support for rational numbers is desired ... no checking whether we compile for an i686 CPU... no And i still get a link error near the end: mv -f sql/.deps/apl-Connection.Tpo sql/.deps/apl-Connection.Po /bin/sh ../libtool --tag=CXX --mode=link g++ -Wall -I sql -g -O2 -export-dynamic -lX11 -lsqlite3 -o apl apl-main.o apl-Plot_xcb.o apl-Archive.o apl-Assert.o apl-Avec.o apl-Backtrace.o apl-Bif_F12_DOMINO.o apl-Bif_F12_FORMAT.o apl-Bif_F12_PARTITION_PICK.o apl-Bif_F12_SORT.o apl-Bif_F12_TAKE_DROP.o apl-Bif_OPER1_COMMUTE.o apl-Bif_OPER1_EACH.o apl-Bif_OPER2_POWER.o apl-Bif_OPER2_INNER.o apl-Bif_OPER2_OUTER.o apl-Bif_OPER2_RANK.o apl-Bif_OPER1_REDUCE.o apl-Bif_OPER1_SCAN.o apl-CDR.o apl-Cell.o apl-Doxy.o apl-CharCell.o apl-Command.o apl-Common.o apl-ComplexCell.o apl-configure_args.o apl-DiffOut.o apl-DynamicObject.o apl-Error.o apl-Executable.o apl-FloatCell.o apl-Function.o apl-DerivedFunction.o apl-Id.o apl-IndexExpr.o apl-IndexIterator.o apl-InputFile.o apl-IntCell.o apl-IO_Files.o apl-LApack.o apl-LibPaths.o apl-LineInput.o apl-Logging.o apl-LvalCell.o apl-Malloc_hooks.o apl-Nabla.o apl-Macro.o apl-NamedObject.o apl-NativeFunction.o apl-NumericCell.o apl-Output.o apl-Parser.o apl-PointerCell.o apl-Prefix.o apl-Plot_line_properties.o apl-Plot_data.o apl-Plot_window_properties.o apl-PrimitiveFunction.o apl-PrimitiveOperator.o apl-PrintBuffer.o apl-QuadFunction.o apl-ProcessorID.o apl-Quad_CR.o apl-Quad_DLX.o apl-Quad_FFT.o apl-Quad_FIO.o apl-Quad_FX.o apl-Quad_GTK.o apl-Quad_MAP.o apl-Quad_PLOT.o apl-Quad_RE.o apl-Quad_RL.o apl-Quad_RVAL.o apl-Quad_SQL.o apl-Quad_SVx.o apl-Quad_TF.o apl-Quad_WA.o apl-Parallel.o apl-Performance.o apl-RealCell.o apl-sbrk.o apl-Shape.o apl-ScalarFunction.o apl-Security.o apl-StateIndicator.o apl-Svar_DB.o apl-Svar_record.o apl-Symbol.o apl-SymbolTable.o apl-SystemVariable.o apl-TabExpansion.o apl-Thread_context.o apl-Token.o apl-Tokenizer.o apl-UCS_string.o apl-UCS_string_vector.o apl-UserFunction.o apl-UserFunction_header.o apl-UserPreferences.o apl-UTF8_string.o apl-Value.o apl-ValueHistory.o apl-Workspace.o apl-static_Objects.o sql/apl-SqliteArgListBuilder.o sql/apl-SqliteConnection.o sql/apl-SqliteResultValue.o sql/apl-SqliteProvider.o sql/apl-Connection.o -ldl -lm -lpthread -lncurses -ldl -lm -lpthread -lncurses libtool: link: g++ -Wall -I sql -g -O2 -o apl apl-main.o apl-Plot_xcb.o apl-Archive.o apl-Assert.o apl-Avec.o apl-Backtrace.o apl-Bif_F12_DOMINO.o apl-Bif_F12_FORMAT.o apl-Bif_F12_PARTITION_PICK.o apl-Bif_F12_SORT.o apl-Bif_F12_TAKE_DROP.o apl-Bif_OPER1_COMMUTE.o apl-Bif_OPER1_EACH.o apl-Bif_OPER2_POWER.o apl-Bif_OPER2_INNER.o apl-Bif_OPER2_OUTER.o apl-Bif_OPER2_RANK.o apl-Bif_OPER1_REDUCE.o apl-Bif_OPER1_SCAN.o apl-CDR.o apl-Cell.o apl-Doxy.o apl-CharCell.o apl-Command.o apl-Common.o apl-ComplexCell.o apl-configure_args.o apl-DiffOut.o apl-DynamicObject.o apl-Error.o apl-Executable.o apl-FloatCell.o apl-Function.o apl-DerivedFunction.o apl-Id.o apl-IndexExpr.o apl-IndexIterator.o apl-InputFile.o apl-IntCell.o apl-IO_Files.o apl-LApack.o apl-LibPaths.o apl-LineInput.o apl-Logging.o apl-LvalCell.o apl-Malloc_hooks.o apl-Nabla.o apl-Macro.o apl-NamedObject.o apl-NativeFunction.o apl-NumericCell.o apl-Output.o apl-Parser.o apl-PointerCell.o apl-Prefix.o apl-Plot_line_properties.o apl-Plot_data.o apl-Plot_window_properties.o apl-PrimitiveFunction.o apl-PrimitiveOperator.o apl-PrintBuffer.o apl-QuadFunction.o apl-ProcessorID.o apl-Quad_CR.o apl-Quad_DLX.o apl-Quad_FFT.o apl-Quad_FIO.o apl-Quad_FX.o apl-Quad_GTK.o apl-Quad_MAP.o apl-Quad_PLOT.o apl-Quad_RE.o apl-Quad_RL.o apl-Quad_RVAL.o apl-Quad_SQL.o apl-Quad_SVx.o apl-Quad_TF.o apl-Quad_WA.o apl-Parallel.o apl-Performance.o apl-RealCell.o apl-sbrk.o apl-Shape.o apl-ScalarFunction.o apl-Security.o apl-StateIndicator.o apl-Svar_DB.o apl-Svar_record.o apl-Symbol.o apl-SymbolTable.o apl-SystemVariable.o apl-TabExpansion.o apl-Thread_context.o apl-Token.o apl-Tokenizer.o apl-UCS_string.o apl-UCS_string_vector.o apl-UserFunction.o apl-UserFunction_header.o apl-UserPreferences.o apl-UTF8_string.o apl-Value.o apl-ValueHistory.o apl-Workspace.o apl-static_Objects.o sql/apl-SqliteArgListBuilder.o sql/apl-SqliteConnection.o sql/apl-SqliteResultValue.o sql/apl-SqliteProvider.o sql/apl-Connection.o -Wl,-bind_at_load -lX11 -lsqlite3 -ldl -lm -lpthread -lncurses ld: library not found for -lX11 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[3]: *** [apl] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
--- Louis Chrétien --- Louis Chrétien |
[Prev in Thread] | Current Thread | [Next in Thread] |