I may be in a minority here, but I needed to build sqlite3: threadsafe, no tcl, and as a static lib.
With both 3.06 and 3.08, this required fiddling as the configure script does not create libsqlite3.a.


configure --help does report:
--enable-static[=PKGS] build static libraries [default=yes]
But it is neither enabled by default, nor does it work if you do enable it.


So that leaves Makefile.linux-gcc. No problem, but there is no commented option to turn on NO_TCL.
Also, the libraries line for LIBREADLINE includes the option -static, which causes bitter warnings from
gcc about all of the *pwent access routines.
(eg : /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/../../../libreadline.a(complete.o)(.text+0x1c71): In function `rl_username_completion_function': : warning: Using 'getpwent' in statically linked applications requires
at runtime the shared libraries from the glibc version used for linking)


For future updates, can Makefile.linux-gcc be amended with an option for NO_TCL and can -static be
removed from LIBREADLINE? Or even better, can the configure script be fixed to generate a static lib?


-Eli




Reply via email to