前言记得大学的时候用过Cygwin,可惜当时没发现她的美。相信大部分朋友可能更倾向于使用Git或者干脆使用虚拟机。和本机Unix。不过,对于刚刚进入Linux世界的新手来说,使用Cygwin可以让你在Windows下练习LinuxBash和常用工具,而不用安装Linux,也不用担心Windows被破坏。好的,***再次感谢163的开源努力。更新历史Cygwin-http://www.cygwin.com/163源-http://mirrors.163.com/cygwin/根据个人习惯一步步查看,我选择163作为软件源,如果网络不够强大下载我提供的完整离线包。在线安装点击下一步,选择InstallfromInternet,自定义安装路径,自定义LocalPackageDirectory,自定义网络连接下载方式(可以使用代理加速),下载源选择http://mirrors.163.com,然后选择你需要下线的Packages点击Next进行安装,选择InstallfromLocalDirectory自定义安装路径。将LocalPackageDirectory定义为mirrors.163.com并选择你需要的Packages软件库。您也可以在Cygwin上编译、安装和执行Unix下的程序。在SelectPackages界面搜索并勾选需要的包或者直接安装所有Devel,给个GoAccess栗子Administrator@PC-20150629NSFI~/goaccess-0.9.2$./configure--enable-utf8checkingforaBSD-compatibleinstall.../usr/bin/install-ccheckingwhetherbuildenvironmentissane...yescheckingforthread-safemkdir-p.../usr/bin/mkdir-pcheckingforgrawk...gawkcheckingwhethermakesets$(MAKE)...yescheckingforgcc...gcccheckingwhethertheCcompilerworks...yescheckingforCcompilerdefaultoutputfilename...a.execheckingforsuffixofexeexecheckingwhetherwerecrosscompiling...nocheckingforsuffixofobjectfiles...ocheckingwhetherwereuseingtheGNUCcompiler...yescheckingwhethergccaccepts-g...yescheckingforgccoption接受ISOC89...不需要检查由make使用的包含样式...GNU检查gcc的依赖样式...gcc3检查是否gcc和cc理解-cand-otogether...是检查pthread_createin-lpthread...是检查构建系统类型...x86_64-unknown-cygwin检查主机系统类型...x86_64-unknown-cygwin检查是否使用rdynamicing构建。..yescheckingforncursesw/ncurses.h...yescheckingforncurses.h...yescheckingforpkg-config.../usr/bin/pkg-configcheckingpkg-configisatleastversion0.9.0...yescheckingforpkg-config.../usr/bin/pkg-configcheckingforg_list_appendin-lglib-2.0...yescheckingforsocketin-lsocket...nocheckingforgethostbynamein-lnsl...nocheckinghowtoruntheCpreprocessor...gcc-Echeckingforgrepthahandleslglib-2.0.../usr/bin/grepcheckingforgrep.../usr/bin/grep-EcheckingforANSIHeaderfiles...yescheckingforsys/types.h...yescheckingforsys/stat.h...yescheckingforstdlib.h...yescheckingforstring.h...yescheckingformemory.h...yescheckingforstrings.h...yescheckingforinttypes.h...yescheckingforstdint.h...yescheckingforunistd.h...yescheckingnetinet/in.husability...yescheckingnetinet/in.hpresence...yescheckingfornetinet/in.h...yescheckingsys/socket.husability...yescheckingsys/socket.hpresence...yescheckingforsys/socket.h...yescheckingarpa/inet.husability...yescheckingarpa/inet.hpresence...yescheckingforarpa/inet.h...yescheckinglocale.husability...yescheckinglocale.hpresence...yescheckingforlocale.h...yescheckingnetdb.husability...yescheckingnetdb.husability...yescheckingfornetdb.h...yescheckingforstdint.h...(缓存)yescheckingforstdlib.h...(缓存)yescheckingforstring.h...(缓存)yescheckingforunistd.h...(缓存)yescheckingstddef.husability...yescheckingstddef.hpresence...yescheckingforstddef.h...yescheckingforanANSIC-conformingconst...yescheckingforoff_t...yescheckingforsize_t...yescheckingwhetherstructtmisinsys/time.hortime.h...time.hcheckingforptrdiff_t...yescheckingforworkingstrtod...yescheckingfor_LARGEFILE_SOURCEvalueneededforlargefiles...nocheckingforworkingmemcmp...yescheckingwhetherlstatcorrectlyhandlestrailingslash...yescheckingwhetherstatacceptsanemptystring...nocheckingforstrftime...yescheckingforregcomp...yescheckingforstrtoull...yescheckingformemmove...yescheckingforfloor...yescheckingforgethostbyaddr...yescheckingforgethostbyname...是检查formemset...是检查setlocale...是检查strchr...是检查strdup...是检查strerror...是检查strrchr...是检查strstr...是检查strtol...是检查realpath...是检查formalloc...是检查realloc...是配置:创建。/config.statusconfig.status:creatingMakefileconfig.status:creatingsrc/config.hconfig.status:executingdepfilescommandsYourbuildconfiguration:CFLAGS=-pthreadstorage:On-memoryHashDatabase(GLib)prefix:/usr/localpackage:goaccessversion:0.9.2bugs:goaccess@prosoftcorp.commake&&makeinstall$goaccess-VGoAccess-0.9.2.Formoredetails访问:http://goaccess.ioCopyright(C)2009-2015GNUGPL'd,byGerardoOrellana
