在MSYS下编译鱼壳?

 郑云雪 发布于 2023-02-12 12:31

我发现这篇文章在Cygwin下编译鱼壳?谈论编译反对Cygwin的鱼.

MSYS编译的指令是什么?(尤其是MSYSGIT)?

这就是我做的

    安装msysgit-netInstall https://code.google.com/p/msysgit/downloads/detail?name=msysGit-netinstall-1.8.4-preview20130916.exe&can=2&q=

    从http://sourceforge.net/projects/mingw/files/MSYS/msysdev/autoconf/autoconf-2.68-1/autoconf-2.68-1-msys-1.0.17-bin.tar.lzma/download安装autoconf

    克隆鱼回购

    运行autoconf

    运行./configure

这个过程失败了

$ ./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.

任何的想法?

撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有