Skip Menu |

This queue is for tickets about the re-engine-PCRE CPAN distribution.

Report information
The Basics
Id: 27714
Status: open
Priority: 0/
Queue: re-engine-PCRE

People
Owner: Nobody in particular
Requestors: rurban [...] x-ray.at
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.10
Fixed in: (no value)



Subject: PCRE.h and pcre.h on Win32
case-conflict You cannot have both PCRE.h and pcre.h on Win32, mingw and cygwin. Please put the 7.2 sources into a seperate subdir or download it. Furthermore I couldn't compile PCRE.xs on cygwin, because #include <pcre.h> picked up ./PCRE.h I fixed that temp. with => #include </usr/include/pcre.h> Then -lpcre was missing in the ld2 line in case of an existing install. I just added makemaker_args LIBS => '-lpcre'; -- http://rurban.xarch.at/
From: AVAR [...] cpan.org
On Sun Jun 24 08:32:30 2007, RURBAN wrote: Show quoted text
> case-conflict > You cannot have both PCRE.h and pcre.h on Win32, mingw and cygwin. > Please put the 7.2 sources into a seperate subdir or download it. > > Furthermore I couldn't compile PCRE.xs on cygwin, because > #include <pcre.h> picked up ./PCRE.h > I fixed that temp. with > => #include </usr/include/pcre.h> > > Then -lpcre was missing in the ld2 line in case of an existing install. > I just added > makemaker_args LIBS => '-lpcre';
Oh noes case insensitivity. I'll fix this in the next release. It would probably be neat to support linking to the system libpcre too...
On Sun Jun 24 08:32:30 2007, RURBAN wrote: Show quoted text
> case-conflict > You cannot have both PCRE.h and pcre.h on Win32, mingw and cygwin. > Please put the 7.2 sources into a seperate subdir or download it. > > Furthermore I couldn't compile PCRE.xs on cygwin, because > #include <pcre.h> picked up ./PCRE.h > I fixed that temp. with > => #include </usr/include/pcre.h> > > Then -lpcre was missing in the ld2 line in case of an existing install. > I just added > makemaker_args LIBS => '-lpcre';
Both of these issues should be fixed in 0.12, can you please try it out on windows to confirm that?