I use SuSe 8.2, zm-1.19.0 and Apache 2.0.48
./configure --with-mysql=/usr --with-webdir=/srv/www/htdocs/zm --with-cgidir=/srv/www/cgi-bin --with-webuser=nobody --with-ffmpeg=/usr/local/ffmpeg-0.4.8
went fine.
After a make the following Error ocurred.
In file included from zm_remote_camera.h:42,
from zm_remote_camera.cpp:39:
zm_regexp.h:27:23: pcre/pcre.h: No such file or directory
In file included from zm_remote_camera.h:42,
from zm_remote_camera.cpp:39:
zm_regexp.h:32: error: syntax error before `*' token
zm_regexp.h:33: error: syntax error before `*' token
zm_remote_camera.cpp: In member function `int RemoteCamera::GetResponse()':
zm_remote_camera.cpp:274: error: `PCRE_DOTALL' undeclared (first use this
function)
zm_remote_camera.cpp:274: error: (Each undeclared identifier is reported only
once for each function it appears in.)
zm_remote_camera.cpp:282: error: `PCRE_MULTILINE' undeclared (first use this
function)
zm_remote_camera.cpp:282: error: `PCRE_CASELESS' undeclared (first use this
function)
make[2]: *** [zm_remote_camera.o] Error 1
make[2]: Leaving directory `/usr/local/src/zm-1.19.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/zm-1.19.0'
make: *** [all] Error 2
but the package pcre-3.9-180 is installed.
Where dóes ZM search this File pcre.h
Any Ideas........
Thx
make Error: zm_regexp.h:27:23: pcre/pcre.h: No such file or
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: make Error: zm_regexp.h:27:23: pcre/pcre.h: No such file
It appears that the pcre.h header file is usually in /usr/include/pcre but occasionally just in /usr/include which confuses things. Version 1.19.1 will fix this to look in both places but for now you can just edit zm_regexp.h and change
#include <pcre/pcre.h>
to
#include <pcre.h>
which should then allow it to compile.
Phil,
#include <pcre/pcre.h>
to
#include <pcre.h>
which should then allow it to compile.
Phil,
Re: make Error: zm_regexp.h:27:23: pcre/pcre.h: No such file
Ok.. Thx..That´s it.
Alex,
Alex,