Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#21508 - [sqlite3] Using the complete source tree is now deprecated, please use the amalgamation.
Attached to Project:
Arch Linux
Opened by ezzetabi (ezzetabi) - Thursday, 28 October 2010, 12:35 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 12 February 2011, 23:40 GMT
Opened by ezzetabi (ezzetabi) - Thursday, 28 October 2010, 12:35 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 12 February 2011, 23:40 GMT
|
DetailsUsing configure and Makefile of sqlite3 is now deprecated. The official
package should use the the amalgamation. I quote the official download page: ``This [the amalgamation] is the recommended way of acquiring the SQLite source code. It is suggested that you use this packing option unless you have a compelling reason to use one of the other packaging options below.'' |
This task depends upon
Can you provide a PKGBUILD?
There is a difference in the configure file, those options are unknown:
--enable-threads-override-locks, --enable-cross-thread-connections and --enable-load-extension.
On the other hand the sqlite download page states:
``The Makefile and configure script in this [source tree] tarball are not supported. The SQLite developers do not use them. You should not use them either.'';
so I assume the configure in the amalgamation is meant to be the correct one.
I enclosed a sample PKGBUILD to this message.
Edit: I used the .tar.gz source, even if is is larger than the .zip file to reduce the build-time deps. If the unzip dep is not a problem, you should use the .zip.
It would need further improvements to achive the currents state. And it would probably require a full rebuild because the lib is renamed. Maybe you want to fix it so checkpkg won't find any difference.
/usr/bin/sqlite3
/usr/include/sqlite3.h
/usr/include/sqlite3ext.h
/usr/lib/libsqlite3.so
/usr/lib/libsqlite3.so.0
/usr/lib/libsqlite3.so.0.8.6
/usr/lib/pkgconfig/sqlite3.pc
/usr/lib/tcl8.5/sqlite3/libtclsqlite3.so
/usr/lib/tcl8.5/sqlite3/pkgIndex.tcl
/usr/share/licenses/sqlite3/license.txt
/usr/share/man/man1/sqlite3.1.gz
With the tea amalgamation you obtain pkgIndex.tcl, libsqlite3.7.4.so
and a man page mann/sqlite3.n.gz .
Instead with the autoconf amalgamation you get the command line interface sqlite3.
The static (libsqlite3.a) and dynamic (libsqlite3.so.0 libsqlite3.so.0.8.6
libsqlite3.so) libraries, the headers (sqlite3.h sqlite3ext.h). The man
page and the sqlite3.pc file.
So if I understand the problem correctly you need both the source file
to make the library as is now.
See this PKGBUILD.
The additional configure switches you mention are marked by the authors as unsupported and not used. The official documentation says explicitly you should not use the configure we (and according to you, Fedora) use now and to hand-edit the template Makefile. Maybe it is the same, but as far the official documentation says it is a chance.
http://www.sqlite.org/fts3.html#section_1
....-DSQLITE_ENABLE_RTREE -march=x86-64 -mtune=generic -O2 -pipe -DSQLITE_ENABLE_FTS3=1....