Thanks for the quick response. I am somewhat of a novice when it comes
to linux so trying to interpret the Makefile is some what difficult. I
did a recursive search for node.h and found :
jdennison@domU-12-xx-xx-xx-xx:/$ sudo find -name node.h
./usr/src/linux-headers-2.6.32-309-ec2/include/linux/node.h
./usr/src/linux-headers-2.6.32-309/include/linux/node.h
./home/jdennison/node/src/node.h
./home/jdennison/local/node/include/node/node.h
i could not find node_events.h anywhere.
when i replace the make file with g++ -I/home/jdennison/local/node/ -
Isrc/include -DPIC -fPIC -g -c -DEV_MULTIPLICITY=0 -c -o src/
binding.o src/binding.cc
i get the same error.
make[1]: Entering directory `/home/jdennison/r-node-v0.1.1/server'
g++ -I/home/jdennison/local/node/ -Isrc/include -DPIC -fPIC -g -c -
DEV_MULTIPLICITY=0 -c -o src/binding.o src/binding.cc
src/binding.cc:23:18: error: node.h: No such file or directory
src/binding.cc:24:25: error: node_events.h: No such file or directory
In file included from src/Rconnection.h:46,
from src/binding.cc:32:
src/include/Rsrv.h:32:20: error: config.h: No such file or directory
src/binding.cc:34: error: âv8â is not a namespace-name
src/binding.cc:34: error: expected namespace-name before â;â token
src/binding.cc:35: error: ânodeâ is not a namespace-name
src/binding.cc:35: error: expected namespace-name before â;â token
src/binding.cc:36: error: expected initializer before â<â token
src/binding.cc:37: error: expected initializer before â<â token
src/binding.cc:38: error: expected initializer before â<â token
src/binding.cc:39: error: expected initializer before â<â token
src/binding.cc:40: error: expected initializer before â<â token
src/binding.cc:85: error: expected constructor, destructor, or type
conversion before â<â token
make[1]: *** [src/binding.o] Error 1
make[1]: Leaving directory `/home/jdennison/r-node-v0.1.1/server'
make: *** [server] Error 2
I should say that node works from command line and i can code the
basic web servers they have on the website. What am i entering
incorrectly.
Thanks
John
On Jul 24, 5:03 pm, Jamie Love <
drjl...@gmail.com> wrote:
> Hi there,
>
> It appears that you're missing NodeJS (node.h is missing).
>
> You'll need to download/install Jode fromhttp://
nodejs.org/#download, and