Hi all, I'm trying to upgrade uw-imap to 2004c-r3 but I'm having some trouble, here's the output: `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c /bin/sh: line 1: cc: command not found make[3]: *** [osdep.o] Error 127 make[3]: Leaving directory `/var/tmp/portage/uw-imap-2004c-r3/work/imap-2004c1/c-client' make[2]: *** [lnp] Error 2 make[2]: Leaving directory `/var/tmp/portage/uw-imap-2004c-r3/work/imap-2004c1/c-client' make[1]: *** [OSTYPE] Error 2 make[1]: Leaving directory `/var/tmp/portage/uw-imap-2004c-r3/work/imap-2004c1' make: *** [lnp] Error 2 yes: standard output: Broken pipe yes: write error emerge info: Portage 2.0.51.19 (default-linux/x86/2004.2, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.4.29 i686) ================================================================= System uname: 2.4.29 i686 AMD Duron(tm) Processor Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 8 2005, 11:11:03)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4, 1.8.5-r3 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon -O2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.nedlinux.nl" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage-overlay" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" USE="x86 3dnow acpi apache2 berkdb bzlib curl emboss ftp gif imap jpeg libwww mbox mmx ncurses nls pam pcre php png posix readline session ssl tcpd truetype-fonts type1-fonts xml2 zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
The link /usr/bin/cc is something gcc-config does. Are you sure your toolchain works as expected ? Try re-selecting your gcc with gcc-config and then try again. Anyway, this is not a uw-imap bug. Cheers, Ferdy
Thanks, running gcc-config again helped me out. Still, I've compiled other packages without any errors, uw-imap was the only one due to it's uncommon build system I suppose.