PCRE Compile error: pcreposix.h: No such file or directory
- From: Michael Goll <michael goll com>
- To: balsa-list gnome org
- Subject: PCRE Compile error: pcreposix.h: No such file or directory
- Date: Fri, 3 Aug 2001 09:46:58 +0200
Hi,
I've been getting a compile error with recent CVS version of Balsa since
PCRE was added:
Making all in libinit_balsa
make[2]: Entering directory `/usr/local/src/cvs/balsa/libinit_balsa'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../libmutt
-I../libmutt -I../libbalsa -I../src -I/usr/include
-DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/X11R6/include
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -g -O2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -D_REENTRANT -c balsa-initdruid.c
In file included from ../libbalsa/libbalsa.h:63,
from ../src/save-restore.h:25,
from balsa-initdruid.gob:28:
../libbalsa/filter.h:35:25: pcreposix.h: No such file or directory
make[2]: *** [balsa-initdruid.o] Error 1
make[2]: Leaving directory `/usr/local/src/cvs/balsa/libinit_balsa'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/cvs/balsa'
make: *** [all-recursive-am] Error 2
pcreposix.h is in /usr/include/pcre
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
--------------------------------------------------------------------------------------------------------------------------------------
/usr/include/pcre/pcreposix.h is owned by kdesupport-devel-2.1-3.
I'm running a very up to date Redhat 7.1 system. Since no one else has
reported this yet, I'm wondering if there is something wrong with my setup.
If not, is there a better fix for the problem?
Thanks!
Take care...
Michael
--
Michael (Michel) Goll [michael@goll.com]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]