Page 1 of 1

You must have libpcre.a installed to use remote cameras

Posted: Tue Mar 01, 2005 4:00 pm
by futureechos
Hi,

I get this error when accessing remote cameras.

OK the problem may appear obvious but I have this lib and ./configure finds it.

On running make I get

if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/software/mysql-standard-4.1.10-pc-linux-gnu-i686/include -I/software/ffmpeg-0.4.8/include -g -O2 -MT zm_remote_camera.o -MD -MP -MF ".deps/zm_remote_camera.Tpo" -c -o zm_remote_camera.o zm_remote_camera.cpp; \
then mv -f ".deps/zm_remote_camera.Tpo" ".deps/zm_remote_camera.Po"; else rm -f ".deps/zm_remote_camera.Tpo"; exit 1; fi
zm_remote_camera.cpp: In method `int RemoteCamera::GetResponse ()':
zm_remote_camera.cpp:496: warning: no return statement in function
returning non-void


Which I think is the problem.

The libpcre.a is located in my "apache-root-dir"/srclib/pcre/.libs/libpcre.a

I've symbollically linked this all over the place, but the compile does not pick it up.

Any suggestions?



i'e got around many issues with this installation, I'm sooo close but cant get aound this so felt the need to post.

Help appreciated.

update to the above

Posted: Tue Mar 01, 2005 4:50 pm
by futureechos
I've just installed pcre version 5, configure, make'd etc and run ldconfig, re-run the configure and make ot zoneminder ang get the same error.

Posted: Tue Mar 01, 2005 10:05 pm
by zoneminder
The configure file looks in a couple of locations for libpcre.a but not under the apache tree. Why is it being put there? You could try symlinking it to /usr/lib or /usr/local/lib for now, or even copying the libpcre.a file into the build directory to see if it gets you any further.

Phil

Posted: Wed Mar 02, 2005 11:34 am
by futureechos
Thanks for the reply, i've tried that already. Any other tips?

Does anyone have a built binary zmc zmu zms etc with the libpcre.a built in already. I'm x86 on redhat 9

Posted: Mon Mar 07, 2005 12:08 am
by zoneminder
Hi,

Did you managed to resolve this?

Do you have libpcre.a anywhere else on your system now apart from in an apache subdir?

Phil

Posted: Mon Mar 07, 2005 2:32 pm
by futureechos
I did but only by cheating..


I had a 'spare' redhat 9 server at work, so I uploaded the source and recompiled it there.

This included the libpcre.a in the binaries, which jump from 1.5 to approx 7mb... so with 5 or so binaries this is a nice upload. thank f**k for ADSL.

Got a new issue now, severe lack of shared memory, and now it moans the files it captures are not JPG or not the right size (sigh).

.....

Posted: Mon Mar 07, 2005 10:50 pm
by zoneminder
If you are having trouble figuring out what is wrong and you can't find it in the docs or by searching, feel free to post here.

Phil