instalation from zero on mdk 10 final "btw 1.18.1 works fine on mdk 10 final"
i have a problem with "make"
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 `/root/zm-1.19.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/zm-1.19.0'
make: *** [all] Error 2
[root@localhost zm-1.19.0]#
maybe is a problem with a libreries i dont have.. "still searching"
configure: WARNING: libavcodec.a is required for MPEG streaming
checking for av_new_stream in -lavformat... no
configure: WARNING: libavformat.a is required for MPEG streaming
checking for lame_init in -lmp3lame... no
configure: WARNING: libmp3lame.a may be required for IE compatible MPEG streaming
Fernando.
1.19.0 bugs
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: 1.19.0 bugs
Hi Fernando,
Just above the 'configure' output you have listed above, you should have something about pcre. For instance I get
checking for jpeg_start_compress in -ljpeg... yes
checking for compress in -lz... yes
checking for dlsym in -ldl... yes
checking for mysql_init in -lmysqlclient... yes
checking for pcre_compile in -lpcre... yes
checking for avcodec_init in -lavcodec... yes
checking for av_new_stream in -lavformat... yes
checking for lame_init in -lmp3lame... yes
where the
checking for pcre_compile in -lpcre... yes
line is important. Does yours say 'yes' also? It looks to me like configure has found the library but make hasn't.
Phil,
Just above the 'configure' output you have listed above, you should have something about pcre. For instance I get
checking for jpeg_start_compress in -ljpeg... yes
checking for compress in -lz... yes
checking for dlsym in -ldl... yes
checking for mysql_init in -lmysqlclient... yes
checking for pcre_compile in -lpcre... yes
checking for avcodec_init in -lavcodec... yes
checking for av_new_stream in -lavformat... yes
checking for lame_init in -lmp3lame... yes
where the
checking for pcre_compile in -lpcre... yes
line is important. Does yours say 'yes' also? It looks to me like configure has found the library but make hasn't.
Phil,
Re: 1.19.0 bugs
[root@localhost zm-1.19.0]# ./configure --with-mysql=/usr --with-webdir=/var/www/html --with-cgidir=/var/www/cgi-bin --with-ffmpeg=/root/ffmpeg-0.4.8 --with-lame
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: WARNING: You can call configure with the --with-webuser option.
This tells configure what the user name of the web user is if it is not the
default of 'apache'.
e.g. --with-webuser=apache or --with-webuser=web
configure: WARNING: You can call configure with the --with-webgroup option.
This tells configure what the group name of the web group is if it is not the default of 'apache'.
e.g. --with-webgroup=apache or --with-webgroup=web
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking whether round is declared... yes
checking whether strsignal is declared... yes
checking for jpeg_start_compress in -ljpeg... yes
checking for compress in -lz... yes
checking for dlsym in -ldl... yes
checking for mysql_init in -lmysqlclient... yes
checking for pcre_compile in -lpcre... yes
checking for avcodec_init in -lavcodec... yes
checking for av_new_stream in -lavformat... yes
checking for lame_init in -lmp3lame... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating web/Makefile
config.status: creating scripts/Makefile
config.status: creating db/Makefile
config.status: creating zmconfig.pl
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
checking for zmconfig.txt... yes
[root@localhost zm-1.19.0]#
yes i have that i thing... i have install libspcre-devel
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: WARNING: You can call configure with the --with-webuser option.
This tells configure what the user name of the web user is if it is not the
default of 'apache'.
e.g. --with-webuser=apache or --with-webuser=web
configure: WARNING: You can call configure with the --with-webgroup option.
This tells configure what the group name of the web group is if it is not the default of 'apache'.
e.g. --with-webgroup=apache or --with-webgroup=web
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking whether round is declared... yes
checking whether strsignal is declared... yes
checking for jpeg_start_compress in -ljpeg... yes
checking for compress in -lz... yes
checking for dlsym in -ldl... yes
checking for mysql_init in -lmysqlclient... yes
checking for pcre_compile in -lpcre... yes
checking for avcodec_init in -lavcodec... yes
checking for av_new_stream in -lavformat... yes
checking for lame_init in -lmp3lame... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating web/Makefile
config.status: creating scripts/Makefile
config.status: creating db/Makefile
config.status: creating zmconfig.pl
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
checking for zmconfig.txt... yes
[root@localhost zm-1.19.0]#
yes i have that i thing... i have install libspcre-devel
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: 1.19.0 bugs
Hmm, it seems strange that configure can find the library but make can't find the headers. Do you know where pcre.h and libpcre.a are on your system?
Phil,
Phil,
Re: 1.19.0 bugs
/usr/include/pcre.h
/usr/lib/libpcre.a
/usr/lib/libpcre.a
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: 1.19.0 bugs
That is the problem. then. The systems I've tried it on all have it in /usr/include/pcre/pcre.h. I think if you just edit zm_regexp.h and remove the extra 'pcre' you should be ok.
Phil,
Phil,
Re: 1.19.0 bugs
well like allways you are a genius.! "not a genius mouse"
well i will keep testing. you need to have some msm or someting. :)
well i will keep testing. you need to have some msm or someting. :)