Cygwin下把make从v3.82换成v3.81.docx_第1页
Cygwin下把make从v3.82换成v3.81.docx_第2页
Cygwin下把make从v3.82换成v3.81.docx_第3页
Cygwin下把make从v3.82换成v3.81.docx_第4页
Cygwin下把make从v3.82换成v3.81.docx_第5页
已阅读5页,还剩18页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

折腾:【未解决】Cygwin下配置Linux内核出错:Makefile:419: * mixed implicit and normal rules. Stop.期间,需要把Cygwin中的,新的版本的,3.82的make,换为旧的,3.81版本的。【折腾过程】1.目前能想到的,只能是重新运行setup,然后试试能否找到3.81的make,然后重新安装。2.后来参考:How to install new packages on Cygwin?提到了,貌似可以通过apt-cyg去安装一个软件包的。而此apt-cyg,之前就在别处的cygwin下安装过。所以,此处,再去在此处的cygwin下安装一下:找到:/p/apt-cyg/然后去下载和安装:?12345678910111213141516171819CLiPC-CLI-1 /develop/kernel/linux-$ svn -force export /svn/trunk/ /bin/A /binA /bin/apt-cygExported revision 18.CLiPC-CLI-1 /develop/kernel/linux-$ chmod +x /bin/apt-cygCLiPC-CLI-1 /develop/kernel/linux-$ apt-cyg -versionapt-cyg version 0.57Written by Stephen JungelsCopyright (c) 2005-9 Stephen Jungels. Released under the GPL.CLiPC-CLI-1 /develop/kernel/linux-$ which apt-cyg/usr/bin/apt-cyg即可。3.试试能否去安装make,结果连不上服务器:?123456789101112131415161718192021222324252627282930313233343536373839CLiPC-CLI-1 /develop/kernel/linux-$ apt-cyg cache search makeapt-cyg: Installs and removes Cygwin packages.apt-cyg install to install packagesapt-cyg remove to remove packagesapt-cyg update to update setup.iniapt-cyg show to show installed packagesapt-cyg find to find packages matching patternsapt-cyg describe to describe packages matching patternsapt-cyg packageof to locate parent packagesOptions:-mirror, -m : set mirror-cache, -c : set cache-file, -f : read package names from file-noupdate, -u : dont update setup.ini from mirror-help-versionCLiPC-CLI-1 /develop/kernel/linux-$ apt-cyg find makeWorking directory is /setupMirror is /pub/cygwin-2013-08-22 14:03:25- /pub/cygwin/setup.bz2= .listingResolving (). , 2620:0:dc0:1800:214:4fff:fe7d:1b9Connecting to ()||:21. failed: Connection timed out.Connecting to ()|2620:0:dc0:1800:214:4fff:fe7d:1b9|:21. failed: Connection timed out.Retrying.-2013-08-22 14:04:09- /pub/cygwin/setup.bz2(try: 2) = .listingConnecting to ()||:21. failed: Connection timed out.Connecting to ()|2620:0:dc0:1800:214:4fff:fe7d:1b9|:21. failed: Connection timed out.Retrying.-2013-08-22 14:04:53- /pub/cygwin/setup.bz2(try: 3) = .listingConnecting to ()||:21. failed: Connection timed out.Connecting to ()|2620:0:dc0:1800:214:4fff:fe7d:1b9|:21.4.所以,貌似,此处,只能放弃apt-cyg了。那就想办法,通过setup去安装3.81的make。看到cygwin主页:/install.html的说明,貌似现在又出现一个for x64的:setup-x86_64.exe当前此处win7是x64的,所以,不知道要不要用这个for x64的setup。因为担心,会不会运行此x64的setup,和之前已经(用x86的setup)安装的cygwin,会有冲突。所以还是先去看看,能否找到原先已有的那个setup.exe了。找到了之前用的setup.exe:所以,就可以重新去运行了:暂时还是先从本地看看再说:结果,本地只有3.82的make:所以,放弃从本地安装。重新运行setup.exe,选择在线安装:直接连接:选择163的源:然后结果竟然出错了“Unable to get setup.ini from :【已解决】Cygwin安装时,选择163的源后出错:Unable to get setup.ini from 5.然后还是看到只有3.82的make,但是注意到,当前是选择了“Hide obsolete packages”的:6.所以,取消选择“Hide obsolete packages”,看看能否有其他版本的make,结果还是没有:7.然后尝试切换到Exp试试:看看能否有其他版本的make,结果还是没有:8.貌似163的cygwin的mirror中,没有3.81的make?所以去看了看:/cygwin/x86_64/setup.ini结果真的没有搜到3.81的make。不过倒是在:/cygwin/x86/setup.ini中搜到了3.81的make: makesdesc: The GNU version of the make utilityldesc: A GNU tool for controlling the generation of executables and othernon-source files of a program from the programs source files. Makeallows users to build and install packages without any significantknowledge about the details of the build process. The details abouthow the program should be built are provided for make in the programsmakefile.category: Develrequires: cygwin coreutils bash libintl8 libiconv2version: 3.82.90-1install: x86/release/make/make-3.82.90-1.tar.bz2 452564 5f7a3fa41811b2309b735862a291615bsource: x86/release/make/make-3.82.90-1-src.tar.bz2 1312867 6758bbbd3315c37d9e8df888a276cef6prevversion: 3.81-2install: x86/release/make/make-3.81-2.tar.bz2 358213 8c54e2611401c435cec0a9a95fd0e9dcsource: x86/release/make/make-3.81-2-src.tar.bz2 1114196 615bc53f9c86f365974caeb41006975e9.所以,接下来,就是去:重新用cygwin官网的最新的setup.exe,去加载163的x86的mirror:/cygwin/x86/然后应该就可以找到对应的3.81的make了。去下载/setup-x86.exe然后去安装:然后同样设置x86的163的mirror:此处,好像是,第二个:结果是地址搞错了,弄了两个x86:换成正确的:然后正确解析了,再去找3.81的make,结果如上,也是找不到。10.然后,再次去确认一下,本地的setup.in:D:tmpdev_toolscygwinhttp%3a%2f%2%2fcygwin%2fx86%2fsetup.ini其中是包含了3.81的make的: makesdesc: The GNU version of the make utilityldesc: A GNU tool for controlling the generation of executables and othernon-source files of a program from the programs source files. Makeallows users to build and install packages without any significantknowledge about the details of the build process. The details abouthow the program should be built are provided for make in the programsmakefile.category: Develrequires: cygwin coreutils bash libintl8 libiconv2version: 3.82.90-1install: x86/release/make/make-3.82.90-1.tar.bz2 452564 5f7a3fa41811b2309b735862a291615bsource: x86/release/make/make-3.82.90-1-src.tar.bz2 1312867 6758bbbd3315c37d9e8df888a276cef6prevversion: 3.81-2install: x86/release/make/make-3.81-2.tar.bz2 358213 8c54e2611401c435cec0a9a95fd0e9dcsource: x86/release/make/make-3.81-2-src.tar.bz2 1114196 615bc53f9c86f365974caeb41006975e但是还是找不到。11.后来的后来,无意间发现,原来,make的那个keep,是可以点击切换的,除了之前的uninstall等选项之外,还可以切换到,之前的3.81的版本的:如此,就可以实现了:卸载旧的3.82的make,重新安装旧的3.81的make了。然后,另外也顺带,把src选上:12.继续去安装:由于默认的选择了其他的一些软件包,结果会去另外下载和安装这些包:然后就是漫长的等待了。13.其中,此处,发现:原先下载的位置是:D:tmpdev_toolscygwinhttp%3a%2f%2%2fcygwin%2frelease而此处,没有下载到:D:tmpdev_toolscygwinhttp%3a%2f%2%2fcygwin%2fx86%2f而是下载到了:D:tmpdev_toolscygwinhttp%3a%2f%2%2fcygwin%2fx86下面的release了,即:D:tmpdev_toolscygwinhttp%3a%2f%2%2fcygwin

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论