最近在編譯 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
Add a trackback
Add a comment

Your name. (required)

Your personal website. (optional)

Your email address. Will not show in page. (suggested, but optional)

Text format is "Plain Text".

Enter "mraOt"
© hover year to navigate month: powered by django