Philip Hazel wrote:
>
>> -- PCRE configuration summary:
>> --
>> -- Install prefix .................. : C:/Program Files/PCRE
>> -- C compiler ...................... : C:/MinGW/bin/gcc.exe
>> -- C++ compiler .................... : c:/mingw/bin/g++.exe
>> -- C compiler flags ................ :
>> -- C++ compiler flags .............. :
>> --
>> -- Build C++ library ............... : ON
>> -- Enable UTF-8 support ............ : ON
>> -- Unicode properties .............. : ON
>> -- Newline char/sequence ........... : ANYCRLF
>> -- \R matches only ANYCRLF ......... : ON
>> -- EBCDIC coding ................... : OFF
>> -- Rebuild char tables ............. : ON
>> -- Use stack recursion ............. : OFF
>> -- POSIX mem threshold ............. : ON
>>
> ^^
> ^^
> ^^
> There's the problem. The value should be a number. The default is 10 if
> I recall correctly, and that's what I got when I ran cmake on Linux.
>
> Philip
>
>
Must have been my mistake (though I would swear I didn't type in "ON"
for any option (those settings that are ON/OFF are selectable). Anyway I
started over and didn't get that error. But the "Recurse" option as
shown on the summary is backwards. Just changing the word "stack" to
"heap" on the summary would do.
-- PCRE configuration summary:
--
-- Install prefix .................. : C:/Program Files/PCRE
-- C compiler ...................... : C:/MinGW/bin/gcc.exe
-- C++ compiler .................... : c:/mingw/bin/g++.exe
-- C compiler flags ................ :
-- C++ compiler flags .............. :
--
-- Build C++ library ............... : ON
-- Enable UTF-8 support ............ : ON
-- Unicode properties .............. : ON
-- Newline char/sequence ........... : ANYCRLF
-- \R matches only ANYCRLF ......... : ON
-- EBCDIC coding ................... : OFF
-- Rebuild char tables ............. : ON
-- Use stack recursion ............. : ON
-- POSIX mem threshold ............. : 10
-- Internal link size .............. : 2
-- Match limit ..................... : 10000000
-- Match limit recursion ........... : MATCH_LIMIT
-- Build shared libs ............... : ON
-- Build static libs ............... : OFF
-- Link pcregrep with libz ......... : zlib libraries not found!
-- Link pcregrep with libbz2 ....... : bzip2 libraries not found!
-- Link pcretest with libreadline .. :
--
After building:
$ pcretest -C
PCRE version 7.6-RC1 2008-01-21
Compiled with
UTF-8 support
Unicode properties support
Newline sequence is ANYCRLF
\R matches CR, LF, or CRLF only
Internal link size = 2
POSIX malloc threshold = 10
Default match limit = 10000000
Default recursion depth limit = 10000000
Match recursion uses heap
Also, really need the ability to continue to create libraries without
the "lib" prefix and (less urgently) with the "-0" suffix, so I hope
these get in before 7.6 is released.
It didn't do the readline, though I gave it include path and library.
There is currently an ncurses option in cmakesetup now, don't know if it
belongs there.
The tests in RunTest.bat pass and the cpp unitests pass (haven't tested
static, more time later today).
Regards,
Sheri