Problem building docs
While building the sqlite documentation an error is
occuring.
Here is the error:
[ checkout 6da9f893bca0f8fb ]
================
mkdir -p doc doc/c3ref doc/matrix doc/matrix/c3ref
rm -rf doc/images
cp -r ./images doc
mkdir doc/images/syntax
cp ./art/syntax/*.gif doc/images/syntax
cp ./rawpages/* doc
./tclsh ./wrap.tcl . ../sqlite doc ./pages/*.in
Processing ./pages/34to35.in
Processing ./pages/35to36.in
Processing ./pages/about.in
Processing ./pages/amalgamation.in
Processing ./pages/arch.in
Processing ./pages/asyncvfs.in
Processing ./pages/atomiccommit.in
./tclsh: column kw is not unique
while executing
"db eval {INSERT INTO keyword(kw,fragment,indexKw)
VALUES($a,$lurl,$visible)}"
(procedure "hd_keywords" line 37)
invoked from within
"hd_keywords {atomic commit} {*Atomic Commit}"
("eval" body line 1)
invoked from within
"eval {hd_keywords {atomic commit} {*Atomic Commit}}"
("eval" body line 2)
invoked from within
"eval "hd_puts \173$in\175""
("foreach" body line 21)
invoked from within
"foreach infile [lrange $argv 3 end] {
cd $HOMEDIR
puts "Processing $infile"
set fd [open $infile r]
set in [read $fd]
close $fd
if {[strin..."
(file "./wrap.tcl" line 622)
make: *** [base] Error 1
================
I have bisected the error and it is here
5 GOOD 2013-04-16 13:57:56 224d684b8bd2d440
4 BAD 2013-04-17 12:58:02 6da9f893bca0f8fb
================
Here is the unofficial procedure I use to build the docs
( Mac OS X 10.8.3, Xcode 4.6.2 )
Fetch the sqlite sources into ~/sqlite/sqlite
Fetch the sqlite doc sources into ~/sqlite/doc
Create directory ~/sqlite/bld
Cd into ~/sqlite/bld
sh ../sqlite/configure ; to build the Makefile
make ; to build the sources
; create the tclsqlite3.c amalgamation with
cat sqlite3.c ../sqlite/src/tclsqlite.c > tclsqlite3.c
cd ~/sqlite/doc
-- edit the Makefile
-- change -ltclstub to -ltclstub8.5
( seems to be required on OS X)
; now do
fossil clean --force ; to clean out old files
make schema ; to build the databases, then
make fast ; to build the docs
; all now done, docs are in ~/sqlite/doc/doc
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users