Philip Hazel wrote:
> I have put a test release for 7.6 in
>
> ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/pcre-7.6.tar.gz
> ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/pcre-7.6.tar.bz2
> ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/pcre-7.6.zip
>
> It contains Christian's CMake updates. I would like to make a proper
> release soon, because it also contains a patch for a potential buffer
> overflow problem.
>
> Philip
>
>
Currently doesn't build (configured with cmake)
[ 15%] Building C object CMakeFiles/pcre.dir/pcre_config.obj
/C/MinGW/bin/gcc.exe -Dpcre_EXPORTS -O3 -DNDEBUG
-I/C/pcre-7.6/cmake-msys-sha
red-RC1 -I/C/pcre-7.6/pcre-7.6-RC1 -DHAVE_CONFIG_H -o
CMakeFiles/pcre.dir/pcre
_config.obj -c /C/pcre-7.6/pcre-7.6-RC1/pcre_config.c
c:/pcre-7.6/pcre-7.6-RC1/pcre_config.c: In function `pcre_config':
c:/pcre-7.6/pcre-7.6-RC1/pcre_config.c:103: error: `ON' undeclared
(first use
in this
function)
c:/pcre-7.6/pcre-7.6-RC1/pcre_config.c:103: error: (Each undeclared
identifier i
s reported only once
c:/pcre-7.6/pcre-7.6-RC1/pcre_config.c:103: error: for each function it
appears in.)
make[2]: *** [CMakeFiles/pcre.dir/pcre_config.obj] Error 1
make[2]: Leaving directory `/c/pcre-7.6/cmake-msys-shared-RC1'
make[1]: *** [CMakeFiles/pcre.dir/all] Error 2
make[1]: Leaving directory `/c/pcre-7.6/cmake-msys-shared-RC1'
make: *** [all] Error 2
This shows my cmake configuration summary. I configured with cmake build
type of "Release", maybe that should also show up on this list.
Everything except the readline output is consistent with my cmakesetup
choices. I did put in readline include location and readline library (in
cmakesetup).
-- 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
-- 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 .. :
--
Regards,
Sheri