cht電腦資訊gcin
adm Find login register

configure 的錯誤訊息

swyear
joined: 2007-10-04
posted: 127
promoted: 4
bookmarked: 0
1subject: configure 的錯誤訊息Promote 0 Bookmark 02011-11-06quote  
版本 1.7.1.pre7

prefix: /usr .... Testing gtk+-2.0 : found. .... Testing anthy : found. .... Testing chewing : found. ./configure: line 166: [: missing `]'

查看了 166 行是
165 LIB='lib'
166 if [ -d /usr/lib64 && -d /lib ]; then
167 LIB='lib64'
168 fi

請問是不是有問題?

eliu

joined: 2007-08-09
posted: 11478
promoted: 617
bookmarked: 187
新竹, 台灣
2subject: Promote 0 Bookmark 02011-11-06quote  

pre8 改成

LIB='lib'
if [ -d /usr/lib64 -a -d /lib64 ]; then
LIB='lib64'
fi

cht電腦資訊gcin
adm Find login register
views:4823