开发者

installation HDBC-SQlite3 Haskell

开发者 https://www.devze.com 2022-12-29 11:21 出处:网络
Im facing the problem during installation : >>setup configure Configuring HDBC-sqlite3-2.3.0.0...

Im facing the problem during installation :

>>setup configure

Configuring HDBC-sqlite3-2.3.0.0...
setup: Missing dependency on a foreign library:
* Missing C 开发者_高级运维library: sqlite3
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is
already installed but in a non-standard location then you can use the flags
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.

what should I do ?

thanks for any help


OK,

I downloaded sqlite3.dll and sqlite3.h from source zip.

then I inserted sqlite3.dll in system32 dir and in setup configure i used

--extra-lib-dirs=... --extra-include-dirs=... parameters with correct paths to header and dll.


You need to install the C library implementation and headers of SQLite.

On Ubuntu and other Debian-based Linux distros, it's simply

sudo apt-get install sqlite3 libsqlite3-dev

Other Linux distros will have similarly named packages.

On Windows, you'll have to do some more work.

On OS X, I have no idea.

0

精彩评论

暂无评论...
验证码 换一张
取 消