Apache needs ed. Ed gives error: i686-pc-linux-gnu-gcc -c -I. -I. -DHAVE_CONFIG_H -O2 -march=pentium4 buf.c In file included from ed.h:30, from buf.c:26: config.h:12: error: syntax error before "Y_STACKSEG_END" In file included from /usr/include/errno.h:36, from ed.h:34, from buf.c:26: /usr/include/bits/errno.h:38: error: syntax error before "extern" -------------------------------------------------------------------- tvali ~ # emerge mysql -p These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] sys-apps/ed-0.2-r6 [ebuild N ] dev-db/mysql-4.1.14 [ebuild N ] dev-perl/Net-Daemon-0.38 [ebuild N ] perl-core/Storable-2.15 [ebuild N ] virtual/perl-Storable-2.15 [ebuild N ] dev-perl/PlRPC-0.2018 [ebuild N ] dev-perl/DBI-1.48 [ebuild N ] dev-perl/DBD-mysql-2.9007 tvali ~ # emerge mysql Calculating dependencies ...done! >>> emerge (1 of 8) sys-apps/ed-0.2-r6 to / >>> Downloading http://distfiles.gentoo.org/distfiles/ed-0.2.tar.gz --18:46:15-- http://distfiles.gentoo.org/distfiles/ed-0.2.tar.gz => `/usr/portage/distfiles/ed-0.2.tar.gz' Lahendan distfiles.gentoo.org... 64.50.236.52, 64.50.238.52, 216.165.129.135, ... Loon
Apache needs ed. Ed gives error: i686-pc-linux-gnu-gcc -c -I. -I. -DHAVE_CONFIG_H -O2 -march=pentium4 buf.c In file included from ed.h:30, from buf.c:26: config.h:12: error: syntax error before "Y_STACKSEG_END" In file included from /usr/include/errno.h:36, from ed.h:34, from buf.c:26: /usr/include/bits/errno.h:38: error: syntax error before "extern" -------------------------------------------------------------------- tvali ~ # emerge mysql -p These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] sys-apps/ed-0.2-r6 [ebuild N ] dev-db/mysql-4.1.14 [ebuild N ] dev-perl/Net-Daemon-0.38 [ebuild N ] perl-core/Storable-2.15 [ebuild N ] virtual/perl-Storable-2.15 [ebuild N ] dev-perl/PlRPC-0.2018 [ebuild N ] dev-perl/DBI-1.48 [ebuild N ] dev-perl/DBD-mysql-2.9007 tvali ~ # emerge mysql Calculating dependencies ...done! >>> emerge (1 of 8) sys-apps/ed-0.2-r6 to / >>> Downloading http://distfiles.gentoo.org/distfiles/ed-0.2.tar.gz --18:46:15-- http://distfiles.gentoo.org/distfiles/ed-0.2.tar.gz => `/usr/portage/distfiles/ed-0.2.tar.gz' Lahendan distfiles.gentoo.org... 64.50.236.52, 64.50.238.52, 216.165.129.135, ... Loon ühendust serveriga distfiles.gentoo.org|64.50.236.52|:80... ühendus loodud. HTTP päring saadetud, ootan vastust... 200 OK Pikkus: 185 913 (182K) [application/x-gzip] 100%[====================================>] 185 913 45.20K/s ETA 00:00 18:46:20 (45.13 KB/s) - `/usr/portage/distfiles/ed-0.2.tar.gz' salvestatud [185913/185913] >>> md5 files ;-) ed-0.2-r6.ebuild >>> md5 files ;-) files/digest-ed-0.2-r6 >>> md5 files ;-) files/0.2-mkstemp.patch >>> md5 files ;-) files/0.2-info-dir.patch >>> md5 src_uri ;-) ed-0.2.tar.gz >>> Unpacking source... >>> Unpacking ed-0.2.tar.gz to /var/tmp/portage/ed-0.2-r6/work * Applying 0.2-info-dir.patch ... [ ok ] * Applying 0.2-mkstemp.patch ... [ ok ] >>> Source unpacked. ./configure --prefix=/ --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu creating cache ./config.cache checking whether ln -s works... yes checking for ranlib... i686-pc-linux-gnu-ranlib checking for a BSD compatible install... /bin/install -c checking for POSIXized ISC... no checking for gcc... i686-pc-linux-gnu-gcc checking whether we are using GNU C... yes checking for working const... yes checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking whether cross-compiling... no checking for ANSI C header files... yes checking for limits.h... yes checking for memory.h... yes checking for string.h... yes checking for unistd.h... yes checking for locale.h... yes checking for setbuffer... yes checking for sigsetjmp... no checking for sigaction... yes checking for strerror... yes checking for vprintf... yes checking for working alloca.h... yes checking for alloca... yes updating cache ./config.cache creating ./config.status creating Makefile creating config.h ./config.status creating Makefile creating config.h touch stamp-h i686-pc-linux-gnu-gcc -c -I. -I. -DHAVE_CONFIG_H -O2 -march=pentium4 buf.c In file included from ed.h:30, from buf.c:26: config.h:12: error: syntax error before "Y_STACKSEG_END" In file included from /usr/include/errno.h:36, from ed.h:34, from buf.c:26: /usr/include/bits/errno.h:38: error: syntax error before "extern" make: *** [buf.o] Error 1 !!! ERROR: sys-apps/ed-0.2-r6 failed. !!! Function src_compile, Line 44, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.12 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-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LC_ALL="et_EE.utf8" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 crypt cups curl dri eds emboss encode esd exif expat fam foomaticdb fortran gdbm gif glut gmail gmp gnome gpm gstreamer gtalk gtk gtk2 idn imagemagick imlib ipv6 jpeg kde lcms libg++ libwww mad mhash mikmod mng motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png python qt quicktime readline samba sdl spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode vorbis xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
in the future, you *need* to state up front you're using EE locale
fixed in cvs