when I m emerging libpcre-6.6, compilation end with errors, I can send whole log ---------------------------------------------------------- make: *** [pcre_stringpiece.o] Error 1 * * ERROR: dev-libs/libpcre-6.6 failed. * Call stack: * ebuild.sh, line 1654: Called dyn_compile * ebuild.sh, line 990: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * libpcre-6.6.ebuild, line 42: Called die * * (no error message) * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/dev-libs:libpcre-6.6:20070921-114544.log'. * * Messages for package dev-libs/libpcre-6.6: * TODO: Fix this bad -fPIC handling * * ERROR: dev-libs/libpcre-6.6 failed. * Call stack: * ebuild.sh, line 1654: Called dyn_compile * ebuild.sh, line 990: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * libpcre-6.6.ebuild, line 42: Called die * * (no error message) * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/dev-libs:libpcre-6.6:20070921-114544.log'. * Reproducible: Always
Not baselayout.
> * If you need support, post the topmost build error Also emerge --info is missing. > I can send whole log Good idea.
Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r0, 2.6.20-gentoo-r8 x86_64) ================================================================= System uname: 2.6.20-gentoo-r8 x86_64 Intel(R) Xeon(R) CPU 3060 @ 2.40GHz Timestamp of tree: Fri, 21 Sep 2007 11:30:01 +0000 app-shells/bash: 3.2_p17 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=nocona -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/qmail/alias /var/qmail/control /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=nocona -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.linux.cz/pub/linux/gentoo http://gentoo.mirror.web4u.cz/ ftp://gentoo.mirror.web4u.cz/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gentoo.org.ua/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl amd64 apache2 berkdb bitmap-fonts cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog midi mmx mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl tcpd truetype-fonts type1-fonts unicode xorg zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
---------from first error----------- ------------------------------------ ./pcre_scanner.cc:32:18: error: vector: No such file or directory In file included from ./pcre_scanner.cc:35: ./pcre_scanner.h:48:18: error: string: No such file or directory In file included from ./pcrecpp.h:333, from ./pcre_scanner.h:50, from ./pcre_scanner.cc:35: ./pcre_stringpiece.h:43:56: error: iosfwd: No such file or directory ./pcrecpparg.h:86: error: expected `)' before '*' token ./pcrecpparg.h:86: error: expected `)' before '*' token ./pcre_stringpiece.h:53: error: 'std::string' has not been declared ./pcre_stringpiece.h:70: error: expected ',' or '...' before '&' token ./pcre_stringpiece.h:70: error: ISO C++ forbids declaration of 'string' with no type ./pcre_stringpiece.h:135: error: 'string' does not name a type ./pcre_stringpiece.h:139: error: 'string' has not been declared ./pcre_stringpiece.h: In constructor 'pcrecpp::StringPiece::StringPiece(int)': ./pcre_stringpiece.h:71: error: 'str' was not declared in this scope ./pcrecpp.cc:38:18: error: string: No such file or directory ./pcrecpp.cc:39:21: error: algorithm: No such file or directory ./pcre_stringpiece.h: In member function 'void pcrecpp::StringPiece::CopyToString(int*) const': ./pcre_stringpiece.h:140: error: request for member 'assign' in '* target', which is of non-class type 'int' ./pcre_stringpiece.h: At global scope: ./pcre_stringpiece.h:170: error: expected constructor, destructor, or type conversion before '&' tokenIn file included from ./pcrecpp.cc:45: ./pcre_stringpiece.h:43:56: error: iosfwd: No such file or directory ./pcrecpp.h:491: error: expected ',' or '...' before '&' token ./pcrecpp.h:491: error: ISO C++ forbids declaration of 'string' with no type ./pcrecpp.h:492: error: expected ',' or '...' before '&' token ./pcrecpp.h:492: error: ISO C++ forbids declaration of 'string' with no type ./pcrecpp.h:492: error: 'pcrecpp::RE::RE(int)' cannot be overloaded ./pcrecpp.h:491: error: with 'pcrecpp::RE::RE(int)' ./pcrecpp.h:499: error: ISO C++ forbids declaration of 'string' with no type ./pcrecpp.h:499: error: expected ';' before '&' token ./pcrecpp.h:503: error: expected `;' before 'const' ./pcrecpp.h:503: error: ISO C++ forbids declaration of 'string' with no type ./pcrecpp.h:503: error: expected ';' before '&' token ./pcrecpp.h:510: error: expected `;' before 'bool' ./pcrecpp.h:583: error: 'string' has not been declared ./pcrecpp.h:586: error: 'string' has not been declared ./pcrecpp.h:590: error: 'string' has not been declared ./pcrecpp.h:635: error: 'string' has not been declared ./pcrecpp.h:653: error: 'string' does not name a type ./pcrecpp.h:657: error: ISO C++ forbids declaration of 'string' with no type ./pcrecpp.h:657: error: expected ';' before '*' token ./pcrecpp.h: In constructor 'pcrecpp::RE::RE(int)': ./pcrecpp.h:491: error: 'pat' was not declared in this scope ./pcrecpp.h: In constructor 'pcrecpp::RE::RE(int)': ./pcrecpp.h:492: error: 'pat' was not declared in this scope ./pcrecpp.h:492: error: 'option' was not declared in this scope ./pcre_scanner.h: At global scope: ./pcre_scanner.h:58: error: expected unqualified-id before '&' token ./pcre_scanner.h:58: error: expected ',' or '...' before '&' token ./pcre_scanner.h:58: error: ISO C++ forbids declaration of 'parameter' with no type ./pcre_scanner.h:133: error: 'std::vector' has not been declared ./pcre_scanner.h:133: error: expected ',' or '...' before '<' token ./pcre_scanner.h:139: error: 'std::vector' has not been declared ./pcre_scanner.h:139: error: expected ',' or '...' before '<' token ./pcre_scanner.h:142: error: 'string' in namespace 'std' does not name a type ./pcre_scanner.h:151: error: ISO C++ forbids declaration of 'vector' with no type ./pcre_scanner.h:151: error: invalid use of '::' ./pcre_scanner.h:151: error: expected ';' before '<' token ./pcre_scanner.cc:37: error: 'std::vector' has not been declared ./pcre_scanner.cc: In constructor 'pcrecpp::Scanner::Scanner()': ./pcre_scanner.cc:42: error: class 'pcrecpp::Scanner' does not have any field named 'data_' ./pcre_scanner.cc:43: error: 'data_' was not declared in this scope ./pcre_scanner.cc:47: error: class 'pcrecpp::Scanner' does not have any field named 'comments_' ./pcre_scanner.cc: At global scope: ./pcre_scanner.cc:51: error: expected ',' or '...' before '&' token ./pcre_scanner.cc:51: error: ISO C++ forbids declaration of 'string' with no type ./pcre_scanner.cc: In constructor 'pcrecpp::Scanner::Scanner(int)': ./pcre_scanner.cc:52: error: class 'pcrecpp::Scanner' does not have any field named 'data_' ./pcre_scanner.cc:52: error: 'in' was not declared in this scope ./pcre_scanner.cc:53: error: 'data_' was not declared in this scope ./pcre_scanner.cc:57: error: class 'pcrecpp::Scanner' does not have any field named 'comments_' ./pcre_scanner.cc: In destructor 'pcrecpp::Scanner::~Scanner()': ./pcre_scanner.cc:63: error: 'comments_' was not declared in this scope ./pcre_scanner.cc: In member function 'int pcrecpp::Scanner::LineNumber() const': ./pcre_scanner.cc:94: error: 'data_' was not declared in this scope ./pcre_scanner.cc: In member function 'int pcrecpp::Scanner::Offset() const': ./pcre_scanner.cc:101: error: 'data_' was not declared in this scope ./pcre_scanner.cc: In member function 'void pcrecpp::Scanner::ConsumeSkip()': ./pcre_scanner.cc:122: error: 'comments_' was not declared in this scope ./pcre_scanner.cc:123: error: expected type-specifier before 'vector' ./pcre_scanner.cc:123: error: expected `;' before 'vector' ./pcre_scanner.cc:130: error: 'comments_' was not declared in this scope ./pcre_scanner.cc: At global scope: ./pcre_scanner.cc:138: error: 'vector' has not been declared ./pcre_scanner.cc:138: error: expected ',' or '...' before '<' token ./pcre_scanner.cc: In member function 'void pcrecpp::Scanner::GetComments(int, int, int)': ./pcre_scanner.cc:141: error: 'comments_' was not declared in this scope ./pcre_scanner.cc:149: error: 'vector' was not declared in this scope ./pcre_scanner.cc:149: error: expected primary-expression before '>' token ./pcre_scanner.cc:149: error: '::const_iterator' has not been declared ./pcre_scanner.cc:149: error: expected `;' before 'it' ./pcre_scanner.cc:150: error: 'it' was not declared in this scope ./pcre_scanner.cc:150: error: 'comments_' was not declared in this scope ./pcre_scanner.cc:151: error: 'data_' was not declared in this scope ./pcre_scanner.cc:153: error: 'ranges' was not declared in this scope ./pcre_stringpiece.h:53: error: 'std::string' has not been declared ./pcre_scanner.cc: At global scope: ./pcre_scanner.cc:159: error: variable or field 'GetNextComments' declared void./pcre_stringpiece.h:70: error: expected ',' or '...' before '&' token ./pcre_stringpiece.h:70: error: ISO C++ forbids declaration of 'string' with no type ./pcre_scanner.cc:159: error: 'int pcrecpp::Scanner::GetNextComments' is not a static member of 'class pcrecpp::Scanner' ./pcre_scanner.cc:159: error: 'vector' was not declared in this scope ./pcre_stringpiece.h:135: error: 'string' does not name a type ./pcre_stringpiece.h:139: error: 'string' has not been declared ./pcre_stringpiece.h: In constructor 'pcrecpp::StringPiece::StringPiece(int)': ./pcre_stringpiece.h:71: error: 'str' was not declared in this scope ./pcre_scanner.cc:159: error: expected primary-expression before '>' token ./pcre_scanner.cc:159: error: 'ranges' was not declared in this scope ./pcre_scanner.cc:159: error: expected ',' or ';' before '{' token ./pcre_stringpiece.h: In member function 'void pcrecpp::StringPiece::CopyToString(int*) const': ./pcre_stringpiece.h:140: error: request for member 'assign' in '* target', which is of non-class type 'int' ./pcre_stringpiece.h: At global scope: ./pcre_stringpiece.h:170: error: expected constructor, destructor, or type conversion before '&' token make: *** [pcre_scanner.o] Error 1 make: *** Waiting for unfinished jobs.... ./pcrecpparg.h:86: error: expected `)' before '*' token ./pcrecpparg.h:86: error: expected `)' before '*' token ./pcrecpp.h:491: error: expected ',' or '...' before '&' token ./pcrecpp.h:491: error: ISO C++ forbids declaration of 'string' with no type ./pcrecpp.h:492: error: expected ',' or '...' before '&' token ./pcrecpp.h:492: error: ISO C++ forbids declaration of 'string' with no type ./pcrecpp.h:492: error: 'pcrecpp::RE::RE(int)' cannot be overloaded ./pcrecpp.h:491: error: with 'pcrecpp::RE::RE(int)' ./pcrecpp.h:499: error: ISO C++ forbids declaration of 'string' with no type ./pcrecpp.h:499: error: expected ';' before '&' token ./pcrecpp.h:503: error: expected `;' before 'const' ./pcrecpp.h:503: error: ISO C++ forbids declaration of 'string' with no type ./pcrecpp.h:503: error: expected ';' before '&' token ./pcrecpp.h:510: error: expected `;' before 'bool' ./pcrecpp.h:583: error: 'string' has not been declared ./pcrecpp.h:586: error: 'string' has not been declared ./pcrecpp.h:590: error: 'string' has not been declared ./pcrecpp.h:635: error: 'string' has not been declared ./pcrecpp.h:653: error: 'string' does not name a type ./pcrecpp.h:657: error: ISO C++ forbids declaration of 'string' with no type ./pcrecpp.h:657: error: expected ';' before '*' token ./pcrecpp.h: In constructor 'pcrecpp::RE::RE(int)': ./pcrecpp.h:491: error: 'pat' was not declared in this scope ./pcrecpp.h: In constructor 'pcrecpp::RE::RE(int)': ./pcrecpp.h:492: error: 'pat' was not declared in this scope ./pcrecpp.h:492: error: 'option' was not declared in this scope ./pcrecpp.cc: At global scope: ./pcrecpp.cc:59: error: 'string' does not name a type ./pcrecpp.cc: In member function 'void pcrecpp::RE::Init(const char*, const pcrecpp::RE_Options*)': ./pcrecpp.cc:65: error: 'pattern_' was not declared in this scope ./pcrecpp.cc:71: error: 'error_' was not declared in this scope ./pcrecpp.cc:71: error: 'empty_string' was not declared in this scope ./pcrecpp.cc: In destructor 'pcrecpp::RE::~RE()': ./pcrecpp.cc:95: error: 'error_' was not declared in this scope ./pcrecpp.cc:95: error: 'empty_string' was not declared in this scope ./pcrecpp.cc:95: error: type '<type error>' argument given to 'delete', expected pointer ./pcrecpp.cc: In member function 'pcre* pcrecpp::RE::Compile(pcrecpp::RE::Anchor)': ./pcrecpp.cc:119: error: 'pattern_' was not declared in this scope ./pcrecpp.cc:124: error: 'string' was not declared in this scope ./pcrecpp.cc:124: error: expected `;' before 'wrapped' ./pcrecpp.cc:125: error: 'wrapped' was not declared in this scope ./pcrecpp.cc:125: error: 'pattern_' was not declared in this scope ./pcrecpp.cc:131: error: 'error_' was not declared in this scope ./pcrecpp.cc:131: error: 'empty_string' was not declared in this scope ./pcrecpp.cc:131: error: expected type-specifier before 'string' ./pcrecpp.cc:131: error: expected `;' before 'string' ./pcrecpp.cc: At global scope: ./pcrecpp.cc:319: error: 'string' has not been declared ./pcrecpp.cc: In member function 'bool pcrecpp::RE::Replace(const pcrecpp::StringPiece&, int*) const': ./pcrecpp.cc:325: error: 'string' was not declared in this scope ./pcrecpp.cc:325: error: expected `;' before 's' ./pcrecpp.cc:326: error: 's' was not declared in this scope ./pcrecpp.cc:331: error: request for member 'replace' in '* str', which is of non-class type 'int' ./pcrecpp.cc:331: error: 's' was not declared in this scope ./pcrecpp.cc: At global scope: ./pcrecpp.cc:336: error: 'string' has not been declared ./pcrecpp.cc: In member function 'int pcrecpp::RE::GlobalReplace(const pcrecpp::StringPiece&, int*) const': ./pcrecpp.cc:339: error: 'string' was not declared in this scope ./pcrecpp.cc:339: error: expected `;' before 'out' ./pcrecpp.cc:343: error: request for member 'length' in '* str', which is of non-class type 'int' ./pcrecpp.cc:353: error: request for member 'length' in '* str', which is of non-class type 'int' ./pcrecpp.cc:354: error: 'out' was not declared in this scope ./pcrecpp.cc:354: error: invalid types 'int[int]' for array subscript ./pcrecpp.cc:357: error: 'out' was not declared in this scope ./pcrecpp.cc:368: error: request for member 'length' in '* str', which is of non-class type 'int' ./pcrecpp.cc:369: error: 'out' was not declared in this scope ./pcrecpp.cc:369: error: request for member 'length' in '* str', which is of non-class type 'int' ./pcrecpp.cc:370: error: 'out' was not declared in this scope ./pcrecpp.cc:370: error: 'swap' was not declared in this scope ./pcrecpp.cc: At global scope: ./pcrecpp.cc:376: error: 'string' has not been declared ./pcrecpp.cc: In member function 'bool pcrecpp::RE::Extract(const pcrecpp::StringPiece&, const pcrecpp::StringPiece&, int*) const': ./pcrecpp.cc:381: error: request for member 'erase' in '* out', which is of non-class type 'int' ./pcrecpp.cc: At global scope: ./pcrecpp.cc:496: error: 'bool pcrecpp::RE::Rewrite' is not a static member of 'class pcrecpp::RE' ./pcrecpp.cc:496: error: 'string' was not declared in this scope ./pcrecpp.cc:496: error: 'out' was not declared in this scope ./pcrecpp.cc:496: error: expected primary-expression before 'const' ./pcrecpp.cc:497: error: expected primary-expression before 'const' ./pcrecpp.cc:497: error: expected primary-expression before 'int' ./pcrecpp.cc:497: error: expected primary-expression before 'int' ./pcrecpp.cc:497: error: initializer expression list treated as compound expression ./pcrecpp.cc:497: error: expected ',' or ';' before 'const' ./pcrecpp.cc: In static member function 'static bool pcrecpp::Arg::parse_string(const char*, int, void*)': ./pcrecpp.cc:549: error: expected type-specifier before 'string' ./pcrecpp.cc:549: error: expected `>' before 'string' ./pcrecpp.cc:549: error: expected `(' before 'string' ./pcrecpp.cc:549: error: 'string' was not declared in this scope ./pcrecpp.cc:549: error: expected primary-expression before '>' token ./pcrecpp.cc:549: error: 'void*' is not a pointer-to-object type ./pcrecpp.cc:549: error: expected `)' before ';' token make: *** [pcrecpp.o] Error 1 x86_64-pc-linux-gnu-g++ -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_stringpiece.cc -fPIC -DPIC -o .libs/pcre_stringpiece.o ./pcre_stringpiece.cc:33:20: error: iostream: No such file or directory In file included from ./pcre_stringpiece.cc:35: ./pcre_stringpiece.h:42:18: error: string: No such file or directory ./pcre_stringpiece.h:43:56: error: iosfwd: No such file or directory ./pcre_stringpiece.h:53: error: 'std::string' has not been declared ./pcre_stringpiece.h:70: error: expected ',' or '...' before '&' token ./pcre_stringpiece.h:70: error: ISO C++ forbids declaration of 'string' with no type ./pcre_stringpiece.h:135: error: 'string' does not name a type ./pcre_stringpiece.h:139: error: 'string' has not been declared ./pcre_stringpiece.h: In constructor 'pcrecpp::StringPiece::StringPiece(int)': ./pcre_stringpiece.h:71: error: 'str' was not declared in this scope ./pcre_stringpiece.h: In member function 'void pcrecpp::StringPiece::CopyToString(int*) const': ./pcre_stringpiece.h:140: error: request for member 'assign' in '* target', which is of non-class type 'int' ./pcre_stringpiece.h: At global scope: ./pcre_stringpiece.h:170: error: expected constructor, destructor, or type conversion before '&' token ./pcre_stringpiece.cc:37: error: expected constructor, destructor, or type conversion before '&' token make: *** [pcre_stringpiece.o] Error 1 [31;01m*[0m [31;01m*[0m ERROR: dev-libs/libpcre-6.6 failed. [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 1654: Called dyn_compile [31;01m*[0m ebuild.sh, line 990: Called qa_call 'src_compile' [31;01m*[0m ebuild.sh, line 44: Called src_compile [31;01m*[0m libpcre-6.6.ebuild, line 42: Called die [31;01m*[0m [31;01m*[0m (no error message) [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant. [31;01m*[0m A complete build log is located at '/var/log/portage/dev-libs:libpcre-6.6:20070921-114544.log'. [31;01m*[0m
(In reply to comment #1) > Not baselayout. > Sorry, I wasnt sure :o(
Attach the complete log here, please.
(In reply to comment #6) > Attach the complete log here, please. > Done
Take this > '/var/log/portage/dev-libs:libpcre-6.6:20070921-114544.log'. and attach the file here. Thanks.
1.part of log ------------- >>> Unpacking source... >>> Unpacking pcre-6.6.tar.bz2 to /var/tmp/portage/dev-libs/libpcre-6.6/work [32;01m*[0m Applying pcre-6.3-uclibc-tuple.patch ... [A[149C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Applying pcre-6.4-link.patch ... [A[149C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Applying pcre-6.6-parallel-build.patch ... [A[149C [34;01m[ [32;01mok[34;01m ][0m [33;01m*[0m TODO: Fix this bad -fPIC handling [32;01m*[0m Running elibtoolize in: pcre-6.6 [32;01m*[0m Applying install-sh-1.5.patch ... [32;01m*[0m Applying max_cmd_len-1.5.0.patch ... [32;01m*[0m Applying sed-1.5.6.patch ... >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-libs/libpcre-6.6/work/pcre-6.6 ... * econf: updating pcre-6.6/config.guess with /usr/share/gnuconfig/config.guess * econf: updating pcre-6.6/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-utf8 --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 accept ANSI C... none needed checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking for a BSD-compatible install... /usr/bin/install -c checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for x86_64-pc-linux-gnu-g77... no checking for x86_64-pc-linux-gnu-f77... no checking for x86_64-pc-linux-gnu-xlf... no checking for x86_64-pc-linux-gnu-frt... no checking for x86_64-pc-linux-gnu-pgf77... no checking for x86_64-pc-linux-gnu-fort77... no checking for x86_64-pc-linux-gnu-fl32... no checking for x86_64-pc-linux-gnu-af77... no checking for x86_64-pc-linux-gnu-f90... no checking for x86_64-pc-linux-gnu-xlf90... no checking for x86_64-pc-linux-gnu-pgf90... no checking for x86_64-pc-linux-gnu-epcf90... no checking for x86_64-pc-linux-gnu-f95... no checking for x86_64-pc-linux-gnu-fort... no checking for x86_64-pc-linux-gnu-xlf95... no checking for x86_64-pc-linux-gnu-ifc... no checking for x86_64-pc-linux-gnu-efc... no checking for x86_64-pc-linux-gnu-pgf95... no checking for x86_64-pc-linux-gnu-lf95... no checking for x86_64-pc-linux-gnu-gfortran... x86_64-pc-linux-gnu-gfortran checking whether we are using the GNU Fortran 77 compiler... yes checking whether x86_64-pc-linux-gnu-gfortran accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for correct ltmain.sh version... yes checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for x86_64-pc-linux-gnu-gfortran option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-gfortran PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-gfortran static flag -static works... yes checking if x86_64-pc-linux-gnu-gfortran supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-gfortran linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for ANSI C header files... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking string usability... no checking string presence... no checking for string... no checking bits/type_traits.h usability... no checking bits/type_traits.h presence... no checking for bits/type_traits.h... no checking type_traits.h usability... no checking type_traits.h presence... no checking for type_traits.h... no checking for an ANSI C-conforming const... yes checking for size_t... yes checking for long long... yes checking for unsigned long long... yes checking for bcopy... yes checking for memmove... yes checking for strerror... yes checking for strtoq... yes checking for strtoll... yes configure: creating ./config.status config.status: creating Makefile config.status: creating pcre-config config.status: creating libpcre.pc config.status: creating pcrecpparg.h config.status: creating pcre_stringpiece.h config.status: creating RunGrepTest config.status: creating RunTest config.status: creating config.h config.status: executing default commands x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. ./dftables.c mkdir .libs x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_config.c -fPIC -DPIC -o .libs/pcre_config.o x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_config.c -o pcre_config.o >/dev/null 2>&1 x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_dfa_exec.c -fPIC -DPIC -o .libs/pcre_dfa_exec.o x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_compile.c -fPIC -DPIC -o .libs/pcre_compile.o x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_dfa_exec.c -o pcre_dfa_exec.o >/dev/null 2>&1 x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_exec.c -fPIC -DPIC -o .libs/pcre_exec.o x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_compile.c -o pcre_compile.o >/dev/null 2>&1 x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_get.c -fPIC -DPIC -o .libs/pcre_get.o x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_exec.c -o pcre_exec.o >/dev/null 2>&1 x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_fullinfo.c -fPIC -DPIC -o .libs/pcre_fullinfo.o x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_fullinfo.c -o pcre_fullinfo.o >/dev/null 2>&1 x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_globals.c -fPIC -DPIC -o .libs/pcre_globals.o x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_get.c -o pcre_get.o >/dev/null 2>&1 x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_globals.c -o pcre_globals.o >/dev/null 2>&1 x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_info.c -fPIC -DPIC -o .libs/pcre_info.o x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_info.c -o pcre_info.o >/dev/null 2>&1 x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_ord2utf8.c -fPIC -DPIC -o .libs/pcre_ord2utf8.o x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_maketables.c -fPIC -DPIC -o .libs/pcre_maketables.o x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_maketables.c -o pcre_maketables.o >/dev/null 2>&1 (In reply to comment #8) > Take this > > > '/var/log/portage/dev-libs:libpcre-6.6:20070921-114544.log'. > > and attach the file here. Thanks. >
2.part of log ------------- x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_ord2utf8.c -o pcre_ord2utf8.o >/dev/null 2>&1 x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_study.c -fPIC -DPIC -o .libs/pcre_study.o x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_study.c -o pcre_study.o >/dev/null 2>&1 x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_refcount.c -fPIC -DPIC -o .libs/pcre_refcount.o x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_refcount.c -o pcre_refcount.o >/dev/null 2>&1 x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_try_flipped.c -fPIC -DPIC -o .libs/pcre_try_flipped.o x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_ucp_searchfuncs.c -fPIC -DPIC -o .libs/pcre_ucp_searchfuncs.o x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_try_flipped.c -o pcre_try_flipped.o >/dev/null 2>&1 x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_tables.c -fPIC -DPIC -o .libs/pcre_tables.o x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_ucp_searchfuncs.c -o pcre_ucp_searchfuncs.o >/dev/null 2>&1 x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_tables.c -o pcre_tables.o >/dev/null 2>&1 x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_xclass.c -fPIC -DPIC -o .libs/pcre_xclass.o x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_valid_utf8.c -fPIC -DPIC -o .libs/pcre_valid_utf8.o x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_xclass.c -o pcre_xclass.o >/dev/null 2>&1 x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_valid_utf8.c -o pcre_valid_utf8.o >/dev/null 2>&1 x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 \ ./pcretest.c x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_version.c -fPIC -DPIC -o .libs/pcre_version.o x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_version.c -o pcre_version.o >/dev/null 2>&1 x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 \ -DIS_UNIX ./pcregrep.c x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcreposix.c -fPIC -DPIC -o .libs/pcreposix.o x86_64-pc-linux-gnu-gcc -c -O2 -march=nocona -pipe -fPIC -I. -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcreposix.c -o pcreposix.o >/dev/null 2>&1 x86_64-pc-linux-gnu-g++ -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_scanner.cc -fPIC -DPIC -o .libs/pcre_scanner.o x86_64-pc-linux-gnu-g++ -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcrecpp.cc -fPIC -DPIC -o .libs/pcrecpp.o ./pcre_scanner.cc:32:18: error: vector: No such file or directory In file included from ./pcre_scanner.cc:35: ./pcre_scanner.h:48:18: error: string: No such file or directory In file included from ./pcrecpp.h:333, from ./pcre_scanner.h:50, from ./pcre_scanner.cc:35: ./pcre_stringpiece.h:43:56: error: iosfwd: No such file or directory ./pcrecpparg.h:86: error: expected `)' before '*' token ./pcrecpparg.h:86: error: expected `)' before '*' token ./pcre_stringpiece.h:53: error: 'std::string' has not been declared ./pcre_stringpiece.h:70: error: expected ',' or '...' before '&' token ./pcre_stringpiece.h:70: error: ISO C++ forbids declaration of 'string' with no type ./pcre_stringpiece.h:135: error: 'string' does not name a type ./pcre_stringpiece.h:139: error: 'string' has not been declared ./pcre_stringpiece.h: In constructor 'pcrecpp::StringPiece::StringPiece(int)': ./pcre_stringpiece.h:71: error: 'str' was not declared in this scope ./pcrecpp.cc:38:18: error: string: No such file or directory ./pcrecpp.cc:39:21: error: algorithm: No such file or directory ./pcre_stringpiece.h: In member function 'void pcrecpp::StringPiece::CopyToString(int*) const': ./pcre_stringpiece.h:140: error: request for member 'assign' in '* target', which is of non-class type 'int' ./pcre_stringpiece.h: At global scope: ./pcre_stringpiece.h:170: error: expected constructor, destructor, or type conversion before '&' tokenIn file included from ./pcrecpp.cc:45: ./pcre_stringpiece.h:43:56: error: iosfwd: No such file or directory ./pcrecpp.h:491: error: expected ',' or '...' before '&' token ./pcrecpp.h:491: error: ISO C++ forbids declaration of 'string' with no type ./pcrecpp.h:492: error: expected ',' or '...' before '&' token ./pcrecpp.h:492: error: ISO C++ forbids declaration of 'string' with no type ./pcrecpp.h:492: error: 'pcrecpp::RE::RE(int)' cannot be overloaded ./pcrecpp.h:491: error: with 'pcrecpp::RE::RE(int)' ./pcrecpp.h:499: error: ISO C++ forbids declaration of 'string' with no type ./pcrecpp.h:499: error: expected ';' before '&' token ./pcrecpp.h:503: error: expected `;' before 'const' ./pcrecpp.h:503: error: ISO C++ forbids declaration of 'string' with no type ./pcrecpp.h:503: error: expected ';' before '&' token ./pcrecpp.h:510: error: expected `;' before 'bool' ./pcrecpp.h:583: error: 'string' has not been declared ./pcrecpp.h:586: error: 'string' has not been declared ./pcrecpp.h:590: error: 'string' has not been declared ./pcrecpp.h:635: error: 'string' has not been declared ./pcrecpp.h:653: error: 'string' does not name a type ./pcrecpp.h:657: error: ISO C++ forbids declaration of 'string' with no type ./pcrecpp.h:657: error: expected ';' before '*' token ./pcrecpp.h: In constructor 'pcrecpp::RE::RE(int)': ./pcrecpp.h:491: error: 'pat' was not declared in this scope ./pcrecpp.h: In constructor 'pcrecpp::RE::RE(int)': ./pcrecpp.h:492: error: 'pat' was not declared in this scope ./pcrecpp.h:492: error: 'option' was not declared in this scope (In reply to comment #8) > Take this > > > '/var/log/portage/dev-libs:libpcre-6.6:20070921-114544.log'. > > and attach the file here. Thanks. >
3.part of log -------------- ./pcre_scanner.h: At global scope: ./pcre_scanner.h:58: error: expected unqualified-id before '&' token ./pcre_scanner.h:58: error: expected ',' or '...' before '&' token ./pcre_scanner.h:58: error: ISO C++ forbids declaration of 'parameter' with no type ./pcre_scanner.h:133: error: 'std::vector' has not been declared ./pcre_scanner.h:133: error: expected ',' or '...' before '<' token ./pcre_scanner.h:139: error: 'std::vector' has not been declared ./pcre_scanner.h:139: error: expected ',' or '...' before '<' token ./pcre_scanner.h:142: error: 'string' in namespace 'std' does not name a type ./pcre_scanner.h:151: error: ISO C++ forbids declaration of 'vector' with no type ./pcre_scanner.h:151: error: invalid use of '::' ./pcre_scanner.h:151: error: expected ';' before '<' token ./pcre_scanner.cc:37: error: 'std::vector' has not been declared ./pcre_scanner.cc: In constructor 'pcrecpp::Scanner::Scanner()': ./pcre_scanner.cc:42: error: class 'pcrecpp::Scanner' does not have any field named 'data_' ./pcre_scanner.cc:43: error: 'data_' was not declared in this scope ./pcre_scanner.cc:47: error: class 'pcrecpp::Scanner' does not have any field named 'comments_' ./pcre_scanner.cc: At global scope: ./pcre_scanner.cc:51: error: expected ',' or '...' before '&' token ./pcre_scanner.cc:51: error: ISO C++ forbids declaration of 'string' with no type ./pcre_scanner.cc: In constructor 'pcrecpp::Scanner::Scanner(int)': ./pcre_scanner.cc:52: error: class 'pcrecpp::Scanner' does not have any field named 'data_' ./pcre_scanner.cc:52: error: 'in' was not declared in this scope ./pcre_scanner.cc:53: error: 'data_' was not declared in this scope ./pcre_scanner.cc:57: error: class 'pcrecpp::Scanner' does not have any field named 'comments_' ./pcre_scanner.cc: In destructor 'pcrecpp::Scanner::~Scanner()': ./pcre_scanner.cc:63: error: 'comments_' was not declared in this scope ./pcre_scanner.cc: In member function 'int pcrecpp::Scanner::LineNumber() const': ./pcre_scanner.cc:94: error: 'data_' was not declared in this scope ./pcre_scanner.cc: In member function 'int pcrecpp::Scanner::Offset() const': ./pcre_scanner.cc:101: error: 'data_' was not declared in this scope ./pcre_scanner.cc: In member function 'void pcrecpp::Scanner::ConsumeSkip()': ./pcre_scanner.cc:122: error: 'comments_' was not declared in this scope ./pcre_scanner.cc:123: error: expected type-specifier before 'vector' ./pcre_scanner.cc:123: error: expected `;' before 'vector' ./pcre_scanner.cc:130: error: 'comments_' was not declared in this scope ./pcre_scanner.cc: At global scope: ./pcre_scanner.cc:138: error: 'vector' has not been declared ./pcre_scanner.cc:138: error: expected ',' or '...' before '<' token ./pcre_scanner.cc: In member function 'void pcrecpp::Scanner::GetComments(int, int, int)': ./pcre_scanner.cc:141: error: 'comments_' was not declared in this scope ./pcre_scanner.cc:149: error: 'vector' was not declared in this scope ./pcre_scanner.cc:149: error: expected primary-expression before '>' token ./pcre_scanner.cc:149: error: '::const_iterator' has not been declared ./pcre_scanner.cc:149: error: expected `;' before 'it' ./pcre_scanner.cc:150: error: 'it' was not declared in this scope ./pcre_scanner.cc:150: error: 'comments_' was not declared in this scope ./pcre_scanner.cc:151: error: 'data_' was not declared in this scope ./pcre_scanner.cc:153: error: 'ranges' was not declared in this scope ./pcre_stringpiece.h:53: error: 'std::string' has not been declared ./pcre_scanner.cc: At global scope: ./pcre_scanner.cc:159: error: variable or field 'GetNextComments' declared void./pcre_stringpiece.h:70: error: expected ',' or '...' before '&' token ./pcre_stringpiece.h:70: error: ISO C++ forbids declaration of 'string' with no type ./pcre_scanner.cc:159: error: 'int pcrecpp::Scanner::GetNextComments' is not a static member of 'class pcrecpp::Scanner' ./pcre_scanner.cc:159: error: 'vector' was not declared in this scope ./pcre_stringpiece.h:135: error: 'string' does not name a type ./pcre_stringpiece.h:139: error: 'string' has not been declared ./pcre_stringpiece.h: In constructor 'pcrecpp::StringPiece::StringPiece(int)': ./pcre_stringpiece.h:71: error: 'str' was not declared in this scope ./pcre_scanner.cc:159: error: expected primary-expression before '>' token ./pcre_scanner.cc:159: error: 'ranges' was not declared in this scope ./pcre_scanner.cc:159: error: expected ',' or ';' before '{' token ./pcre_stringpiece.h: In member function 'void pcrecpp::StringPiece::CopyToString(int*) const': ./pcre_stringpiece.h:140: error: request for member 'assign' in '* target', which is of non-class type 'int' ./pcre_stringpiece.h: At global scope: ./pcre_stringpiece.h:170: error: expected constructor, destructor, or type conversion before '&' token make: *** [pcre_scanner.o] Error 1 make: *** Waiting for unfinished jobs.... ./pcrecpparg.h:86: error: expected `)' before '*' token ./pcrecpparg.h:86: error: expected `)' before '*' token ./pcrecpp.h:491: error: expected ',' or '...' before '&' token ./pcrecpp.h:491: error: ISO C++ forbids declaration of 'string' with no type ./pcrecpp.h:492: error: expected ',' or '...' before '&' token ./pcrecpp.h:492: error: ISO C++ forbids declaration of 'string' with no type ./pcrecpp.h:492: error: 'pcrecpp::RE::RE(int)' cannot be overloaded ./pcrecpp.h:491: error: with 'pcrecpp::RE::RE(int)' ./pcrecpp.h:499: error: ISO C++ forbids declaration of 'string' with no type ./pcrecpp.h:499: error: expected ';' before '&' token ./pcrecpp.h:503: error: expected `;' before 'const' ./pcrecpp.h:503: error: ISO C++ forbids declaration of 'string' with no type ./pcrecpp.h:503: error: expected ';' before '&' token ./pcrecpp.h:510: error: expected `;' before 'bool' ./pcrecpp.h:583: error: 'string' has not been declared ./pcrecpp.h:586: error: 'string' has not been declared ./pcrecpp.h:590: error: 'string' has not been declared ./pcrecpp.h:635: error: 'string' has not been declared ./pcrecpp.h:653: error: 'string' does not name a type ./pcrecpp.h:657: error: ISO C++ forbids declaration of 'string' with no type ./pcrecpp.h:657: error: expected ';' before '*' token ./pcrecpp.h: In constructor 'pcrecpp::RE::RE(int)': ./pcrecpp.h:491: error: 'pat' was not declared in this scope ./pcrecpp.h: In constructor 'pcrecpp::RE::RE(int)': ./pcrecpp.h:492: error: 'pat' was not declared in this scope ./pcrecpp.h:492: error: 'option' was not declared in this scope ./pcrecpp.cc: At global scope: ./pcrecpp.cc:59: error: 'string' does not name a type ./pcrecpp.cc: In member function 'void pcrecpp::RE::Init(const char*, const pcrecpp::RE_Options*)': ./pcrecpp.cc:65: error: 'pattern_' was not declared in this scope ./pcrecpp.cc:71: error: 'error_' was not declared in this scope ./pcrecpp.cc:71: error: 'empty_string' was not declared in this scope ./pcrecpp.cc: In destructor 'pcrecpp::RE::~RE()': ./pcrecpp.cc:95: error: 'error_' was not declared in this scope ./pcrecpp.cc:95: error: 'empty_string' was not declared in this scope ./pcrecpp.cc:95: error: type '<type error>' argument given to 'delete', expected pointer ./pcrecpp.cc: In member function 'pcre* pcrecpp::RE::Compile(pcrecpp::RE::Anchor)': ./pcrecpp.cc:119: error: 'pattern_' was not declared in this scope ./pcrecpp.cc:124: error: 'string' was not declared in this scope ./pcrecpp.cc:124: error: expected `;' before 'wrapped' ./pcrecpp.cc:125: error: 'wrapped' was not declared in this scope ./pcrecpp.cc:125: error: 'pattern_' was not declared in this scope ./pcrecpp.cc:131: error: 'error_' was not declared in this scope ./pcrecpp.cc:131: error: 'empty_string' was not declared in this scope ./pcrecpp.cc:131: error: expected type-specifier before 'string' ./pcrecpp.cc:131: error: expected `;' before 'string' ./pcrecpp.cc: At global scope: ./pcrecpp.cc:319: error: 'string' has not been declared ./pcrecpp.cc: In member function 'bool pcrecpp::RE::Replace(const pcrecpp::StringPiece&, int*) const': ./pcrecpp.cc:325: error: 'string' was not declared in this scope ./pcrecpp.cc:325: error: expected `;' before 's' ./pcrecpp.cc:326: error: 's' was not declared in this scope ./pcrecpp.cc:331: error: request for member 'replace' in '* str', which is of non-class type 'int' ./pcrecpp.cc:331: error: 's' was not declared in this scope ./pcrecpp.cc: At global scope: ./pcrecpp.cc:336: error: 'string' has not been declared ./pcrecpp.cc: In member function 'int pcrecpp::RE::GlobalReplace(const pcrecpp::StringPiece&, int*) const': ./pcrecpp.cc:339: error: 'string' was not declared in this scope ./pcrecpp.cc:339: error: expected `;' before 'out' ./pcrecpp.cc:343: error: request for member 'length' in '* str', which is of non-class type 'int' ./pcrecpp.cc:353: error: request for member 'length' in '* str', which is of non-class type 'int' ./pcrecpp.cc:354: error: 'out' was not declared in this scope ./pcrecpp.cc:354: error: invalid types 'int[int]' for array subscript ./pcrecpp.cc:357: error: 'out' was not declared in this scope ./pcrecpp.cc:368: error: request for member 'length' in '* str', which is of non-class type 'int' ./pcrecpp.cc:369: error: 'out' was not declared in this scope ./pcrecpp.cc:369: error: request for member 'length' in '* str', which is of non-class type 'int' ./pcrecpp.cc:370: error: 'out' was not declared in this scope ./pcrecpp.cc:370: error: 'swap' was not declared in this scope ./pcrecpp.cc: At global scope: ./pcrecpp.cc:376: error: 'string' has not been declared ./pcrecpp.cc: In member function 'bool pcrecpp::RE::Extract(const pcrecpp::StringPiece&, const pcrecpp::StringPiece&, int*) const': ./pcrecpp.cc:381: error: request for member 'erase' in '* out', which is of non-class type 'int' ./pcrecpp.cc: At global scope: ./pcrecpp.cc:496: error: 'bool pcrecpp::RE::Rewrite' is not a static member of 'class pcrecpp::RE' ./pcrecpp.cc:496: error: 'string' was not declared in this scope ./pcrecpp.cc:496: error: 'out' was not declared in this scope ./pcrecpp.cc:496: error: expected primary-expression before 'const' ./pcrecpp.cc:497: error: expected primary-expression before 'const' ./pcrecpp.cc:497: error: expected primary-expression before 'int' ./pcrecpp.cc:497: error: expected primary-expression before 'int' ./pcrecpp.cc:497: error: initializer expression list treated as compound expression ./pcrecpp.cc:497: error: expected ',' or ';' before 'const' ./pcrecpp.cc: In static member function 'static bool pcrecpp::Arg::parse_string(const char*, int, void*)': ./pcrecpp.cc:549: error: expected type-specifier before 'string' ./pcrecpp.cc:549: error: expected `>' before 'string' ./pcrecpp.cc:549: error: expected `(' before 'string' ./pcrecpp.cc:549: error: 'string' was not declared in this scope ./pcrecpp.cc:549: error: expected primary-expression before '>' token ./pcrecpp.cc:549: error: 'void*' is not a pointer-to-object type ./pcrecpp.cc:549: error: expected `)' before ';' token make: *** [pcrecpp.o] Error 1 x86_64-pc-linux-gnu-g++ -c -O2 -march=nocona -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_stringpiece.cc -fPIC -DPIC -o .libs/pcre_stringpiece.o ./pcre_stringpiece.cc:33:20: error: iostream: No such file or directory In file included from ./pcre_stringpiece.cc:35: ./pcre_stringpiece.h:42:18: error: string: No such file or directory ./pcre_stringpiece.h:43:56: error: iosfwd: No such file or directory ./pcre_stringpiece.h:53: error: 'std::string' has not been declared ./pcre_stringpiece.h:70: error: expected ',' or '...' before '&' token ./pcre_stringpiece.h:70: error: ISO C++ forbids declaration of 'string' with no type ./pcre_stringpiece.h:135: error: 'string' does not name a type ./pcre_stringpiece.h:139: error: 'string' has not been declared ./pcre_stringpiece.h: In constructor 'pcrecpp::StringPiece::StringPiece(int)': ./pcre_stringpiece.h:71: error: 'str' was not declared in this scope ./pcre_stringpiece.h: In member function 'void pcrecpp::StringPiece::CopyToString(int*) const': ./pcre_stringpiece.h:140: error: request for member 'assign' in '* target', which is of non-class type 'int' ./pcre_stringpiece.h: At global scope: ./pcre_stringpiece.h:170: error: expected constructor, destructor, or type conversion before '&' token ./pcre_stringpiece.cc:37: error: expected constructor, destructor, or type conversion before '&' token make: *** [pcre_stringpiece.o] Error 1 [31;01m*[0m [31;01m*[0m ERROR: dev-libs/libpcre-6.6 failed. [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 1654: Called dyn_compile [31;01m*[0m ebuild.sh, line 990: Called qa_call 'src_compile' [31;01m*[0m ebuild.sh, line 44: Called src_compile [31;01m*[0m libpcre-6.6.ebuild, line 42: Called die [31;01m*[0m [31;01m*[0m (no error message) [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant. [31;01m*[0m A complete build log is located at '/var/log/portage/dev-libs:libpcre-6.6:20070921-114544.log'. [31;01m*[0m (In reply to comment #8) > Take this > > > '/var/log/portage/dev-libs:libpcre-6.6:20070921-114544.log'. > > and attach the file here. Thanks. >
Great. Now we have about 20 pages of noise to scroll thru. Please use the *attachment* feature (Create a New Attachment) for logs (and file a new bug). Closing this mess.