[...] i686-pc-linux-gnu-gcc -DHAVE_MKSTEMP -DHAVE_HYPOT -O2 -fPIC -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long long" -march=pentium4 -O3 -pipe -I./src -I./obj/../soobj -I./obj/../soobj -I./src -o ./obj/../soobj/iconfig.o -c ./obj/../soobj/iconfig.c i686-pc-linux-gnu-gcc -DHAVE_MKSTEMP -DHAVE_HYPOT -O2 -fPIC -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long long" -march=pentium4 -O3 -pipe -I./obj/../soobj -I./src -o ./obj/../soobj/gconfig.o -c ./obj/../soobj/gconfig.c ./obj/../soobj/echogs -w ./obj/../soobj/ldt.tr -n - i686-pc-linux-gnu-gcc -fPIC -shared -Wl,-soname=libgs.so.8 -o ./bin/../sobin/libgs.so.8.54 ./obj/../soobj/echogs -a ./obj/../soobj/ldt.tr -n -s ./obj/../soobj/gs.o -s cat ./obj/../soobj/ld.tr >>./obj/../soobj/ldt.tr ./obj/../soobj/echogs -a ./obj/../soobj/ldt.tr -s - -lcups -lcupsimage -lm if [ x != x ]; then LD_RUN_PATH=; export LD_RUN_PATH; fi; \ XCFLAGS= XINCLUDE= XLDFLAGS= XLIBDIRS= XLIBS= \ FEATURE_DEVS= DEVICE_DEVS= DEVICE_DEVS1= DEVICE_DEVS2= DEVICE_DEVS3= \ DEVICE_DEVS4= DEVICE_DEVS5= DEVICE_DEVS6= DEVICE_DEVS7= DEVICE_DEVS8= \ DEVICE_DEVS9= DEVICE_DEVS10= DEVICE_DEVS11= DEVICE_DEVS12= \ DEVICE_DEVS13= DEVICE_DEVS14= DEVICE_DEVS15= DEVICE_DEVS16= \ DEVICE_DEVS17= DEVICE_DEVS18= DEVICE_DEVS19= DEVICE_DEVS20= \ DEVICE_DEVS_EXTRA= \ /bin/sh <./obj/../soobj/ldt.tr /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lXext collect2: ld returned 1 exit status make[1]: *** [bin/../sobin/libgs.so.8.54] Error 1 make[1]: Leaving directory `/var/tmp/portage/ghostscript-gpl-8.54/work/ghostscript-8.54-gpl' make: *** [so] Error 2 !!! ERROR: app-text/ghostscript-gpl-8.54 failed. Call stack: ebuild.sh, line 1546: Called dyn_install ebuild.sh, line 1020: Called src_install ghostscript-gpl-8.54.ebuild, line 134: Called die !!! emake install failed !!! If you need support, post the topmost build error, and the call stack if relevant. pc134c ~ # emerge -pv app-text/ghostscript-gpl These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] app-text/ghostscript-gpl-8.54 USE="X cups -cjk -emacs -gtk -jpeg2k" 0 kB Total size of downloads: 0 kB pc134c ~ # emerge --info Portage 2.1.1-r1 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-hardened-r1 i686) ================================================================= System uname: 2.6.17-hardened-r1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.12.6 Last Sync: Fri, 03 Nov 2006 17:50:01 +0000 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: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 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=pentium4 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/dev /etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=pentium4 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox" GENTOO_MIRRORS="http://ftp.sh.cvut.cz/MIRRORS/gentoo" LINGUAS="en cs" MAKEOPTS="-j3" PKGDIR="/usr/portage//packages/x86/" 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/" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X alsa bash-completion berkdb bzip2 cdparanoia crypt cups dlloader dri dvb dvd dvdread elibc_glibc encode flac gif hardened imlib input_devices_evdev input_devices_keyboard input_devices_mouse jpeg kdeenablefinal kernel_linux linguas_cs linguas_en logitech-mouse logrotate mmx mp3 ncurses nls nodrm nptl ogg opengl pam pic png python qt3 readline sse sse2 ssl tcpd theora tiff truetype unicode userland_GNU userlocales video_cards_radeon vorbis x86 xine xorg xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY It can be fixed by specifying "X? ( || ( x11-libs/libXt virtual/x11 ) x11-libs/libXext )" in the $DEP variable in the ebuild.
thanks, fixed