Skip to content

Building from source fails on FreeBSD 10 #584

@attilagyorffy

Description

@attilagyorffy

I'm trying to install sqlite3 on a FreeBSD 10 box and am running into issues. First of all as far as I'm concerned (and based on the log output) you currently do not provide pre-built binaries for this platform and the install falls back to trying to build from source. This eventually fails with the following;

python: not found

I have a standard python2.7 install and have configured npm according to the node-gyp README:

$ npm config get python
/usr/local/bin/python2.7

Now I am not sure what actually happens (and this is merely a guess!) but having seen the action_before_build target in the build dependencies I wonder: Could it be that the pre-build step does not respect the npm config variable and tries to invoke the python command directly?

See this.

Either way, I'm using the following configuration:

$ npm config get python
/usr/local/bin/python2.7
$ node --version
v4.2.3
$ npm --version
3.5.2
$ uname -a
FreeBSD vagrant 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 15:26:37 UTC 2015

Logs attached here:
npm-debug.log.zip

Any help would be really appreciated. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions