Closed georgewoodman closed 11 years ago
Hi, would it be possible to run node-waf --verbose distclean configure install in your nodejs-db-informix directory? i.e. /nodejs/node-v0.6.15/node_modules/nodejs-db-informix directory from your first comment.
thanks
what does line 99 and 100 of file /home/informix/incl/c++/it.h
says?
I can't do that as npm does a clean-up when it fails to install.
George
-----Original Message----- From: Amit Kumar [mailto:reply@reply.github.com] Sent: 11 April 2012 12:25 PM To: George Woodman Subject: Re: [nodejs-db-informix] Install error (#1)
Hi, would it be possible to run node-waf --verbose distclean configure install in your nodejs-db-informix directory? i.e. /nodejs/node-v0.6.15/node_modules/nodejs-db-informix directory from your first comment.
thanks
Reply to this email directly or view it on GitHub: https://github.com/amitkr/nodejs-db-informix/issues/1#issuecomment-5065933
Const ITBool false = 0; Const ITBool true = 1;
George
-----Original Message----- From: Amit Kumar [mailto:reply@reply.github.com] Sent: 11 April 2012 12:41 PM To: George Woodman Subject: Re: [nodejs-db-informix] Install error (#1)
what does line 99 and 100 of file /home/informix/incl/c++/it.h
says?
Reply to this email directly or view it on GitHub: https://github.com/amitkr/nodejs-db-informix/issues/1#issuecomment-5066110
you can checkout the code from https://amitkr@github.com/amitkr/nodejs-db-informix.git
and run node-waf --verbose distclean configure build
in the checkout directory
About
Const ITBool false = 0;
Const ITBool true = 1;
it sounds a bit weird, why's it.h defining a reserved keyword.
I think its probably a wrong version of library problem. Here's what my it.h says and the file doesn't has above 2 lines at all.
// IBM Informix Client SDK
// Title: it.h
// Description: Global header file for IBM Informix OIC++ Library
This is most likely an environment issue. Please make sure the dependencies mentioned are installed properly.
I'm doing an npm install of this module on Fedora 12 with Informix 11.5 and receive this error.
In file included from ../src/connection.h:5, from ../src/connection.cxx:2: /home/informix/incl/c++/it.h:99: error: expected unqualified-id before 'false' /home/informix/incl/c++/it.h:100: error: expected unqualified-id before 'true' Waf: Leaving directory `/nodejs/node-v0.6.15/node_modules/nodejs-db-informix/build' Build failed: -> task failed (err #1): {task: cxx connection.cxx -> connection_1.o}
Any ideas