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

Can't install on windows #1783

Open
ardalis opened this issue Feb 6, 2017 · 1 comment
Open

Can't install on windows #1783

ardalis opened this issue Feb 6, 2017 · 1 comment

Comments

@ardalis
Copy link

ardalis commented Feb 6, 2017

I've tried to install Octopress on Windows a couple of times, the most recent using chocolatey and the instructions shown here: http://thaiat.github.io/blog/2014/03/13/how-to-install-and-use-octopress-on-windows/

I get through the various installs but when I run bundle install it fails:
image

The issue mentions "You have to install development tools first" but of course they are. The gem_make.out file has the same text as what is shown in the Powershell output above. The mkmf.log file referenced looks like this:

"x86_64-w64-mingw32-gcc -o conftest.exe -IC:/Ruby23-x64/include/ruby-2.3.0/x64-mingw32 -IC:/Ruby23-x64/include/ruby-2.3.0/ruby/backward -IC:/Ruby23-x64/include/ruby-2.3.0 -I. -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64   -O3 -fno-omit-frame-pointer -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -O0 -Wall  conftest.c  -L. -LC:/Ruby23-x64/lib -L.      -lx64-msvcrt-ruby230  -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi  "
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <winsock2.h>
4: #include <windows.h>
5: int main(int argc, char **argv)
6: {
7:   return 0;
8: }
/* end */

Is this a known issue and in any case what should I do to troubleshoot and proceed?

@ardalis
Copy link
Author

ardalis commented Feb 6, 2017

And FYI, I get the same error when following these instructions: https://github.com/imathis/octopress/wiki/Installation-Instructions-2.0-on-Windows @dazinator

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

1 participant