13 авг. 2014 г., в 23:25, Richard Shaw <[email protected]> написал(а):

> I'm trying to rebuild cmake to add the curses interface, ccmake, and I'm 
> getting a build error related to not finding a header, but I have verified 
> the header is available...
> 
> C:/msys32/home/aa674/MINGW-packages/mingw-w64-cmake/src/cmake-3.0.1/Source/CursesDialog/ccmake.cxx:18:23:
>  fatal error: sys/ioctl.h: No such file or directory
>  #include <sys/ioctl.h>
> 
> $ pkgfile.exe ioctl.h
> msys/msys2-runtime-devel
> 
> $ find /usr/include/ -name ioctl.h
> /usr/include/sys/ioctl.h
> 
> Any tips?
> 

In MSYS2 cmake is mingw-w64 package.
pacman -Ss cmake

To build MINGW package you need use wrapper for makepkg:
makepkg-mingw

But before it you need install mingw-w64 toolchains:
pacman -S mingw-w64-i686-toolchain mingw-w64-x86_64-toolchain

Regards,
Alexey.

> Thanks,
> Richard
> ------------------------------------------------------------------------------
> _______________________________________________
> Msys2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/msys2-users


------------------------------------------------------------------------------
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to