Page 1 of 1

configure fails on finding pcre

Posted: Sat Jun 24, 2006 4:15 pm
by cdavis
I am trying to get zm installed and working. I am using NC1000 and it appears as though I need libpcre compiled in to use regexp (I don't completly understand this, but it seems like reading through the forums this may be why I can't get any image). I have installed pcre-devel and it appears in /usr/include however I get:

configure:5041: checking for mysql/mysql.h
configure:5048: result: yes
configure:5079: checking pcre/pcre.h usability
configure:5091: g++ -c -g -O2 conftest.cc >&5
conftest.cc:64:23: error: pcre/pcre.h: No such file or directory


And it is there:

[root@localhost ZoneMinder-1.22.2]# ll /usr/include/pcre.h
-rw-r--r-- 1 root root 9508 Aug 19 2005 /usr/include/pcre.h

This is on a Fedora Core 4 machine. BTW, the link for the rpm's do not contain any rpms, is there another source?

Posted: Sat Jun 24, 2006 4:30 pm
by jameswilson
The Fedora RPM's are for 3 only at the moment as Corey makes these himself. There will be fc5 rpm's soon i believe but dont know when

Posted: Tue Jun 27, 2006 4:12 pm
by zoneminder
If you look in config.log you may get some information about why it fell over. Sometimes header files seem to need extra ones before they will compile for configure, though they shouldn't, or if they do they should include them themselves.