For SQLite compile errors, link to the wiki.

Change-Id: I34b1485daba6173d6665cfc56b6bba43164534d8
This commit is contained in:
Brad Fitzpatrick 2013-09-19 10:17:57 +01:00
parent f0a00be32b
commit 79065de4b9
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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/")