mirror of https://github.com/perkeep/perkeep.git
For SQLite compile errors, link to the wiki.
Change-Id: I34b1485daba6173d6665cfc56b6bba43164534d8
This commit is contained in:
parent
f0a00be32b
commit
79065de4b9
|
@ -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 {
|
||||
|
|
2
make.go
2
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/")
|
||||
|
|
Loading…
Reference in New Issue