xxkb-1.11 depends on file: /usr/local/libdata/xorg/libraries - not found
===> Verifying install for /usr/local/libdata/xorg/libraries in /usr/ports/x1 1/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 versio n, /usr/X11R6 must be a symlink if it exists at
all.Please read /usr/ports/UPDAT ING (entry of 20070519) for the
procedure to upgrade X.org related ports.*** Err or code 1
Stop in /usr/ports/x11/xorg-libraries.
*** Error code 1
Stop in /usr/ports/x11/xxkb.
*** Error code 1
Stop in /usr/ports/x11/xxkb.
UPDATING 20070519
# script xorg-upgrade
You may wish to set BATCH=yes in the environment to avoid interactive
dialogue boxes.
You may want to consider using portupgrade-devel, which fixes some
annoying bugs that cause upgrades to incorrectly be marked as failed
when they actually completed successfully. To switch to
portupgrade-devel:
# portupgrade -f -o ports-mgmt/portupgrade-devel portupgrade
# rm -f /usr/ports/INDEX*.db /var/db/pkg/pkgdb.db
# pkgdb -fu
If you have changed your ports environment in /etc/make.conf,
/usr/local/etc/pkgtools.conf or similar you need to rebuild INDEX:
# cd /usr/ports && make index
If you have not changed your ports environment you can save some
time and just fetch the latest INDEX:
# cd /usr/ports && make fetchindex
It is necessary to set the XORG_UPGRADE environment variable while
updating from xorg 6.9 to 7.2. Once the upgrade is complete this
is no longer be required.
For users of csh-like shells:
# setenv XORG_UPGRADE yes
For users of sh-like shells:
# export XORG_UPGRADE=yes
Unfortunately portupgrade (nor portupgrade-devel) cannot yet handle
the rigors of the xorg upgrade without a small bit of help:
# portupgrade -Rf libXft
If your machine does NOT have any gstreamer ports installed, you can then
run:
# portupgrade -a
However, if you DO have gstreamer ports installed, you must run:
# portupgrade -a -x 'gstreamer*'
Followed by:
# portupgrade -Rr 'gstreamer*'
When packages are available (wait for the announcement on ports@), you
may prefer to use precompiled packages to speed up the process:
# portupgrade -aP
Once the upgrade completes successfully, you can delete the
xorg-manpages package, which is now orphaned.
# pkg_delete xorg-manpages\*
The final step is to merge remaining files from /usr/X11R6 into
/usr/local (/usr/X11R6 is no longer used with xorg 7.2) and replace
/usr/X11R6 with a symlink.
A script is provided for your convenience (or you may choose to do
this by hand): it will first attempt to back up your /usr/X11R6 into
/usr/tmp/mergebase in case something goes wrong, then look for
conflicts (files in /usr/X11R6 that would overwrite files in
/usr/local). Depending on your system configuration you may have to
resolve some of these conflicts by hand first (if in doubt, ask for
help on freebsd-x11@FreeBSD.org). You may also need to edit the
script if the default locations are not correct on your system.
If your /usr/X11R6 is a file system, you will also need to modify the
script to pause after /usr/X11R6 is backed up, but before the symlink is
created.
# sh /usr/ports/Tools/scripts/mergebase.sh
When the merge operation completes successfully, the /usr/X11R6
directory hierarchy will be removed and replaced by a symlink to
/usr/local. This symlink is necessary because some binary ports (and
some remaining source ports) have hard-coded references to /usr/X11R6.
Congratulations, you are done!
# exit
CAVEATS
Make sure you have the x11/xorg meta-port installed. If you do not have
this meta-port installed with X.Org 6.9, you will miss out on a lot of
the new X.Org 7.2 sub-ports.
If you plan on keeping your current /etc/X11/xorg.conf, make sure you
change ModulePath to /usr/local/lib/xorg/modules prior to running X.
If you run into problems running the new X server, try moving aside
your /etc/X11/xorg.conf and allow X to run with default values. After
that you can see the default values in a log file (e.g. /var/log/Xorg.0.log)
and fix your xorg.conf according to the defaults.
IF YOU RUN INTO PROBLEMS:
# uname -a
# ls -l /var/db/pkg
# exit
and send an email to freebsd-x11@FreeBSD.org with a full description
of the problem. Do not include the above typescript in your email,
but bzip2 it and make it available to the developers (e.g. put it
online or send it by private email upon request).