我发现这篇文章Compiling fish shell under Cygwin?谈到了针对Cygwin编译鱼类。
为 MSYS 编译的说明是什么? (尤其是MSYSGIT)?
这就是我做的事情
该过程因
而失败$ ./configure
checking if autoconf needs to be run... no
checking if autoheader needs to be run... no
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /bin/install -c
CXXFLAGS: -g -O2
checking for /usr/pkg/include include directory... no
checking for /usr/pkg/lib library directory... no
checking for /usr/pkg/bin command directory... no
checking for /sw/include include directory... no
checking for /sw/lib library directory... no
checking for /sw/bin command directory... no
checking for /opt/include include directory... no
checking for /opt/lib library directory... no
checking for /opt/bin command directory... no
checking for /opt/local/include include directory... no
checking for /opt/local/lib library directory... no
checking for /opt/local/bin command directory... no
checking for /usr/local/include include directory... no
checking for /usr/local/lib library directory... no
checking for /usr/local/bin command directory... no
checking for msgfmt... msgfmt
checking for doxygen... no
checking if we are compiling against glibc... no
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking if we are under Solaris... no
checking if we are using non varargs tparm.... yes
checking if we are under BSD... no
checking for /proc/self/stat... no
checking for library containing connect... no
configure: error: Cannot find the socket library, needed to build this package.
有什么想法吗?