Open subnetmarco opened 13 years ago
Strange case. I already compiled and tested it with new node version. Maybe I have old ev.h on the system.. I'll test this case
Having the same problem here, to show it's not an isolated case. (OS X 10.6.8),
../hashlib.cc:15:17: error: eio.h: No such file or directory
../hashlib.cc:311: error: ‘eio_req’ was not declared in this scope
../hashlib.cc:311: error: ‘req’ was not declared in this scope
../hashlib.cc:312: error: expected ‘,’ or ‘;’ before ‘{’ token
I'm getting same as above on OS X 10.7
I changed the node prefix so i'm not sure if it's looking for the headers files in the wrong place?
Keep up the good work!
It seems to be the exact same error than what is reported in issues #23 and #22
Having put a prefix in there too, I just made a clean reinstall without a prefix too see if it made any difference. Still getting the error.
Should be fixed
Good stuff :D
Can we have the changes pushed to npm?
Thanks!
+1 please publish to npm
+1 please publish to npm
Using the latest npm (1.1.0-alpha-6) I get no compilation errors though if I try using hashlib I get a "Cannot find module 'hashlib'" type of error. On the other hand when I use Way 2 to install it I have zero problems using hashlib.
+1 please publish to npm
+1 please publish to npm
+1 please publish to npm - https://github.com/Hiverness/hashlib/tarball/compat_fix_node_0_6_X has been taken down, which I was using for a while as a fix in my deploy
@seejohnrun Hiverness changed his username, repo is still up: https://github.com/ovaillancourt/hashlib
@secoif thanks!
Oops! Sorry about that guys :P. It's indeed still available. (Changed username to have the same one than in irc chat/mailing list)
Haha, thanks for keeping it up - I'd imagine a lot of people are using it :)
@brainfucker any updates on the status of this RE npm? If there's anything blocking you, please let us know so we may help.
With my new username:
npm install https://github.com/ovaillancourt/hashlib/tarball/compat_fix_node_0_6_X
to install the thing.
Just a quick word though, that fork of mine is in now way synced with the latest changes from Oleg in the real repo (this one). Also, his own fix to make things work on 0.6 are cleaner than mines (where I just hacked until it started working).
So: Use with caution!
+1
for what it's worth, I cloned the project and pushed an updated npm as "hashlib2":
Honestly I was thinking about it the other day and I think it might be better to use node's crypto.
It supports pretty much everything openssl supports in terms of algorithms, which means pretty much all of hashlib's algos...
I've been doing fine with note's "crypto" lib for 3-4 months now, doing some pretty intensive hashing without any problem/limitation.
I also switched to crypto: http://seejohncode.com/2012/01/22/crypto-in-node-js