I tried to install MySQL and Canvas2D modules on windows 7, but there are linux commands at the build instructions, for example make, and there are some shell scripts too. I'm clueless. I have no idea how to install them on windows 7.
Sorry, I'm not an expert programmer, just a beginner, and I just want to try out nodejs with mysql and canvas2d.
Thanks in advance,
Why not install with npm?
NodeJS comes with Node Package Manager, a simple manager that uses repositories on npmjs. It resolves dependencies, and no building is required.
npm install db-mysql
npm install canvas
I also suggest the mysql driver mysql instead of db-mysql.
npm install mysql
I found mysql to be easier to use.
Other commands you might want to know:
npm help
npm install
npm ls
npm update
npm link
npm publish
Getting canvas to work on Windows is generally difficult (you need to install Python, Visual Studio Express + hotfixes etc). PhantomJs works easily on Windows, but little support for mysql afaik.