尝试使用MSYS2 / Win32构建PostgreSql时未找到direct.h

时间:2019-04-13 21:00:57

标签: postgresql mingw-w64 msys2

我正在尝试使用MSys2 for i686-w64-mingw32(今天下载的所有内容)构建PostgreSql 9.4.21。

要配置,我使用:

bubble.frame.size.width = bubbleSize.width
bubble.frame.size.height = max(bubbleSize.height, 44.0)

然后,当我做./configure --host=i686-w64-mingw32 --without-zlib 时,我得到了:

make

我在 from /usr/include/stdio.h:61, from ../../src/include/c.h:81, from ../../src/include/postgres_fe.h:25, from exec.c:20: /usr/include/sys/select.h:62:5: nota: la declaración previa de ‘select’ estaba aquí int select __P ((int __n, fd_set *__readfds, fd_set *__writefds, ^~~~~~ In file included from ../../src/include/c.h:101:0, from ../../src/include/postgres_fe.h:25, from exec.c:20: ../../src/include/pg_config_os.h:58:10: error fatal: direct.h: No such file or directory #include <direct.h> ^~~~~~~~~~ compilación terminada. make[2]: *** [<integrado>: exec.o] Error 1 make[2]: se sale del directorio '/e/Desarrollo/postgresql-9.4.21/src/common' make[1]: *** [Makefile:35: all-common-recurse] Error 2 make[1]: se sale del directorio '/e/Desarrollo/postgresql-9.4.21/src' make: *** [GNUmakefile:11: all-src-recurse] Error 2 中发现了direct.h,该如何告诉/mingw32/i686-w64-mingw32/include使用它?还是我应该做些其他事情?。

0 个答案:

没有答案