-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build couchdb-1.3.0 fails with python-2.6, passes with python-2.7 ... #81
Comments
same problem here! I appreciate if it could be resolved :) |
I think the problem occurs when echo command is not interpreting backslash escapes (could be bash version/setting issue). diff --git a/tasks/lib.rb b/tasks/lib.rb index 51f5287..e7ab490 100644 --- a/tasks/lib.rb +++ b/tasks/lib.rb @@ -260,7 +260,7 @@ def ed(filename, *cmds) cmds << "wq" cmds = cmds.join "\\n" - sh "echo '#{cmds}' | ed '#{filename}'" + sh "echo -e '#{cmds}' | ed '#{filename}'" end def with_autoconf ver |
Same error, mhrdev's fix worked for me. Centos (specifically Amazon's default EC2 AMI). |
Same error and same fix also for me on AWS Linux instance |
+1 for mhrdev's fix, CentOS 6.4. |
Another +1 for mhrdev's fix! CentOS6.4 x86_64 with default Python2.6; |
The build fails with python-2.6 on rhel6.3.
The build works with python 2.7 ...
The text was updated successfully, but these errors were encountered: