Open breathe opened 11 years ago
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). Adding -e to echo command in tasks/lib.rb solved the problem for me:
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; I also needed to install ed and texinfo which I didn't see listed as a dep on the homepage :(
The build fails with python-2.6 on rhel6.3.
The build works with python 2.7 ...