I am cross installing Gentoo 2005.1 from Debian SID: running SID on hda7 mounted hda3 as /mnt/gentoo did as described on http://www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml using stage2 and snapshot of portage: portage-20050831.tar.bz2 stage2-pentium3-2005.1.tar.bz2 then chroot+source profile pluton / # emerge --info Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.12-1-686-smp i686) ================================================================= System uname: 2.6.12-1-686-smp i686 Pentium III (Coppermine) Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 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 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_GB" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnowex X aalib alsa apache2 apic apm arts avi bash-completion berkdb bitmap-fonts bzlib cairo caps cmov crypt cups cx8 dba de directfb divx4linux djbfft doc dts dv dvb dvd dvdread eds elf emboss encode escreen esd ethereal etwin fbcon fftw flac font-server foomaticdb fortran fpu fpx ftp fxsr gd gdbm gif gnutls gpm graphviz gstreamer gtk gtk2 hdf5 imlib ipv6 java javascript jbig jpeg kerberos krb4 lcms ldap libcaca libclamav libg++ libwww lirc live lzo mad matroska mbox mca mce mikmod mmap mmx motif mozilla mp3 mpeg mpi msr mtrr mysql mythtv ncurses nls nptl odbc ogg oggvorbis opengl oss pae pam pat pcmcia pcre pdflib perl pge plotutils png pnp posix postgres pse pse36 python qt quicktime readline real rrdtool rtc samba sdl sep serial skey slang smp sndfile snmp spell sse ssl streamzap svg sysfs syslog sysvipc tcpd tetex tga theora threads tiff truetype truetype-fonts tsc type1-fonts unicode v4l v4l2 vim vme vorbis wmf xanim xinerama xml xml2 xmlrpc xmms xpm xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY I am trying to install-compile syslog and linux-kernel before first reboot. emerge -va syslog-ng [ebuild N ] app-admin/syslog-ng-1.6.8 -hardened (-selinux) -static +tcpd 0 kB => [...] checking whether to enable Sun STREAMS support... no checking whether to enable Sun door support... no checking whether to enable TCP wrapper support... yes checking whether to enable spoof_source support... no checking how to enable static linking for certain libraries... head: `-1' option is obsolete; use `-n 1' since this will be removed in the future GNU or Solaris checking libol version >= 0.3.16... ./configure: line 7437: which: command not found configure: error: libol-config not found, either install libol or supply its location with --with-libol !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/syslog-ng-1.6.8/work/syslog-ng-1.6.8/config.log cat /var/tmp/portage/syslog-ng-1.6.8/work/syslog-ng-1.6.8/config.log | wc 2832 11934 82814 => I ll give it ONLY if really required
ebuild depends on the which command (which is a part of another program). Just a missing DEPEND, should be easy to fix (install the package that contains which as a workaround until ebuild is patched).
syslog-ng-1.6.8-r1.ebuild is in CVS with a work-around for the which dep. The configure script takes a --with-libol option but it has a bug in that it looks for make_class in a utils/ subdirectory. I emailed upstream about that and the head -1 issue. Thanks for the bug report.
*** Bug 110184 has been marked as a duplicate of this bug. ***