Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
## installing erlang and couchdb on a joyent accelerator (take II): # install erlang cd /tmp wget http://erlang.mirror.libertine.org/download/otp_src_R12B-0.tar.gz gunzip otp_src_R12B-0.tar.gz tar -xvf otp_src_R12B-0.tar cd otp_src_R12B-0 ./configure --prefix=/opt/local gmake sudo gmake install # install ICU cd /tmp wget http://download.icu-project.org/files/icu4c/3.8.1/icu4c-3_8_1-src.tgz tar xzvf icu4c-3_8_1-src.tgz cd icu/source chmod +x runConfigureICU configure install-sh ./runConfigureICU SolarisX86 --prefix=/opt/local ./configure --prefix=/opt/local gmake sudo gmake install # install couchdb (from svn HEAD) cd /tmp svn checkout http://couchdb.googlecode.com/svn/trunk/ couchdb cd couchdb bash ./bootstrap -C ./configure --prefix=/opt/local rm src/js/lock_SunOS.s cp src/js/config/SunOS5.5.mk src/js/config/SunOS5.11_i86pc.mk echo "CC = gcc" >> src/js/config/SunOS5.11_i86pc.mk echo "CCC = g++" >> src/js/config/SunOS5.11_i86pc.mk echo "CFLAGS += -Wall -Wno-format" >> src/js/config/SunOS5.11_i86pc.mk echo "JS_EDITLINE = 0" >> src/js/config/SunOS5.11_i86pc.mk gmake sudo gmake install sudo su - cd /opt/local/bin mv couchdb couchdb-old mv couchjs couchjs-old sed 's/#! \/bin\/sh/#! \/bin\/bash/' couchdb-old >couchdb sed 's/#! \/bin\/sh/#! \/bin\/bash/' couchjs-old >couchjs chmod +x couchdb chmod +x couchjs exit # start couchdb echo `icu-config --invoke` couchdb | bash
This paste will be private.
From the Design Piracy series on my blog: