Hi!
I'm having really bad time installing ZM on Mandriva 2007 x86_64 version.
Due to last HW problem, I upgraded ZM that worked excellent for a year and now I'm stuck.
Ok - the problem are dependences:
- perl-X10 - can't find any for 64
- ffmpeg - same thing (if libav* is paart of it)
- prce (if I remember correctly)
So - does andybody have ZM running on Mandriva 2007 x86:64?
Problem installing on Mandriva 2007 x86_64
What happens when I call ./configure
Hi!
Here are some other Infos - from running ./configure
> ./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-mysql=/usr --with-ffmpeg=/usr --with-libarch=lib64
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-extralibs option.
Ordinarily you will need to use this option only when your copy of ffmpeg has been built
with support for additional formats and you would use this option to detail which additional
libraries ffmpeg was built with so that it is able to link successfully with ZoneMinder.
You will need to wrap this option in quotes if it contains any spaces.
e.g. --with-extralibs="-lmp3lame"
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
configure: WARNING: You can call configure with the --enable-debug=<yes|no> or --disable-debug option.
This tells configure whether to compile ZoneMinder with debug included. Although debug is included
by default it is not output unless explicitly switched on elsewhere. These checks may induce a
small penalty on performance and if you are after squeezing the maximum possible performance out
of ZoneMinder you may use this switch to prevent debug from being compiled in.
e.g. --enable-debug=yes or --disable-debug
configure: WARNING: You can call configure with the --enable-crashtrace=<yes|no> or --disable-crashtrace option.
This tells configure whether to compile ZoneMinder with crash tracing included. This allows a
dump of the stack trace when a ZoneMinder binary crashes or is killed by an unexpected signal.
Although this should work on most systems it does rely on un(or loosely) documented features and
so should be regarded as experimental. If you experience problems compiling zm_signal.cpp or
ZoneMinder binaries fail to shut down corrected then you should probably disable this feature.
e.g. --enable-crashtrace=yes or --disable-crashtrace
checking for gcc... gcc
checking for C compiler default output file name... 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++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
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 for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking for size_t... no
checking return type of signal handlers... int
checking for siginfo_t... no
checking for struct sigcontext... no
checking for struct sigcontext.eip... no
checking for ucontext_t... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
Any help?
Here are some other Infos - from running ./configure
> ./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-mysql=/usr --with-ffmpeg=/usr --with-libarch=lib64
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-extralibs option.
Ordinarily you will need to use this option only when your copy of ffmpeg has been built
with support for additional formats and you would use this option to detail which additional
libraries ffmpeg was built with so that it is able to link successfully with ZoneMinder.
You will need to wrap this option in quotes if it contains any spaces.
e.g. --with-extralibs="-lmp3lame"
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
configure: WARNING: You can call configure with the --enable-debug=<yes|no> or --disable-debug option.
This tells configure whether to compile ZoneMinder with debug included. Although debug is included
by default it is not output unless explicitly switched on elsewhere. These checks may induce a
small penalty on performance and if you are after squeezing the maximum possible performance out
of ZoneMinder you may use this switch to prevent debug from being compiled in.
e.g. --enable-debug=yes or --disable-debug
configure: WARNING: You can call configure with the --enable-crashtrace=<yes|no> or --disable-crashtrace option.
This tells configure whether to compile ZoneMinder with crash tracing included. This allows a
dump of the stack trace when a ZoneMinder binary crashes or is killed by an unexpected signal.
Although this should work on most systems it does rely on un(or loosely) documented features and
so should be regarded as experimental. If you experience problems compiling zm_signal.cpp or
ZoneMinder binaries fail to shut down corrected then you should probably disable this feature.
e.g. --enable-crashtrace=yes or --disable-crashtrace
checking for gcc... gcc
checking for C compiler default output file name... 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++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
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 for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking for size_t... no
checking return type of signal handlers... int
checking for siginfo_t... no
checking for struct sigcontext... no
checking for struct sigcontext.eip... no
checking for ucontext_t... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
Any help?
Working now!!!!
I hope that my pain will help someone in future.
The problem here was C++ compiler - out of three components needed, one was missing GCPP.
After that more problem with dependancies (this time perl-Date-Mani).
Googled it for noarch version, installed, and run again following:
./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-mysql=/usr --with-ffmpeg=/usr --with-libarch=lib64
make clean
make install
make (this last one is still running while I'm writing this, but so far so good)
Thanks!
The problem here was C++ compiler - out of three components needed, one was missing GCPP.
After that more problem with dependancies (this time perl-Date-Mani).
Googled it for noarch version, installed, and run again following:
./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-mysql=/usr --with-ffmpeg=/usr --with-libarch=lib64
make clean
make install
make (this last one is still running while I'm writing this, but so far so good)
Thanks!
Re: Working now!!!!
abroz wrote:I hope that my pain will help someone in future.
The problem here was C++ compiler - out of three components needed, one was missing GCPP.
After that more problem with dependancies (this time perl-Date-Mani).
Googled it for noarch version, installed, and run again following:
./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-mysql=/usr --with-ffmpeg=/usr --with-libarch=lib64
make clean
make install
make (this last one is still running while I'm writing this, but so far so good)
Thanks!
./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-mysql=/usr --with-ffmpeg=/usr --with-libarch=lib64
That worked for me!!
Thanxx