forked from mirror/go-sqlite3
Remove old information
This commit is contained in:
parent
77c9648f4a
commit
73ea0ad09f
26
README.mkd
26
README.mkd
|
@ -12,24 +12,7 @@ sqlite3 driver conforming to the built-in database/sql interface
|
||||||
INSTALLATION
|
INSTALLATION
|
||||||
------------
|
------------
|
||||||
|
|
||||||
It requires `pkg-config`. You can also confirm that permissions and dependancies are setup by running `pkg-config --cflags --libs sqlite3`.
|
This package can be installed with the go get command:
|
||||||
|
|
||||||
If you are using [Homebrew](http://mxcl.github.com/homebrew/) on Mac OS X, you can install with:
|
|
||||||
|
|
||||||
brew install pkgconfig
|
|
||||||
brew install sqlite3
|
|
||||||
|
|
||||||
If you are using Ubuntu, you can install with:
|
|
||||||
|
|
||||||
sudo apt-get install pkg-config sqlite3 libsqlite3-dev
|
|
||||||
|
|
||||||
If you are using Windows, you can get pkg-config from below.
|
|
||||||
|
|
||||||
http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/
|
|
||||||
|
|
||||||
Go does not support static linking for external C library; sqlite3 should be built as a shared library. If it runs on Windows, it needs dll.
|
|
||||||
|
|
||||||
Finally, this package can be installed with the go get command:
|
|
||||||
|
|
||||||
go get github.com/mattn/go-sqlite3
|
go get github.com/mattn/go-sqlite3
|
||||||
|
|
||||||
|
@ -46,13 +29,6 @@ FAQ
|
||||||
> You can pass some arguments into the connection string, for example, a URI.
|
> You can pass some arguments into the connection string, for example, a URI.
|
||||||
> See: https://github.com/mattn/go-sqlite3/issues/39
|
> See: https://github.com/mattn/go-sqlite3/issues/39
|
||||||
|
|
||||||
* Can't build go-sqlite3. I got error of pkg-config.
|
|
||||||
|
|
||||||
> Probably, you didn't set PKG_CONFIG_PATH environment variable.
|
|
||||||
> Add PKG_CONFIG_PATH=/path/to/pkgconfig into your bashrc (something for
|
|
||||||
> your shell), Or do `export PKG_CONFIG_PATH=/path/to/pkgconfig` in bash.
|
|
||||||
> See: https://github.com/mattn/go-sqlite3/issues/45
|
|
||||||
|
|
||||||
LICENSE
|
LICENSE
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue