You must have libpcre.a installed to use remote cameras

Support and queries relating to all previous versions of ZoneMinder
Locked
futureechos
Posts: 10
Joined: Tue Mar 01, 2005 3:52 pm

You must have libpcre.a installed to use remote cameras

Post 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.
futureechos
Posts: 10
Joined: Tue Mar 01, 2005 3:52 pm

update to the above

Post 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.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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
futureechos
Posts: 10
Joined: Tue Mar 01, 2005 3:52 pm

Post 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
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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
futureechos
Posts: 10
Joined: Tue Mar 01, 2005 3:52 pm

Post 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).

.....
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

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