Page 1 of 1

Unable to use netcam regexps as not compiled with libpcre

Posted: Fri Jun 22, 2007 10:54 am
by zurg
Hi there

I'm using a Sony SNC-RZ30P camera and its streams well in the browser. I have set it up in ZM according to many helpful posts here on the forums. When I run 'cat /var/log/messages is' I get this error [Unable to use netcam regexps as not compiled with libpcre] .

I have looked around the forums for an answer but have not found an answer yet. Google does not seem to have the answer either.

I would be grateful if anyone could help me, thanx.

PS. I running ZM on Ubuntu Feisty

Posted: Sat Jun 23, 2007 1:25 am
by cordel
The error is telling you that when you compiled ZM you didn't have the libraries installed so it could not build in this function. Install pcre libraries and rebuild ZM to get this function.

Posted: Mon Jul 23, 2007 10:09 pm
by captain_morgan
Corey, I'm getting this error, too, but I have the Perl extensions installed. Also, my system is locking with this as the last error on the log. Is it asking for the devel, too?

Posted: Mon Jul 23, 2007 10:53 pm
by cordel
Yes, you have to have the development libraries (devel or dev package) installed when you build zm to have use of the related package. You can remove the dev package if you want after you build zm.

Posted: Thu Aug 09, 2007 8:12 am
by Hugolp
Hi

I am using Zoneminder under Ubuntu Feisty. I installed using the deb package. I am getting this error too, wich is weird cause I have libpcre3 installed. I dont have libpcre3-dev installed but as I am not compiling but using the deb they shouldnt be necesary right?

Thanks in advance

Hugo

PS: I installed the dev packages and as expected I keep on getting the same mistake.

Posted: Fri Aug 10, 2007 1:20 am
by Lee Sharp
Doh! Looks like Peter might have left it out when he made the deb. The funny part is that no one has noticed this before! What say you oh master of the deb? :)

and double 'DOH!!!

Posted: Fri Aug 10, 2007 2:36 am
by PeterHoward
Excuse me for a moment.
Goes to build area. Looks in debian/control. Notices complete lack of pcre in either build-depends (build-time dependencies) or depends (package installation dependencies).

DOH!!!!!

How could that have happened? :oops:

OK. Looks like I'll be doing another release this weekend. Watch this space . . .

Posted: Fri Aug 10, 2007 8:22 pm
by Lee Sharp
I think it is amazing how solid you build has been. It took how many months for this bug to show? :) Your still awesome!

New package out

Posted: Sun Aug 12, 2007 2:38 am
by PeterHoward
(There's also a full posting on this in "User contributions")
OK, there's now a -8 release at my ftp site. It's built with, and depends on, libpcre3. I've also applied the "Monitor Presets" patch so you don't need to separately apply that now.

Hugolp: Could you try this and confirm that you can use the regexps now?

Thanks.

PJH

where to get pcre - I have the same problem

Posted: Fri Jan 11, 2008 10:07 pm
by mycal
I've tried:

yum install pcre

yum install libpcre3

yum install libpcre3-dev

can't find it.

thanks,

-M

Posted: Fri Jan 11, 2008 10:18 pm
by mycal
ok turned it off in the network options the error went away.

-M

Posted: Thu May 21, 2009 12:42 pm
by ssuka
Hi,

yum install pcre-devel will solve your problem.

--
Srdan Suka
IT Project Manager