Skip to content
This repository was archived by the owner on Jul 1, 2026. It is now read-only.

Support SmartOS builds - #114

Closed
mcavage wants to merge 1 commit into
TryGhost:masterfrom
mcavage:master
Closed

Support SmartOS builds#114
mcavage wants to merge 1 commit into
TryGhost:masterfrom
mcavage:master

Conversation

@mcavage

@mcavage mcavage commented Feb 19, 2013

Copy link
Copy Markdown

Hello,

I tried to use your module, but it does not compile on SmartOS as your sqlite3 dependency results in an empty archive. However, on SmartOS it makes more sense to just pick up sqlite from pkgsrc anyway, as that's going to be a known good build.

This change is simply to make binding.gyp look for sqlite to already be on the system, and link against that.

Sadly, I am unable to run make test as expresso relies on jscoverage, which also doesn't compile on SmartOS.

FWW, I've had better luck with cover anyway, as it's (1) pure JS, and (2) only does coverage; I tend to use either node-tap or nodeunit as they are less magical than expresso/mocha. That said, the library seems to work.

m

@mcavage

mcavage commented Feb 19, 2013

Copy link
Copy Markdown
Author

Oh - forgot to mention, the binding.gyp change is SmartOS only - mac/linux/... will all still use the path you were using already.

@wilkinson

Copy link
Copy Markdown

I have also experienced this issue.

@panzi

panzi commented Mar 26, 2013

Copy link
Copy Markdown

This patch also makes it work again on nodejitsu.com. I copied this changed file on top of the current git version: panzi@ff1dc49

@springmeyer

Copy link
Copy Markdown
Contributor

new tag: v2.1.8 supports a configure option to point to a system/external sqlite. Please re-open new pull if this is not sufficient.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants