node-db-mysql icon indicating copy to clipboard operation
node-db-mysql copied to clipboard

Windows support?

Open koosvanderkolk opened this issue 12 years ago • 5 comments

I am trying to install node-db-mysql on my Windows 7 machine, but it seems impossible:

After 'npm install db-mysql' (which works for other libs), I get:

'node-waf' is not recognized 'rm' is not recognized

(followed by a bunch of other errors). (I have all my MySQL executables in the system's PATH)

I suspect the installation script is Linux-only? Is it possible to install node-db-mysql on Windows?

koosvanderkolk avatar Apr 23 '12 13:04 koosvanderkolk

i am also interested in a solution! :)

arbyter avatar Jun 23 '12 19:06 arbyter

me too...

enzosaba avatar Jul 10 '12 14:07 enzosaba

would be awesome

traviscooper avatar Jul 19 '12 02:07 traviscooper

Right now the module needs to compile some dependencies to work. It means that you need a compiler to get it working. I don't know how this should be done on Windows but I believe you need to use Cygwin & Visual Studio. You will also need nodejs header files.

But no, this module is not Linux only. It works properly on everything not Windows (Linux, FreeBSD, Mac OS X at least).

qraynaud avatar Aug 18 '12 09:08 qraynaud

Although the easiest approach would definitely be to use another module that does not have the same dependencies, with the latest version of node-waf (node-waf 2.0.0?) you may be able to run this on Windows now, but after spending a weekend trying to get another project to work on Windows that has dependencies such as node-waf 1.4.1, this is not easy (but not impossible!) - with later version things have become easier (but still cause headaches).

Might be worth trying to use this node-db-mysql module with updated dependencies?

sebowles51 avatar Mar 02 '13 16:03 sebowles51