Page 1 of 1

need help in installing libpcre.a

Posted: Fri Nov 19, 2004 5:37 am
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.

Posted: Fri Nov 19, 2004 9:18 pm
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

Posted: Sat Nov 20, 2004 6:12 am
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.