|
发表于 2005-4-23 15:38:58
|
显示全部楼层
估计你装系统时,是用packages装的,我以前也出现这样的问题,出错多了,根本无法判断问题出在哪里。
我是根据UPDATING文件解决的。
#pkg_delete -a
/usr/ports/x11/XFree86-4 、/usr/ports/x11/xorg 选择其中一个 XFree86-4仍会出错,我改用xorg就没有了。
/usr/ports/x11/gnome2 、/usr/ports/x11-wm/xfce4 选择其中之一或者都make之
5.x版本和4.x版本油点不一样,4.x版本要修改make.conf,加一行X_WINDOW_SYSTEM=xorg
具体看/etc/ports/UPDATING
20040723:
AFFECTS: users of FreeBSD-current, users of xorg
AUTHOR: anholt@FreeBSD.org
The XFREE86_VERSION variable is deprecated and has been replaced by the
X_WINDOW_SYSTEM variable. X_WINDOW_SYSTEM may be set to xorg, xfree86-4, or
xfree86-3. X_WINDOW_SYSTEM defaults to xorg on FreeBSD-current. If you are
switching to xorg, you should follow this set of commands to cleanly upgrade:
pkg_delete -f /var/db/pkg/imake-4* /var/db/pkg/XFree86-*
cd /usr/ports/x11/xorg && make install
pkgdb -F
Users of -stable or older -current can switch to X.Org by setting
X_WINDOW_SYSTEM=xorg in make.conf and following the same process.
Alternately, FreeBSD 5.x and later users can use portupgrade with packages:
cd /var/db/pkg
portupgrade -o devel/imake-6 imake-4*
portupgrade -o x11/xorg-libraries XFree86-libraries
portupgrade -o x11/xorg-clients XFree86-clients
portupgrade -o x11/xorg-manpages XFree86-manuals
portupgrade -o x11/xorg-documents XFree86-documents
portupgrade -o x11-fonts/xorg-fonts-truetype XFree86-fontScalable
portupgrade -o x11-fonts/xorg-fonts-100dpi XFree86-font100dpi
portupgrade -o x11-fonts/xorg-fonts-75dpi XFree86-font75dpi
portupgrade -o x11-fonts/xorg-fonts-type1 XFree86-fontDefaultBitmaps
portupgrade -o x11-fonts/xorg-fonts-cyrillic XFree86-fontCyrillic
portupgrade -o x11-fonts/xorg-fonts-encodings XFree86-fontEncodings
portupgrade -o x11-servers/xorg-server XFree86-Server
portupgrade -o x11/xorg -f XFree86 |
|