samshull / node-proxy

Deprecated: Harmony Proxies in node (no longer needed)
MIT License
162 stars 29 forks source link

failed build #8

Closed czajah closed 13 years ago

czajah commented 13 years ago

run@galileo:~/tmp$ git clone https://github.com/samshull/node-proxy.git

Cloning into node-proxy... remote: Counting objects: 219, done. remote: Compressing objects: 100% (114/114), done. remote: Total 219 (delta 107), reused 179 (delta 87) Receiving objects: 100% (219/219), 89.78 KiB | 46 KiB/s, done. Resolving deltas: 100% (107/107), done.

run@galileo:~/tmp$ cd node-proxy/

run@galileo:~/tmp/node-proxy$ make

BUILDING: C++ Component Checking for program g++ or c++ : /usr/bin/g++ Checking for program cpp : /usr/bin/cpp Checking for program ar : /usr/bin/ar Checking for program ranlib : /usr/bin/ranlib Checking for g++ : ok
Checking for node path : ok /usr/local/lib/node_modules Checking for node prefix : ok /usr/local 'configure' finished successfully (0.026s) Waf: Entering directory /home/run/tmp/node-proxy/src/build' [1/2] cxx: node-proxy.cc -> build/default/node-proxy_1.o In file included from /usr/local/include/node/node.h:25:0, from .././node-proxy.h:38, from ../node-proxy.cc:33: /usr/local/include/node/uv.h:36:25: fatal error: c-ares/ares.h: Nie ma takiego pliku ani katalogu compilation terminated. Waf: Leaving directory/home/run/tmp/node-proxy/src/build' Build failed: -> task failed (err #1): {task: cxx node-proxy.cc -> node-proxy_1.o} cp: nie można wykonać stat na `src/build/default/node-proxy.node': Nie ma takiego pliku ani katalogu make: *\ [all] Błąd 1

"Nie ma takiego pliku ani katalogu" means "File not found"

samshull commented 13 years ago

This problem is with node. See this pull request

czajah commented 13 years ago

What it could be?

In runtime:

node.js:180 throw e; // process.nextTick error, or 'error' event on first tick ^ Error: /home/run/node_modules/now/node_modules/node-proxy/lib/node-proxy.node: undefined symbol: ev_rt_now at Object..node (module.js:456:11) at Module.load (module.js:339:31) at Function._load (module.js:298:12) at require (module.js:351:19) at Object. (/home/run/node_modules/now/lib/wrap.js:10:13) at Module._compile (module.js:411:26) at Object..js (module.js:450:10) at Module.load (module.js:339:31) at Function._load (module.js:298:12) at require (module.js:351:19)

samshull commented 13 years ago

yeah, that is another known issue with joyent/node origin/master. I suggest you use a version other than master like v0.4.8 (git checkout v0.4.8)