Windows的git-slave
发布时间:2020-12-14 03:52:42 所属栏目:Windows 来源:网络整理
导读:git-slave文档只有以下关于 Windows上安装的不太有用的注释: * Limited windows supportMultiple users have been successful in using gitslave with Windows.This is "supported" only in the sense that people have reported it towork and we accept b
git-slave文档只有以下关于
Windows上安装的不太有用的注释:
* Limited windows support Multiple users have been successful in using gitslave with Windows. This is "supported" only in the sense that people have reported it to work and we accept bugfixes,not that you can `make` install or check,or that it is QAed on this platform prior to release." 当我尝试下载并运行’nmake install’时,我得到了同样神秘的错误: makefile(2) : fatal error U1001: syntax error : illegal character '{' in macro Stop. 有没有人有这方面的经验,可以指出我正确的方向? 解决方法
Git-slave的Makefile只与GNU Make一起使用 – 因为它是一个相当简单的makefile,没有理由它也不适用于Microsoft nmake,除了“免费”使用不支持的Make扩展由微软nmake. (
How similar/different are gnu make,microsoft nmake and posix standard make?对差异有很好的总结).
在gitslave / Makefile的第2-4行,如果用$(前缀)替换${prefix}而用$(mandir)替换${mandir} [基本上用括号替换括号(括号)] nmake不应再在Makefile上阻塞.但是,除非您安装了一堆POSIX实用程序或允许mkdir -p,rm -f和sed等命令工作的东西,否则修复nmake不兼容性只会允许(充其量)使testcheck工作. 没有任何gitslave开发人员定期(?)访问Windows开发机器,所以像文档说:“我们接受错误修正,[但不] [声称]您可以进行安装或检查, 我想,在Windows上使用git-slave的其他人只是确保Perl和gitslave以及gitslave所依赖的任何POSIX实用程序(例如grep和rm)安装在PATH的某个地方. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
推荐文章
站长推荐
- WIX:如何动态设置msi输出文件的名称
- 在Windows Shell中将包含*(星号)字符的字符串作为
- windows-service – 如果我没有代理,我可以安全地
- 在Windows 2012中使用ECDHE-ECDSA-AES256-GCM-SH
- 惊艳的cygwin——Windows下的Linux命令行环境的配
- windows – 发生了系统错误1219
- 如何从Windows发送命令到Windows
- win10下安装Tensorflow1.7+CUDA9.0+Cudnn7.0.3
- 自动获取windows或者linux系统IP
- windows-phone-7 – Windows Phone 7数据绑定外部
热点阅读