Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails on Windows 7 x64 #1

Open
Fleshgrinder opened this issue Dec 15, 2014 · 4 comments
Open

Fails on Windows 7 x64 #1

Fleshgrinder opened this issue Dec 15, 2014 · 4 comments

Comments

@Fleshgrinder
Copy link

My guess is because it is only meant for Linux, right?

node-gyp configure && mkdir -p deps && cd deps && curl 'https://codeload.github.com/fletcher/peg-multimarkdown/tar.gz/3.7' | tar zxvf - && mv peg-multimarkdown-* peg-multimarkdown && cd peg-multimarkdown && CFLAGS='- fPIC -Wall -O3 -include GLibFacade.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE' make && cd ../../ && node-gyp build

@jjlharrison
Copy link
Owner

What error do you see?

I imagine it'll be related to dtjm/node-multimarkdown#13, I'm not sure that it has been fixed in node-multimarkdown

@Fleshgrinder
Copy link
Author

Indeed it seems to be the same problem, relying on curl and trying to call make will not work well with Windows. I guess the original module has to be updated, right?

> multimarkdown@0.0.15 preinstall X:\project\node_modules\gulp-multimarkdown\node_modules\multimarkdown
> node-gyp configure && mkdir -p deps && cd deps && curl 'https://codeload.github.com/fletcher/peg-multimarkdown/tar.gz/3.7' | tar zxvf - && mv peg-multimarkdown-* peg-multimarkdown && cd peg-multimarkdown && CFLAGS='-fPIC -Wall
-O3 -include GLibFacade.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE' make && cd ../../ && node-gyp build


X:\project\node_modules\gulp-multimarkdown\node_modules\multimarkdown>node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" configure
'curl' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! multimarkdown@0.0.15 preinstall: `node-gyp configure && mkdir -p deps && cd deps && curl 'https://codeload.github.com/fletcher/peg-multimarkdown/tar.gz/3.7' | tar zxvf - && mv peg-multimarkdown-* peg-multimarkdown && cd
peg-multimarkdown && CFLAGS='-fPIC -Wall -O3 -include GLibFacade.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE' make && cd ../../ && node-gyp build`
npm ERR! Exit status 255
npm ERR!
npm ERR! Failed at the multimarkdown@0.0.15 preinstall script.
npm ERR! This is most likely a problem with the multimarkdown package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp configure && mkdir -p deps && cd deps && curl 'https://codeload.github.com/fletcher/peg-multimarkdown/tar.gz/3.7' | tar zxvf - && mv peg-multimarkdown-* peg-multimarkdown && cd peg-multimarkdown && CFLAGS='-
fPIC -Wall -O3 -include GLibFacade.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE' make && cd ../../ && node-gyp build
npm ERR! You can get their info via:
npm ERR!     npm owner ls multimarkdown
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "--save-dev" "gulp-multimarkdown"
npm ERR! cwd X:\project
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0

@jjlharrison
Copy link
Owner

Can't you install cURL on Windows? http://curl.haxx.se/download.html

@Fleshgrinder
Copy link
Author

Sure, but what about the tar and especially the make calls? Windows needs special binaries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants