Git Product home page Git Product logo

Comments (6)

afshin2003 avatar afshin2003 commented on June 27, 2024

same problem here! I appreciate if it could be resolved :)

from build-couchdb.

mhrdev avatar mhrdev commented on June 27, 2024

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

from build-couchdb.

forforf avatar forforf commented on June 27, 2024

Same error, mhrdev's fix worked for me. Centos (specifically Amazon's default EC2 AMI).

from build-couchdb.

joscas avatar joscas commented on June 27, 2024

Same error and same fix also for me on AWS Linux instance

from build-couchdb.

pfiled avatar pfiled commented on June 27, 2024

+1 for mhrdev's fix, CentOS 6.4.

from build-couchdb.

dalgibbard avatar dalgibbard commented on June 27, 2024

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 :(

from build-couchdb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.