From eb1208a12e56940481025c675749cfe18dbf502e Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Sun, 28 Jul 2013 18:23:04 -0700 Subject: [PATCH] sqlite: updated ErrNotCompiled installation hint Change-Id: I96a5fde5bf3d34cc29f38180272a624c353a6c4f --- pkg/index/sqlite/sqlite.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/index/sqlite/sqlite.go b/pkg/index/sqlite/sqlite.go index aa9576c59..a7e9219fa 100644 --- a/pkg/index/sqlite/sqlite.go +++ b/pkg/index/sqlite/sqlite.go @@ -47,11 +47,11 @@ func CompiledIn() bool { return compiled } -var ErrNotCompiled = errors.New("camlistored was not built with SQLite support. Rebuild with go get/install --tags=with_sqlite " + compileHint()) +var ErrNotCompiled = errors.New("camlistored was not built with SQLite support. If you built with make.go, use go run make.go --sqlite=true. If you used go get or get install, use go {get,install} --tags=with_sqlite" + compileHint()) func compileHint() string { if _, err := os.Stat("/etc/apt"); err == nil { - return " (Required: apt-get install libsqlite3-dev)" + return " (Hint: apt-get install libsqlite3-dev)" } return "" }