最近在編譯 FOSS 軟體的時候都會建一個 build.sh,寫法像這樣:
#!/bin/sh OPTS="" OPTS="--prefix=/home/yungyuc/opt/python-2.4-parallel $OPTS" OPTS="--enable-shared $OPTS" ./configure $OPTS > configure.log 2>&1 make > make.log 2>&1
省下了不少尋找錯誤訊息的時間和螢幕畫面。編譯結束後再 make install 安裝。
Posted by yungyuc
at 13:23,
0 comment,
0 trackback.
Navigate
- Previous: bloglines hotkeys @2005/10/14
- Next: Plone 2.1.1 *非常不一樣* @2005/10/15
Add a trackback
Please send trackback to: http://blog.seety.org/everydaywork/2005/10/15/422/trackback/.
Add a comment