Re: PCRE Compile error: pcreposix.h: No such file or directory



On 2001-08-03 09:46 Michael Goll wrote:
> I've been getting a compile error with recent CVS version of Balsa
> since PCRE was added:
> To get around it I used the following hack to libinit_balsa/Makefile,
> which I'm sure isn't the right way to do it.
> 
> Diff:
> 
> 74c74
> < CFLAGS = -g -O2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
> -D_REENTRANT $(PCRE_CFLAGS)
> ---
> > CFLAGS = -g -O2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
> -D_REENTRANT

It is close. The right way would be to modify Makefile.am instead (add
line CFLAGS += $(PCRE_CFLAGS)) but the best way is to keep regexps
private to filters and move the #include directives from filter.h to
filter-private.h, which hopefully resolves the problem. The current CVS
should be ok (it usually takes couple of hours for the changes to
propagate to anoncvs).

Thanks for pointing this out,

/Pawel
-- 
Pawel Salek (pawsa@theochem.kth.se) http://www.theochem.kth.se/~pawsa/
Theoretical Chemistry Division, KTH voice: +46 8 790-8202




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]