-
Notifications
You must be signed in to change notification settings - Fork 126
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
Can't build on Linux 3.2.0-23-generic-pae #34
Comments
I just cloned node-sodium, ran: I got the pretty much the sam error: |
can you try the develop branch? |
I'm getting this: gyp: /home/vagrant/node-sodium/deps/libsodium.gyp not found (cwd: /home/vagrant/node-sodium) while loading dependencies of binding.gyp while trying to load binding.gyp In the develop branch node-sodium/deps has libsodium.gyp.in but not libsodium.gyp |
I copy and pasted libsodium.gyp from master just to give it a shot: make: Entering directory |
Please run make configure to create the necessary files On 2/18/15 8:46 PM, bezreyhan wrote:
|
That's the error I got when I ran node-gyp configure when I run make configure I get: ./autogen.sh: 13: ./autogen.sh: libtoolize: not found When I copy and pasted the libsodium.gyp file from master I was able to configure but then I got the last error that I posted in my last comment. |
Ok, I got it to build but I had to first download libtoolize and automake. Is there a way to list those packages in the dependencies so that they download automatically? Thanks |
You need to install autotools and autoconf in your system. This is a on mac you can run |brew install automake| or |sudo port install automake autoconf libtool | On 2/18/15 10:19 PM, bezreyhan wrote:
|
Should work with npm now. On 2/18/15 10:48 PM, bezreyhan wrote:
|
I had compiled libsodium from source so I was missing those packages. npm install does work now. Thanks for the help! |
I'm getting this error when I try to 'npm install sodium'. I do have libsodium installed and other applications are able to use it.
npm ERR! sodium@1.0.13 install:
node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sodium@1.0.13 install script.
npm ERR! This is most likely a problem with the sodium 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 their info via:
npm ERR! npm owner ls sodium
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.2.0-23-generic-pae
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "sodium"
any ideas?
The text was updated successfully, but these errors were encountered: