Skip to content

can't install libxml-ruby-3.1.0 on windows10,mkmf.log as following #66

@kematy

Description

@kematy

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 */


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions