[pcre-dev] Compile error?

Kezdőlap
Üzenet törlése
Szerző: Aj
Dátum:  
Címzett: pcre-dev
Új témák: [pcre-dev] PATCH: remove push_back (was Re: Compile error?)
Tárgy: [pcre-dev] Compile error?
Trying to compile PCRE on an old-ish slackware system. Here's the
final output of ./configure:

pcre-7.6 configuration summary:

    Install prefix .................. : /usr/local
    C preprocessor .................. : gcc -E
    C compiler ...................... : gcc
    C++ preprocessor ................ : g++ -E
    C++ compiler .................... : g++
    Linker .......................... : /usr/i386-slackware-linux/bin/ld
    C preprocessor flags ............ :
    C compiler flags ................ : -O2
    C++ compiler flags .............. : -O2
    Linker flags .................... :
    Extra libraries ................. :


    Build C++ library ............... : yes
    Enable UTF-8 support ............ : no
    Unicode properties .............. : no
    Newline char/sequence ........... : lf
    \R matches only ANYCRLF ......... : no
    EBCDIC coding ................... : no
    Rebuild char tables ............. : no
    Use stack recursion ............. : yes
    POSIX mem threshold ............. : 10
    Internal link size .............. : 2
    Match limit ..................... : 10000000
    Match limit recursion ........... : MATCH_LIMIT
    Build shared libs ............... : yes
    Build static libs ............... : yes
    Link pcregrep with libz ......... : no
    Link pcregrep with libbz2 ....... : no
    Link pcretest with libreadline .. : no


And the error from 'make' :

/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-O2 -c -o pcrecpp.lo pcrecpp.cc
g++ -DHAVE_CONFIG_H -I. -O2 -c pcrecpp.cc -Wp,-MD,.deps/pcrecpp.TPlo
-fPIC -DPIC -o .libs/pcrecpp.o
pcrecpp.cc: In method `bool ::pcrecpp::RE::Rewrite(class string *,
const class ::pcrecpp::StringPiece &, const clas
s ::pcrecpp::StringPiece &, int *, int) const':
pcrecpp.cc:586: no matching function for call to
`basic_string<char,string_char_traits<char>,__default_alloc_templa
te<true,0> >::push_back (char)'
pcrecpp.cc:593: no matching function for call to
`basic_string<char,string_char_traits<char>,__default_alloc_templa
te<true,0> >::push_back (int &)'
make[1]: *** [pcrecpp.lo] Error 1
make[1]: Leaving directory `/usr/src/pcre-7.6'
make: *** [all] Error 2


Is there a requisite that's missing that can correct around this?

Cheers,
Aj