Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for including native libraries #2

Open
dcrockwell opened this issue Mar 10, 2016 · 2 comments
Open

Add support for including native libraries #2

dcrockwell opened this issue Mar 10, 2016 · 2 comments

Comments

@dcrockwell
Copy link
Contributor

Akiro needs support for including dependent native libraries directly.

For example, the ffmpeg package depends upon the native libraries ffmpeg and libmp3lame or libx264.

Akiro needs a way to include these. If it's not possible through just akiro, perhaps a conan plugin could handle it.

@brettstack
Copy link

I thought the whole point of this lib was to build native modules?

I'm getting:

    "gyp WARN install got an error, rolling back install",
    "gyp ERR! configure error ",
    "gyp ERR! stack Error: EROFS: read-only file system, mkdir '/home/sbx_user1055'",
    "gyp ERR! stack     at Error (native)",
    "gyp ERR! System Linux 4.1.19-24.31.amzn1.x86_64",
    "gyp ERR! command \"/usr/local/lib64/node-v4.3.x/bin/node\" \"/var/task/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"",
    "gyp ERR! cwd /tmp/akiroBuilder116628-1-cvxr64/node_modules/s2geometry-node",
    "gyp ERR! node -v v4.3.2",
    "gyp ERR! node-gyp -v v3.4.0",
    "gyp ERR! not ok ",
    "npm ERR! Linux 4.1.19-24.31.amzn1.x86_64",
    "npm ERR! argv \"/usr/local/lib64/node-v4.3.x/bin/node\" \"/var/task/node_modules/npm/bin/npm-cli.js\" \"install\" \"--production\" \"--no-bin-links\" \"--prefix\" \"/tmp/akiroBuilder116628-1-cvxr64\" \"--cache\" \"/tmp/akiroBuilder116628-1-cvxr64\" \"--init-module\" \"/tmp/akiroBuilder116628-1-cvxr64\"",
    "npm ERR! node v4.3.2",
    "npm ERR! npm  v3.10.5",
    "npm ERR! code ELIFECYCLE",
    "",
    "npm ERR! s2geometry-node@1.3.1 install: `node-gyp rebuild`",
    "npm ERR! Exit status 1",
    "npm ERR! ",
    "npm ERR! Failed at the s2geometry-node@1.3.1 install script 'node-gyp rebuild'.",
    "npm ERR! Make sure you have the latest version of node.js and npm installed.",
    "npm ERR! If you do, this is most likely a problem with the s2geometry-node package,",
    "npm ERR! not with npm itself.",
    "npm ERR! Tell the author that this fails on your system:",
    "npm ERR!     node-gyp rebuild",
    "npm ERR! You can get information on how to open an issue for this project with:",
    "npm ERR!     npm bugs s2geometry-node",
    "npm ERR! Or if that isn't available, you can get their info via:",
    "npm ERR!     npm owner ls s2geometry-node",
    "npm ERR! There is likely additional logging output above.",
    "",
    "npm ERR! Please include the following file with any support request:",
    "npm ERR!     /tmp/akiroBuilder116628-1-cvxr64/npm-debug.log",
    "",
    "ChildProcess.exithandler (child_process.js:213:12)",
    "emitTwo (events.js:87:13)",
    "ChildProcess.emit (events.js:172:7)",
    "maybeClose (internal/child_process.js:821:16)",
    "Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)"

Is that what this story is to address?

@dcrockwell
Copy link
Contributor Author

Yes, there's some more work to be done on it. After releasing it, we realized we were working under some false presumptions.

It's 3rd in the pipeline right now behind 2 other tools that will make this functionality easier to implement. Sorry for the wild goose chase. I'll change the README to reflect that this is currently not working as advertised.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants