Comments (10)
yeah, we had included nanomsg as a submodule, but that seems to be causing some issues when just installing from npm. #5 should fix this. For now use version 0.1.0.
from node-nanomsg.
[edited] @willglaub, this issue is fixed in 0.2.0.
from node-nanomsg.
Actually, @nickdesaulniers, 0.2.0 would fix this issue but is not published to npm.
from node-nanomsg.
done @willglaub please verify
from node-nanomsg.
nanomsg 0.2.2 fails to install via 'npm install nanomsg' on clean macosx environment with:
../src/node_nanomsg.cc:6:10: fatal error: 'nanomsg/nn.h' file not found
#include <nanomsg/nn.h>
^
1 error generated.
from node-nanomsg.
Hm. @blowback can you run npm install nanomsg --ignore-scripts
then look to see that the nanomsg sources are bundled with 0.2.2? (They appear to be for me). Then it's a matter of determining where the .gyp file thinks it's loading from.
from node-nanomsg.
They are, the problem is in the .cc file #includes. I suspect yours is working because you've got a system-wide installation of libnanomsg, so you actually have the relevant files in /usr/local/include/nanomsg or wherever.
I've a patch which fixes this on macos and linux, and also ensures that the binding is built with the same flags as the local version of the library.
from node-nanomsg.
I take it this is fixed?
from node-nanomsg.
I believe so, be nice if the OP can confirm.
from node-nanomsg.
Confirmed, this appears to be fixed. Just attempted a clean install, and the build process now works. Thanks.
from node-nanomsg.
Related Issues (20)
- add support for nng HOT 4
- Error handling HOT 3
- TypeError: Path must be a string. Received undefined HOT 2
- rfc links
- Compile error in Node V12.* HOT 6
- vulnerable dependencies HOT 1
- deprecation warning from Nan::Callback::call HOT 2
- DeprecationWarning: Buffer HOT 2
- remove package-lock.json from .gitignore HOT 2
- fallthrough warnings in nanomsg HOT 1
- are we handling scopes correctly? HOT 1
- How do i catch timeout on reqrep?
- Carsh When msg send 10K per second HOT 2
- Electron compatibility: "Loading non-context-aware native module in renderer" HOT 1
- node 14.15 compatability HOT 1
- (node:660) electron: The default of contextIsolation is deprecated and will be c hanging from false to true in a future release of Electron. HOT 2
- Double handle scope
- -Wcast-function-type in nodejs/src/node.h
- sub: filter by binary chan prefix? HOT 1
- npm install --use_system_libnanomsg=true fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-nanomsg.