jdorner / node-sapnwrfc

SAP Netweaver RFC SDK bindings for Node.js
MIT License
55 stars 23 forks source link

Compiling on Debian #2

Closed tony-o closed 11 years ago

tony-o commented 11 years ago

Node version: 0.8.19 OS: Debian 6 Extracted NW RFC SDK 7.20, moved folders to appropriate places

npm install sapnwrfc

error a precompiled module could not be found or loaded
info trying to compile it...
make: Entering directory `/home/tony/Desktop/projects/nwrfc/node_modules/sapnwrfc/build'
sapnwrfc.target.mk:134: warning: overriding commands for target `Release/sapnwrfc.node'
sapnwrfc.target.mk:124: warning: ignoring old commands for target `Release/sapnwrfc.node'
make: Circular Release/sapnwrfc.node <- Release/sapnwrfc.node dependency dropped.
  CXX(target) Release/obj.target/sapnwrfc/src/binding.o
  CXX(target) Release/obj.target/sapnwrfc/src/Connection.o
  CXX(target) Release/obj.target/sapnwrfc/src/Function.o
  COPY Release/sapnwrfc.node
cp: cannot stat `FORCE_DO_CMD': No such file or directory
make: *** [Release/sapnwrfc.node] Error 1
make: Leaving directory `/home/tony/Desktop/projects/nwrfc/node_modules/sapnwrfc/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:255:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:99:17)
gyp ERR! stack     at Process._handle.onexit (child_process.js:678:10)
gyp ERR! System Linux 3.2.0-4-amd64
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/tony/Desktop/projects/nwrfc/node_modules/sapnwrfc
gyp ERR! node -v v0.8.19
gyp ERR! node-gyp -v v0.8.4
gyp ERR! not ok 
jdorner commented 11 years ago

Version 0.1.4 should fix your problem. Please redownload the module using "npm install"

tony-o commented 11 years ago

You're the man, thanks