While trying to emerge any recent versio of ghostscript-gpl I get the following error in the config phase: configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."
>>> Emerging (1 of 1) app-text/ghostscript-gpl-9.05-r1 * ghostscript-9.05.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * ghostscript-gpl-9.05-patchset-1.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * You have bindist in your USE, djvu support will NOT be compiled! * See http://djvu.sourceforge.net/gsdjvu/COPYING for details on licensing issues. >>> Unpacking source... >>> Unpacking ghostscript-9.05.tar.bz2 to /var/tmp/portage/app-text/ghostscript-gpl-9.05-r1/work >>> Unpacking ghostscript-gpl-9.05-patchset-1.tar.bz2 to /var/tmp/portage/app-text/ghostscript-gpl-9.05-r1/work >>> Source unpacked in /var/tmp/portage/app-text/ghostscript-gpl-9.05-r1/work >>> Preparing source in /var/tmp/portage/app-text/ghostscript-gpl-9.05-r1/work/ghostscript-9.05 ... * Applying various patches (bugfixes/updates) ... * ghostscript-gpl-8.61-multilib.patch ... [ ok ] * ghostscript-gpl-8.64-noopt.patch ... [ ok ] * ghostscript-gpl-9.04-iccprofiles-initdir.patch ... [ ok ] * ghostscript-gpl-9.04-runlibfileifexists.patch ... [ ok ] * ghostscript-gpl-9.04-scripts.patch ... [ ok ] * ghostscript-gpl-9.05-cups-filters.patch ... [ ok ] * Done with patching * Running eautoreconf in '/var/tmp/portage/app-text/ghostscript-gpl-9.05-r1/work/ghostscript-9.05' ... * Running aclocal ... [ ok ] * Running autoconf ... [ ok ] * Running eautoreconf in '/var/tmp/portage/app-text/ghostscript-gpl-9.05-r1/work/ghostscript-9.05/ijs' ... * Running libtoolize --install --copy --force --automake ... [ ok ] * Running aclocal ... [ ok ] * Running autoconf ... [ ok ] * Running automake --add-missing --copy --foreign ... [ ok ] * Running elibtoolize in: ghostscript-9.05/ijs/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.2 patch ... * Applying target-nm/2.4.2 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-text/ghostscript-gpl-9.05-r1/work/ghostscript-9.05 ... * econf: updating ghostscript-9.05/ijs/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ghostscript-9.05/ijs/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --enable-dynamic --enable-freetype --enable-fontconfig --disable-compile-inits --disable-openjpeg --with-drivers=ALL --with-fontpath=/usr/share/fonts/urw-fonts:/usr/share/fonts/Type1:/usr/share/fonts:/usr/share/poppler/cMap/Adobe-CNS1:/usr/share/poppler/cMap/Adobe-GB1:/usr/share/poppler/cMap/Adobe-Japan1:/usr/share/poppler/cMap/Adobe-Japan2:/usr/share/poppler/cMap/Adobe-Korea1 --with-ijs --with-jbig2dec --with-libpaper --with-system-libtiff --without-luratech --enable-cups --enable-dbus --enable-gtk --with-install-cups --with-pdftoraster --without-libidn --with-jasper --with-x checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... -std=gnu11 checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -std=gnu11 -E checking for a sed that does not truncate output... /bin/sed checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for pkg-config... /usr/bin/pkg-config checking supported compiler flags... -O2 -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common -g -O0 ...done. checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/types.h... yes checking for sys/stat.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for vfork.h... no checking for errno.h... yes checking for fcntl.h... yes checking for limits.h... yes checking for malloc.h... yes checking for memory.h... yes checking for stdlib.h... yes checking for string.h... yes checking for strings.h... (cached) yes checking for sys/ioctl.h... yes checking for sys/param.h... yes checking for sys/time.h... (cached) yes checking for syslog.h... yes checking for unistd.h... (cached) yes 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 struct tm is in sys/time.h or time.h... time.h checking size of unsigned long int... 8 checking for cos in -lm... yes checking for pthread_create in -lpthread... yes checking for iconv_open... yes checking for systempapername in -lpaper... yes checking for paper.h... yes checking for fontconfig with pkg-config... yes checking for dbus with pkg-config... yes checking for dlopen in -ldl... yes checking for local freetype library source... no checking for system freetype2 >= 2.4.2 with pkg-config... yes checking for local jpeg library source... no checking for jpeg_set_defaults in -ljpeg... yes checking for jpeglib.h... yes checking for jmemsys.h... no checking for local zlib source... no checking for deflate in -lz... yes checking for zlib.h... yes checking for local png library source... no checking for png_create_write_struct in -lpng... yes checking for png.h... yes checking for local lcms2 library source... no checking for system lcms2 library... checking for cmsCreateXYZProfile in -llcms2... yes checking for lcms2.h... yes checking for libtiff with pkg-config... yes checking for cups-config... /usr/bin/cups-config checking for cups/raster.h... yes checking for local ijs library source... yes checking for local jbig2dec library source... no checking for jbig2_page_out in -ljbig2dec... yes checking for local jasper library source... no checking for jas_image_create in -ljasper... yes checking for GTK+ 2.x... yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XOpenDisplay in -lX11... yes checking for XdbeQueryExtension in -lXext... yes checking for XtAppCreateShell in -lXt... yes checking for mkstemp... yes checking for fopen64... yes checking for mkstemp64... yes checking for setlocale... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether x86_64-pc-linux-gnu-gcc -std=gnu11 needs -traditional... no checking for pid_t... yes checking for fork... yes checking for vfork... yes checking for vprintf... yes checking for working fork... yes checking for working vfork... (cached) yes configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.." !!! Please attach the following file when seeking support: !!! /var/tmp/portage/app-text/ghostscript-gpl-9.05-r1/work/ghostscript-9.05/config.log * ERROR: app-text/ghostscript-gpl-9.05-r1::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 3520: Called econf '--enable-dynamic' '--enable-freetype' '--enable-fontconfig' '--disable-compile-inits' '--disable-openjpeg' '--with-drivers=ALL' '--with-fontpath=/usr/share/fonts/urw-fonts:/usr/share/fonts/Type1:/usr/share/fonts:/usr/share/poppler/cMap/Adobe-CNS1:/usr/share/poppler/cMap/Adobe-GB1:/usr/share/poppler/cMap/Adobe-Japan1:/usr/share/poppler/cMap/Adobe-Japan2:/usr/share/poppler/cMap/Adobe-Korea1' '--with-ijs' '--with-jbig2dec' '--with-libpaper' '--with-system-libtiff' '--without-luratech' '--enable-cups' '--enable-dbus' '--enable-gtk' '--with-install-cups' '--with-pdftoraster' '--without-libidn' '--with-jasper' '--with-x' * phase-helpers.sh, line 521: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of `emerge --info '=app-text/ghostscript-gpl-9.05-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/ghostscript-gpl-9.05-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-text/ghostscript-gpl-9.05-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/ghostscript-gpl-9.05-r1/temp/environment'. * Working directory: '/var/tmp/portage/app-text/ghostscript-gpl-9.05-r1/work/ghostscript-9.05' * S: '/var/tmp/portage/app-text/ghostscript-gpl-9.05-r1/work/ghostscript-9.05'
!!! Please attach the following file when seeking support: !!! /var/tmp/portage/app-text/ghostscript-gpl-9.05-r1/work/ghostscript-9.05/config.log 1) Please do. 1) Please post your `emerge --info' output in a comment.
Portage 2.2.1 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.15-r3, 3.10.16-gentooxibah x86_64) ================================================================= System uname: Linux-3.10.16-gentooxibah-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.2 KiB Mem: 16395884 total, 15221636 free KiB Swap: 0 total, 0 free Timestamp of tree: Fri, 18 Oct 2013 08:00:01 +0000 ld GNU ld (GNU Binutils) 2.23.1 app-shells/bash: 4.2_p45 dev-java/java-config: 2.1.12-r1 dev-lang/python: 2.7.5-r3, 3.2.5-r3, 3.3.2-r2 dev-util/cmake: 2.8.10.2-r2 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.2 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 9999 sys-devel/automake: 1.10.3, 1.11.6, 1.12.6, 1.13.4 sys-devel/binutils: 2.23.1 sys-devel/gcc: 4.7.3-r1 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.9 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo pd-overlay gamerlay sunrise alice tatsh-overlay psix-overlay proaudio sabayon stuff damex-overlay ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-pipe -O2 -march=corei7 -mpclmul -mpopcnt -mavx --param l1-cache-size=16 --param l1-cache-line-size=64 -mtune=corei7 --param l2-cache-size=8192" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-pipe -O2 -march=corei7 -mpclmul -mpopcnt -mavx --param l1-cache-size=16 --param l1-cache-line-size=64 -mtune=corei7 --param l2-cache-size=8192" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.aditsu.net:8000/ ftp://mirrors.sohu.com/gentoo/ ftp://mirrors.stuhome.net/gentoo/ rsync://mirrors.xmu.edu.cn/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/pd-overlay /var/lib/layman/gamerlay /var/lib/layman/sunrise /var/lib/layman/alice /var/lib/layman/tatsh-overlay /var/lib/layman/psix /var/lib/layman/pro-audio /var/lib/layman/sabayon /var/lib/layman/stuff /var/lib/layman/damex-overlay" USE="3dmouse X a52 aac aalib acl acpi adplug aiglx alsa amd64 ao aoss ape appmenu avi berkdb bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cgi cjk cli collada consolekit converter cover cover-imlib2 cracklib crypt css cuda cups cxx cycles dbus dbus-server declarative dga djvu dri dts dumb dv dvd dvdr emboss encode enscript exif fam fastcgi fbcon fbcondecor ffmpeg fftw firefox flac fontconfig fortran ftp g3dvl gcj gdbm gif gimp git glut gme gnutils gphoto2 gpm graphviz gstreamer gtk gzip hal hddtemp hotkeys iconv icu ieee1394 imagemagick imap imlib imlib2 infobar ipv6 jack java javascript jbig jpeg jpeg2k kde kdeenablefinal kipi ladspa lame lash lastfm latex lcms ldap libass libnotify lm_sensors lv2 lxvst lzma lzo m3u mad matroska midi mime mms mmx mng modules mono mono2stereo mozilla mp3 mp4 mpeg mplayer mudflap multilib multimedia musepack mysqli nas ncurses new-login nls nocd notify nptl nsplugin ogg openal opencv openexr opengl openmp osc oss pam pango pcre pda pdf phonon php plasma player png policykit portaudio ppds psf pulseaudio qt3support qt4 quicktime rdesktop readline real redcode rpath samba sasl scanner sdl semantic-desktop session shn shorten smp sndfile sound sox spell sse sse2 ssl startup-notification supereq svg symlink tcpd theora threads tidy tiff timidity truetype tta tweak-mode) udev udisks unicode upower usb v4l vcd vorbis vst vtx wavpack win32codecs wxwidgets x264 xcb xcomposite xine xinerama xml xmp xorg xscreensaver xv xvid xvmc zeroconf zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" USE_PYTHON="2.7 3.3" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
Created attachment 361248 [details] app-text/ghostscript-gpl-9.05-r1 build log
(In reply to drxibah from comment #4) > Created attachment 361248 [details] > app-text/ghostscript-gpl-9.05-r1 build log Please attach config.log too, it could be in the work directory instead of temp. We need that too as it explains the lines in much more verbose detail; usually, the error needed is only present in config.log and absent from build.log.
Created attachment 361264 [details] app-text/ghostscript-gpl-9.05-r1 config log
Hmm, indeed no specific error; odd that it doesn't find those files, since if I build the same version it works here. I guess this might have to do something with a specific version of autoconf or something along those lines. (Not sure if it is relevant, but dev-util/shtool is also not installed here) Versions involved: autoconf 2.69, automake 1.14
I switched to autoconf 2.69 and automake 1.14 and it compiled with no problems, thanks a lot. for some reason i was with autoconf-9999, that must have been the problem, because portage automatically pulled automake-1.13.4 before emerging ghostscript-gpl. Thanks
(In reply to drxibah from comment #8) > I switched to autoconf 2.69 and automake 1.14 and it compiled with no > problems, thanks a lot. for some reason i was with autoconf-9999, that must > have been the problem, because portage automatically pulled automake-1.13.4 > before emerging ghostscript-gpl. Thanks PS- and I also upgraded gcc to 4.8.1