$ emerge -va 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 -cjk -cups -emacs -gtk -jpeg2k" 7,648 kB Total size of downloads: 7,648 kB Would you like to merge these packages? [Yes/No] >>> Emerging (1 of 1) app-text/ghostscript-gpl-8.54 to / * gdevhl12.c.gz MD5 ;-) ... [ ok ] * gdevhl12.c.gz RMD160 ;-) ... [ ok ] * gdevhl12.c.gz SHA1 ;-) ... [ ok ] * gdevhl12.c.gz SHA256 ;-) ... [ ok ] * gdevhl12.c.gz size ;-) ... [ ok ] >>> Resuming download... >>> Downloading 'http://distfiles.gentoo.org/distfiles/ghostscript-8.54-gpl.tar.bz2' --19:56:43-- http://distfiles.gentoo.org/distfiles/ghostscript-8.54-gpl.tar.bz2 => `/usr/portage/distfiles/ghostscript-8.54-gpl.tar.bz2' Resolving distfiles.gentoo.org... 216.165.129.135, 156.56.247.195, 64.50.236.52, ... Connecting to distfiles.gentoo.org|216.165.129.135|:80... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 12,365,361 (12M), 7,831,673 (7.5M) remaining [application/x-tar] 100%[+++++++++++++++++++================================>] 12,365,361 96.41K/s ETA 00:00 19:58:11 (87.36 KB/s) - `/usr/portage/distfiles/ghostscript-8.54-gpl.tar.bz2' saved [12365361/1 2365361] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking ghostscript-8.54-gpl.tar.bz2 ;-) ... [ ok ] * checking gdevhl12.c.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking ghostscript-8.54-gpl.tar.bz2 to /var/tmp/portage/ghostscript-gpl-8.54/work >>> Unpacking gdevhl12.c.gz to /var/tmp/portage/ghostscript-gpl-8.54/work * Applying ghostscript-afpl-8.54-cups-lib.patch ... [ ok ] * Applying ghostscript-afpl-8.54-big-cmap-post.patch ... [ ok ] * Applying ghostscript-afpl-8.54-ps2epsi-afpl.diff ... [ ok ] * Applying ghostscript-afpl-8.54-rinkj.patch ... [ ok ] * Applying ghostscript-afpl-8.54-destdir.diff ... [ ok ] * Applying ghostscript-afpl-8.54-gtk2.patch ... [ ok ] * Applying ghostscript-afpl-8.54-segfault.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/ghostscript-gpl-8.54/work/ghostscript-8.54-gpl ... * econf: updating ghostscript-8.54-gpl/jpeg/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ghostscript-8.54-gpl/jpeg/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ghostscript-8.54-gpl/jasper/acaux/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ghostscript-8.54-gpl/jasper/acaux/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ghostscript-8.54-gpl/libpng/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ghostscript-8.54-gpl/libpng/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --without-x --without-jasper --with-ijs --with-jbig2dec --build=i686-pc-linux-gnu checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking supported compiler flags... -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings -fno-builtin -fno-common ...done. checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for memory.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking sys/window.h usability... no checking sys/window.h presence... no checking for sys/window.h... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for mode_t... yes checking for off_t... yes checking for size_t... yes checking for struct stat.st_blocks... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for unsigned long int... yes checking size of unsigned long int... 4 checking for unsigned long long... yes checking size of unsigned long long... 8 checking for cos in -lm... yes checking for local jpeg library source... jpeg checking for jmemsys.h... yes checking for local zlib source... yes checking for local png library source... yes checking for local ijs library source... yes checking for local jbig2dec library source... jbig2dec checking for X... disabled configure: disabling X11 output devices checking for mkstemp... yes checking for hypot... yes checking for pid_t... yes checking for unistd.h... (cached) yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether i686-pc-linux-gnu-gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking return type of signal handlers... void checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether stat accepts an empty string... no checking for vprintf... yes checking for _doprnt... no checking for bzero... yes checking for dup2... yes checking for floor... yes checking for gettimeofday... yes checking for memchr... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for mkfifo... yes checking for modf... yes checking for pow... yes checking for putenv... yes checking for rint... yes checking for setenv... yes checking for sqrt... yes checking for strchr... yes checking for strerror... yes checking for strrchr... yes checking for strspn... yes checking for strstr... yes configure: creating ./config.status config.status: creating Makefile * econf: updating ghostscript-8.54-gpl/jpeg/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ghostscript-8.54-gpl/jpeg/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ghostscript-8.54-gpl/jasper/acaux/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ghostscript-8.54-gpl/jasper/acaux/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ghostscript-8.54-gpl/libpng/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ghostscript-8.54-gpl/libpng/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu configure: error: cannot find install-sh or install.sh in . ./.. ./../.. !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/ghostscript-gpl-8.54/work/ghostscript-8.54-gpl/ijs/config.log !!! ERROR: app-text/ghostscript-gpl-8.54 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile ghostscript-gpl-8.54.ebuild, line 126: Called econf ebuild.sh, line 540: Called die