|
From: Torsten B. <be...@ty...> - 2025-11-11 11:36:46
|
Hi,
I keep getting this error on macOS (Ventrua 13.7.8)
Building package 'sqlite3.51.0' for Tcl 8
echo "#define SQLITE3_VERSION_UUID \\" >sqlite3Uuid.h
If you have documentation to create, place the commands to
cat /Users/Torsten/Tcl/distrib/tcl9.0.3-arm64/pkgs/sqlite3.51.0/manifest.uuid >>sqlite3Uuid.h
build the docs in the 'doc:' target. For example:
echo "" >>sqlite3Uuid.h
xml2nroff sample.xml > sample.n
gcc -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.51.0\" -DPACKAGE_STRING=\"sqlite\ 3.51.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_sqlite=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DSQLITE_THREADSAFE=1 -DUSE_TCL_STUBS=1 -DUSE_TCLOO_STUBS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DHAVE_STDBOOL_H=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DHAVE_FDATASYNC=1 -DHAVE_USLEEP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_UTIME=1 -DHAVE_FLOCK=1 -DHAVE_READLINK=1 -DHAVE_LSTAT=1 -DHAVE_PREAD=1 -DHAVE_PWRITE=1 -DHAVE_DECL_STRERROR_R=1 -DHAVE_STRERROR_R=1 -DTCL_MAJOR_VERSION=8 -DTK_MAJOR_VERSION=8 -DSQLITE_ENABLE_DBPAGE_VTAB=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS5=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_JSON1=1 -DSQLITE_3_SUFFIX_ONLY=1 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_ENABLE_GEOPOLY=1 -DSQLITE_ENABLE_STAT4=1 -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT=1 -DSQLITE_ENABLE_MATH_FUNCTIONS=1 -DSQLITE_ENABLE_DESERIALIZE=1 -DSQLITE_ENABLE_BYTECODE_VTAB=1 -DSQLITE_ENABLE_UNKNOWN_SQL_FUNCTION=1 -DSQLITE_ENABLE_STMTVTAB=1 -DSQLITE_ENABLE_BYTECODE_VTAB=1 -DSQLITE_ENABLE_OFFSET_SQL_FUNC=1 -DSQLITE_ENABLE_PERCENTILE=1 -DSQLITE_STRICT_SUBTYPE=1 -DSQLITE_LIKE_DOESNT_MATCH_BLOBS=1 -DSQLITE_UNTESTABLE=1 -DSQLITE_OMIT_DEPRECATED=1 -DSQLITE_OMIT_LOOKASIDE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_SOUNDEX=1 -DSQLITE_USE_ALLOCA=1 -DSQLITE_WIN32_NO_ANSI=1 -DSQLITE_WIN32_GETVERSIONEX=0 -DSQLITE_API=MODULE_SCOPE -DSQLITE_EXTERN= -I"/Users/Torsten/Tcl/distrib/tcl9.0.3-arm64/pkgs/sqlite3.51.0/generic" -I"/Users/Torsten/Tcl/distrib/tcl9.0.3-arm64/generic" -I. -I/Users/Torsten/Tcl/distrib/tcl9.0.3-arm64/pkgs/sqlite3.51.0/.. -g -Wall -fno-common -pipe -g -Wall -fno-common -mmacosx-version-min=11 -c `echo /Users/Torsten/Tcl/distrib/tcl9.0.3-arm64/pkgs/sqlite3.51.0/generic/tclsqlite3.c` -o tclsqlite3.o
xml2html sample.xml > sample.html
rm -f libsqlite3.51.0.dylib
gcc -dynamiclib -pipe -g -Wall -fno-common -mmacosx-version-min=11 -current_version 3.51.0 -compatibility_version 3.51.0 -headerpad_max_install_names -Wl,-search_paths_first -o libsqlite3.51.0.dylib tclsqlite3.o -lpthread -L/Users/Torsten/Tcl/distrib/build/tcl/Development -ltclstub
ld: Undefined symbols:
_Tcl_GetBoolFromObj, referenced from:
_DbMain in tclsqlite3.o
_DbMain in tclsqlite3.o
_DbMain in tclsqlite3.o
_DbMain in tclsqlite3.o
_DbMain in tclsqlite3.o
_DbMain in tclsqlite3.o
_DbMain in tclsqlite3.o
...
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [libsqlite3.51.0.dylib] Error 1
make[3]: *** [packages] Error 2
make[2]: *** [build-tcl] Error 2
make[1]: *** [tcl] Error 2
make: *** [develop] Error 2
I had trouble compiling SQLite 3.51.0 from its sources too, until a user fixed a problem:
https://sqlite.org/forum/forumpost/389916bad5
Could this be the case here too? Also, I wonder why it is saying "Building package 'sqlite3.51.0' for Tcl 8" ...
Regards, Torsten
> Am 11.11.2025 um 18:55 schrieb Jan Nijtmans <jan...@gm...>:
>
> Now available at
>
> https://sourceforge.net/projects/tcl/files/Tcl/9.0.3/
>
> are RC1 candidate source code distribution pre-releases of Tcl/Tk 9.0.3
>
> This is the second candidate release leading to the release of Tcl/Tk
> 9.0.3. Testing of builds
> and operations on multiple platforms is invited. Any critical problem
> that should block
> the release should be reported immediately.
>
> Only the full *-src.tar.gz files are there, the zip-files and the stripped-down
> versions will follow.
>
> Preliminary release notes are available as well. Please report any
> suggestions/improvements you may find.
>
> I intend to rename those files to the final release in 2 days,
> thursday Nov 13.
>
> Thank you for your contributions and assistance.
> Jan Nijtmans
>
>
> _______________________________________________
> Tcl-Core mailing list
> Tcl...@li...
> https://lists.sourceforge.net/lists/listinfo/tcl-core
|