From 79065de4b936fd16705e67ed8b9a93a03c716e66 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Thu, 19 Sep 2013 10:17:57 +0100 Subject: [PATCH] For SQLite compile errors, link to the wiki. Change-Id: I34b1485daba6173d6665cfc56b6bba43164534d8 --- cmd/camtool/dbinit.go | 2 +- make.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/camtool/dbinit.go b/cmd/camtool/dbinit.go index 64bcfc038..95b3d87c4 100644 --- a/cmd/camtool/dbinit.go +++ b/cmd/camtool/dbinit.go @@ -232,7 +232,7 @@ func exitf(format string, args ...interface{}) { var WithSQLite = false -var ErrNoSQLite = errors.New("the command was not built with SQLite support. Rebuild with go get/install --tags=with_sqlite " + compileHint()) +var ErrNoSQLite = errors.New("the command was not built with SQLite support. See https://code.google.com/p/camlistore/wiki/SQLite" + compileHint()) func compileHint() string { if _, err := os.Stat("/etc/apt"); err == nil { diff --git a/make.go b/make.go index b93bba544..84af01069 100644 --- a/make.go +++ b/make.go @@ -93,7 +93,7 @@ func main() { log.Fatalf("SQLite isn't available when cross-compiling to another OS. Set --sqlite=false.") } if sql && !haveSQLite { - log.Printf("SQLite not found. Either install it, or run make.go with --sqlite=false") + log.Printf("SQLite not found. Either install it, or run make.go with --sqlite=false See https://code.google.com/p/camlistore/wiki/SQLite") switch runtime.GOOS { case "darwin": log.Printf("On OS X, run 'brew install sqlite3 pkg-config'. Get brew from http://mxcl.github.io/homebrew/")