can not set default X11BASE !!

藍色泡泡 14 五月, 2008 09:00 常見問題 靜態連結網址 引用 (0) 預覽列印
can not set default X11BASE !!

欲透過ports tree安裝軟體, 出現訊息
On FreeBSD before 6.2 ports system unfortunately can not set default X11BASE by itself so please help it a bit by setting X11BASE=${LOCALBASE} in make.conf.
On the other hand, if you do wish to use non-default X11BASE, please set variable USE_NONDEFAULT_X11BASE.


說明:
從字面上來看 6.2 以前的FreeBSD系統 沒有設定預設的X11BASE變數.
若你希望使用 non-default X11BASE, 也請設定變數.

變數相關的設定在 /usr/ports/Mk/bsd.port.mk 檔案.

解決方式:
A:  使用預設的X11BASE.
echo "X11BASE=${LOCALBASE}" >> /etc/make.conf

B:  不使用預設的X11BASE.
make install  USE_NONDEFAULT_X11BASE="YES"
nodefault_x11base


相關資料:
有沒有 X11BASE的差別在哪? X11BASE又是什麼?
X11BASE: Where X11 is installed on the system. The default is /usr/X11R6
X11BASE就是系統安裝X11的位置,預設是 /usr/X11R6. X11也就是Xwindow視窗相關的安裝.
X11BASE變數設定只是為了ports tree的相依性,與程式安裝的路徑沒有太大的關係.

The value of this variable will be set to LOCALBASE (default /usr/local).
If USE_X_PREFIX or USE_IMAKE is set, PREFIX will be X11BASE (default /usr/X11R6).

迴響


發表迴響

發表迴響
 authimage

©2008 - Post by 藍色泡泡 (some rights reserved)