configure fails on finding pcre

Support and queries relating to all previous versions of ZoneMinder
Locked
cdavis
Posts: 6
Joined: Sat Jun 24, 2006 4:09 pm

configure fails on finding pcre

Post 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?
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post 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
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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.
Phil
Locked