Unable to use netcam regexps as not compiled with libpcre

Support and queries relating to all previous versions of ZoneMinder
Locked
zurg
Posts: 1
Joined: Fri Jun 22, 2007 10:44 am

Unable to use netcam regexps as not compiled with libpcre

Post 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
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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.
User avatar
captain_morgan
Posts: 72
Joined: Tue Jul 25, 2006 6:40 am
Location: Lafayette, La. USA

Post 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?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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.
Hugolp
Posts: 17
Joined: Sun Apr 08, 2007 10:03 pm

Post 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.
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post 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? :)
PeterHoward
Posts: 319
Joined: Thu Jul 20, 2006 1:07 am
Location: Australia

and double 'DOH!!!

Post 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 . . .
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post 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!
PeterHoward
Posts: 319
Joined: Thu Jul 20, 2006 1:07 am
Location: Australia

New package out

Post 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
mycal
Posts: 65
Joined: Tue Nov 09, 2004 6:39 am

where to get pcre - I have the same problem

Post by mycal »

I've tried:

yum install pcre

yum install libpcre3

yum install libpcre3-dev

can't find it.

thanks,

-M
mycal
Posts: 65
Joined: Tue Nov 09, 2004 6:39 am

Post by mycal »

ok turned it off in the network options the error went away.

-M
ssuka
Posts: 1
Joined: Thu May 21, 2009 12:40 pm

Post by ssuka »

Hi,

yum install pcre-devel will solve your problem.

--
Srdan Suka
IT Project Manager
Locked