need help in installing libpcre.a

Support and queries relating to all previous versions of ZoneMinder
Locked
kpmin
Posts: 20
Joined: Sat Jul 31, 2004 7:25 pm

need help in installing libpcre.a

Post by kpmin »

I installed the zm on RH9.0. THen I upgraded the apache to 2.0.52 and PHP to 5.0.2 along with the kernel 2.4.20 recompile after downloading from the kernel.org.

I bought D-link DCS-900 and installed it. Now I get the error in the system log.
"Nov 18 21:10:26 lserver zmc-m3[7137]: FAT [You must have libpcre.a installed to use remote cameras]"

My question is 1. how can I install the libpcre.a. I searched the README, this Forum, and FAQ, but I could not find this basic. I know that I got warning when I configured the zm for the installation for the missing libpcre.a.

If I do locate command, I get the following.
[root@lserver root]# locate pcre.h
/dnld/php/php-5.0.2/ext/pcre/php_pcre.h
/dnld/php/php-5.0.2/ext/pcre/pcrelib/pcre.h
/dnld/httpd/httpd-2.0.52/srclib/pcre/doc/pcre.html
/dnld/httpd/httpd-2.0.52/srclib/pcre/pcre.hw
/dnld/httpd/httpd-2.0.52/srclib/pcre/pcre.h
[root@lserver root]# locate libpcre.a
/dnld/httpd/httpd-2.0.52/srclib/pcre/.libs/libpcre.al

--------------

The 2nd question is after I install the libpcre.a, do I need to uninstall and reinstall the zm from the beginning or can I just simply do some setting changes without the reinstallation.

I really appreciate your help.
THank you.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Hi kpmin,
You need to install the pcre-devel rpm from one of your install CDs. This will give you the file you need.
You will also need to recompile ZM so if you do

Code: Select all

make clean
./configure (with your settings)
make
make install
I think you should be good

Cordel
kpmin
Posts: 20
Joined: Sat Jul 31, 2004 7:25 pm

Post by kpmin »

Thank you for the reply.

I followed your directions, and reinstalled the zm.

But I still get an error as follows

ERR [Invalid response status 401: Authorization Required]

I will spend more time to resolve this pbolelm.

Again I appreciate your help.
Locked