Sorry, I should have mentioned that I did try that.

[jll...@cflinux3:~/cfengine/community/trunk] rpm -ql pcre.i386 | grep libpcre
/lib/libpcre.so.0
/lib/libpcre.so.0.0.1
/usr/lib/libpcrecpp.so.0
/usr/lib/libpcrecpp.so.0.0.0
/usr/lib/libpcreposix.so.0
/usr/lib/libpcreposix.so.0.0.0
[jll...@cflinux3:~/cfengine/community/trunk] ./configure --with-pcre=/lib
<...snip...>
checking pcre... configure: error: Cannot find PCRE - specify the path
[jll...@cflinux3:~/cfengine/community/trunk] ./configure --with-pcre=/usr/lib
<...snip...>
checking pcre... configure: error: Cannot find PCRE - specify the path 
[jll...@cflinux3:~/cfengine/community/trunk]


-----Original Message-----
From: Jarle Bjørgeengen [mailto:ja...@bjorgeengen.net] 
Sent: Tuesday, December 15, 2009 2:21 PM
To: Justin Lloyd
Cc: help-cfengine
Subject: Re: Error when compiling with pcre

Maybe configure --with-libpcre /path/to/32bit/pcre

- Jarle Bjørgeengen

On Dec 15, 2009, at 10:14 , Justin Lloyd wrote:

> 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

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Best regards                                       .~.
Jarle Bjørgeengen                                  /V\
Mob: +47 9155 7978                                // \\
http://www.uio.no/sok?person=jb                  /(   )\
while(<>){if(s/^(.*\?)$/42 !/){print "$1 $_"}}    ^`~'^
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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