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 libxml-ruby-3.1.0 on windows10,mkmf.log as following #66

Open
kematy opened this issue Apr 5, 2020 · 0 comments
Open

Comments

@kematy
Copy link

kematy commented Apr 5, 2020

find_header: checking for libxml/xmlversion.h in /opt/include/libxml2,/opt/local/include/libxml2,/usr/local/include/libxml2,/usr/include/libxml2... -------------------- no

"i686-w64-mingw32-gcc -o conftest.exe -Id:/Ruby25/include/ruby-2.5.0/i386-mingw32 -Id:/Ruby25/include/ruby-2.5.0/ruby/backward -Id:/Ruby25/include/ruby-2.5.0 -I. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math conftest.c -L. -Ld:/Ruby25/lib -L. -pipe -s -lmsvcrt-ruby250 -lgmp -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 */

"i686-w64-mingw32-gcc -E -Id:/Ruby25/include/ruby-2.5.0/i386-mingw32 -Id:/Ruby25/include/ruby-2.5.0/ruby/backward -Id:/Ruby25/include/ruby-2.5.0 -I. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math conftest.c -o conftest.i"
conftest.c:5:10: fatal error: libxml/xmlversion.h: No such file or directory
5 | #include <libxml/xmlversion.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
checked program was:
/* begin /
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <libxml/xmlversion.h>
/
end */

"i686-w64-mingw32-gcc -E -Id:/Ruby25/include/ruby-2.5.0/i386-mingw32 -Id:/Ruby25/include/ruby-2.5.0/ruby/backward -Id:/Ruby25/include/ruby-2.5.0 -I. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math -I/opt/include/libxml2 conftest.c -o conftest.i"
conftest.c:5:10: fatal error: libxml/xmlversion.h: No such file or directory
5 | #include <libxml/xmlversion.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
checked program was:
/* begin /
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <libxml/xmlversion.h>
/
end */

"i686-w64-mingw32-gcc -E -Id:/Ruby25/include/ruby-2.5.0/i386-mingw32 -Id:/Ruby25/include/ruby-2.5.0/ruby/backward -Id:/Ruby25/include/ruby-2.5.0 -I. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math -I/opt/local/include/libxml2 conftest.c -o conftest.i"
conftest.c:5:10: fatal error: libxml/xmlversion.h: No such file or directory
5 | #include <libxml/xmlversion.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
checked program was:
/* begin /
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <libxml/xmlversion.h>
/
end */

"i686-w64-mingw32-gcc -E -Id:/Ruby25/include/ruby-2.5.0/i386-mingw32 -Id:/Ruby25/include/ruby-2.5.0/ruby/backward -Id:/Ruby25/include/ruby-2.5.0 -I. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math -I/usr/local/include/libxml2 conftest.c -o conftest.i"
conftest.c:5:10: fatal error: libxml/xmlversion.h: No such file or directory
5 | #include <libxml/xmlversion.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
checked program was:
/* begin /
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <libxml/xmlversion.h>
/
end */

"i686-w64-mingw32-gcc -E -Id:/Ruby25/include/ruby-2.5.0/i386-mingw32 -Id:/Ruby25/include/ruby-2.5.0/ruby/backward -Id:/Ruby25/include/ruby-2.5.0 -I. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math -I/usr/include/libxml2 conftest.c -o conftest.i"
conftest.c:5:10: fatal error: libxml/xmlversion.h: No such file or directory
5 | #include <libxml/xmlversion.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
checked program was:
/* begin /
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <libxml/xmlversion.h>
/
end */


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