项目中使用到windows环境的wget

项目中使用到windows环境的wget,于是找一下关于Cygwin环境下的wget资料,主要是编译方面的。

下面的文章很有用。

Cygwin学习笔记之wget

http://blog.csdn.net/u012878073/article/details/25312311

我看了这篇文章后,直接从第二步开始,

$ ./configure
configure: configuring for GNU Wget 1.18
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking whether make supports nested variables... no
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking whether make supports nested variables... (cached) no
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/cygdrive/e/WorkSvn/VirNOS_Code/isodownload/client/DownloadsTools/wget1.18-new/wget-1.18':
configure: error: C compiler cannot create executables
See `config.log' for more details

因此我只好返回第一步安装依赖包

但是第一步的安装依赖包后,进行./configure的时候仍然有很多内容检查。后面还是不能进行。不知道问题出在哪里。


返回到最初,仍然去研究怎么安装cygwin,参照如下文章。

Cygwin安装和配置

http://blog.csdn.net/u013076997/article/details/52636116

作者使用2.774版本的安装程序,我使用的是2.877 32位的。依照内容到“选择安装组件的界面。”因为界面内容不同,而介绍的有差异,没办法看懂。换文章,看了几个看明白了,原来在点击“view”的地方,对应我的是选择view的下拉框,选择分类后,可以看到一样的界面。按照教程提示的选择。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

零点零一

您的鼓励将是我创作的最大动力!

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值