When I try to compile from svn and include pcre, I get the following
error during the make:

 

In file included from cf3.defs.h:1622,

                 from cf3parse.y:10:

prototypes3.h:1068: error: conflicting types for 'strstr'

prototypes3.h:1071: error: expected identifier or '(' before
'__extension__'

prototypes3.h:1074: error: conflicting types for 'strrchr'

prototypes3.h:1080: error: expected identifier or '(' before
'__extension__'

prototypes3.h:1080: error: expected identifier or '(' before ')' token

make[2]: *** [libpromises_la-cf3parse.lo] Error 1

make[2]: Leaving directory `/home/jlloyd/cfengine/community/trunk/src'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/home/jlloyd/cfengine/community/trunk/src'

make: *** [all-recursive] Error 1

 

[jll...@cflinux3:~/cfengine/community/trunk] rpm -q --provides pcre.i386

libpcre.so.0  

libpcrecpp.so.0  

libpcreposix.so.0  

pcre = 6.6-2.el5_1.7

[jll...@cflinux3:~/cfengine/community/trunk] rpm -q --provides
pcre.x86_64

libpcre.so.0()(64bit)  

libpcrecpp.so.0()(64bit)  

libpcreposix.so.0()(64bit)  

pcre = 6.6-2.el5_1.7

[jll...@cflinux3:~/cfengine/community/trunk]

 

If I leave out --with-pcre from the configure command, it compiles fine.
Thoughts?

 

Justin

 


This electronic communication and any attachments may contain confidential and 
proprietary 
information of DigitalGlobe, Inc. If you are not the intended recipient, or an 
agent or employee 
responsible for delivering this communication to the intended recipient, or if 
you have received 
this communication in error, please do not print, copy, retransmit, disseminate 
or 
otherwise use the information. Please indicate to the sender that you have 
received this 
communication in error, and delete the copy you received. DigitalGlobe reserves 
the 
right to monitor any electronic communication sent or received by its 
employees, agents 
or representatives.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to