Windows XP Windows 7 Windows 2003 Windows Vista Windows教程綜合 Linux 系統教程
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟件教程
 Windows教程網 >> 電腦軟件教程 >> 服務器技術 >> 關於服務器 >> 安裝PHP(gd)擴展時出錯的解決

安裝PHP(gd)擴展時出錯的解決

日期:2017/2/8 10:29:46      編輯:關於服務器

 usr/X11R6 exists, but it is not a symlink. Installation cannot proceed.
This looks like an incompletely removed old version of X.  In the current version, /usr/X11R6 must be a symlink if it exists at all.Please read /usr/ports/UPDATING (entry of 20070519) for the procedure to upgrade X.org related ports.*** Error code 1

===> Verifying install for /usr/local/libdata/xorg/libraries in /usr/ports/x11/xorg-libraries
/usr/X11R6 exists, but it is not a symlink. Installation cannot proceed.
This looks like an incompletely removed old version of X. In the current version, /usr/X11R6 must be a symlink if it exists at all.Please read /usr/ports/UPDATING (entry of 20070519) for the procedure to upgrade X.org related ports.*** Error code 1

Stop in /usr/ports/x11/xorg-libraries.
*** Error code 1

Stop in /usr/ports/graphics/php4-gd.
*** Error code 1

Stop in /usr/ports/lang/php4-extensions.
*** Error code 1

Stop in /usr/ports/lang/php4-extensions.
   
 


/usr/X11R6 exists, but it is not a symlink
已經寫清楚了,安裝程序發現該目錄不是一個符號鏈接,所以他不繼續下去。
你的xorg的版本是多少,最新的php-extension要求xorg7.2,安裝程序認為你的xorg不完整。
要不然選擇正常升級到xorg7.2,要不然選擇在編譯的時候不編譯x11相關的東西,關於這個問題前面實在有很多帖子,查一查吧

解決辦法為:rm -R-f  /usr/X11R6 ,然後繼續ports安裝即可

或者(站長推薦):

make WITHOUT_X11=yes install

Copyright © Windows教程網 All Rights Reserved