I want to install mysql apache php & mod_php so I was following the instructions in the Gentoo-Portage Wiki (http://gentoo-wiki.com/HOWTO_Apache2_with_PHP_MySQL) and it said that the easiest way to accomplish this was with the following command: USE="-* mysql" emerge mysql apache php mod_php. So when I give that instruction I get the error in this case. Reproducible: Always Steps to Reproduce: 1. Logged in as Root 2. USE="-* mysql" emerge mysql apache php mod_php 3. Compiles/installs to a point and then craps out. Actual Results: Please submit a full bug report. See <URL:http://bugs.gentoo.org/> for instructions. make[3]: *** [sql_yacc.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/mysql-4.0.22/work/mysql- 4.0.22/libmysqld' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/mysql-4.0.22/work/mysql- 4.0.22/libmysqld' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/mysql-4.0.22/work/mysql-4.0.22' make: *** [all] Error 2 !!! ERROR: dev-db/mysql-4.0.22 failed. !!! Function src_compile, Line 160, Exitcode 2 !!! compile problem !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Should have compiled/emerged cleanly. I had no other programs running. I have no other programs installed yet that weren't part of the general setup. delux root # emerge info Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.3.20040420- r0,glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r9 i686) ================================================================= System uname: 2.6.9-gentoo-r9 i686 Pentium III (Katmai) Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.4.3-r4,sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=i686 -pipe -fomit-frame-pointer" CHOST="i386-pc-linux-gnu" COMPILER="" 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 -mcpu=i686 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X aim apm arts avi berkdb bitmap-fonts cdr cjk crypt cups doc dvb dvd dvdr encode f77 flac foomaticdb fortran ftp gdbm gif gnome gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml icc icc-pgo icq imagemagick imap imlib indent ipv6 java jikes jpeg kerbos ldap libg++ libwww mad mikmod mime mmsql motif mozilla mpeg msn msql mysql mysqli nas ncurses netboot nls oci8 odbc oggvorbis oogvorbis opeal opengl oss pam pda pdflib perl php png pnp python quicktime readline scanner sdl slang spell spl ssl svga tcpd truetype x86 xml2 xmms xv yahoo zlib"
*** This bug has been marked as a duplicate of 20600 ***