I've just updated to vnc-4.1.2 with the server use flag set and it seems that
the X module libvnc.so is put in the wrong directory - it is in
/usr/lib/modules/extensions, when Xorg expects modules to be in
/usr/lib/xorg/modules/extensions.
I have xorg-server-1.1.1-r1 installed and my emerge --info is :
Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17.6
i686)
=================================================================
System uname: 2.6.17.6 i686 VIA Nehemiah
Gentoo Base System version 1.12.5
Last Sync: Fri, 20 Oct 2006 07:50:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.3
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -msse -mmmx -mfpmath=sse -pipe -O2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash
/etc/terminfo"
CXXFLAGS="-march=i686 -msse -mmmx -mfpmath=sse -pipe -O2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo http://distfiles.gentoo.org"
LC_ALL="en_IE@euro"
LINGUAS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/opt/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apache2 apm bitmap-fonts bzip2 cle266 cli cracklib crypt
dlloader dri dvd eds elibc_glibc emboss encode exif fbsplash foomaticdb fortran
gdbm gif gstreamer gtk gtk2 imlib input_devices_keyboard input_devices_mouse
isdnlog javascript jpeg kernel_linux libg++ libwww lirc lirc_devices_hauppauge
mad mikmod mjpeg mmx mp3 mpeg mysql ncurses nls nptl nptlonly ogg opengl pam
pcre perl png pppd python qt3 qt4 readline reflection sdl session spell spl sse
tcpd transcode truetype truetype-fonts type1-fonts udev uk_rt unichrome
userland_GNU v4l v4l2 vchroot video_cards_via vorbis xorg xv xvid xvmc zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS
Actually, after looking a bit closer, the vnc module is probably in the right
directory, but a link should be created to /usr/lib/xorg/modules/extensions