./compile ask for one more option but...

Forum for questions and support relating to the 1.24.x releases only.
Locked
jamesk
Posts: 2
Joined: Sat Feb 28, 2009 1:57 am

./compile ask for one more option but...

Post by jamesk »

when in /usr/src/Zonmineder directory ./configure required extra options so I put in what it needed

./configure --with-libarch=lib --with-mysql=/usr/local --with-ffmpeg=/usr/local --with-extralibs="-lmp3lame" --with-webdir=/var/www/html --with-cgidir=/var/www/cgi-bin --with-webuser=apache --enable-debug=yes --enable-mmap=yes --enable-crashtrace=yes --with-webgroup=apache


but got back this error:

configure: error: in `/usr/src/ZoneMinder-1.24.1':
configure: error: C++ compiler cannot create executables
See `config.log' for more details.

config.log says:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by zm configure 1.24.1, which was
generated by GNU Autoconf 2.63. Invocation command line was

$ ./configure --with-libarch=lib --with-mysql=/usr/local --with-ffmpeg=/usr/local --with-extralibs=-lmp3lame --with-webdir=/var/www/html --with-cgidir=/var/www/cgi-bin --with-webuser=apache --enable-debug=yes --enable-mmap=yes --enable-crashtrace=yes --with-webgroup=apache

## --------- ##
## Platform. ##
## --------- ##

hostname = openobjects.ca
uname -m = x86_64
uname -r = 2.6.18-92.1.18.el5
uname -s = Linux
uname -v = #1 SMP Wed Nov 12 09:19:49 EST 2008

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/kerberos/sbin
PATH: /usr/kerberos/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /root/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1958: checking for a BSD-compatible install
configure:2026: result: /usr/bin/install -c
configure:2037: checking whether build environment is sane
configure:2080: result: yes
configure:2105: checking for a thread-safe mkdir -p
configure:2144: result: /bin/mkdir -p
configure:2157: checking for gawk
configure:2173: found /bin/gawk
configure:2184: result: gawk
configure:2195: checking whether make sets $(MAKE)
configure:2217: result: yes
configure:2774: checking for g++
configure:2790: found /usr/bin/g++
configure:2801: result: g++
configure:2828: checking for C++ compiler version
configure:2836: g++ --version >&5
g++ (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2840: $? = 0
configure:2847: g++ -v >&5
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)
configure:2851: $? = 0
configure:2858: g++ -V >&5
g++: '-V' option must have argument
configure:2862: $? = 1
configure:2885: checking for C++ compiler default output file name
configure:2907: g++ -I/usr/local/include -L/usr/local/lib -L/usr/local/lib/mysql -lmp3lame conftest.cpp >&5
/usr/bin/ld: cannot find -lmp3lame
collect2: ld returned 1 exit status
configure:2911: $? = 1
configure:2949: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.24.1"
| #define PACKAGE_STRING "zm 1.24.1"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.24.1"
| #define ZM_MEM_MAPPED 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2955: error: in `/usr/src/ZoneMinder-1.24.1':
configure:2958: error: C++ compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_ZM_DB_HOST_set=
ac_cv_env_ZM_DB_HOST_value=
ac_cv_env_ZM_DB_NAME_set=
ac_cv_env_ZM_DB_NAME_value=
ac_cv_env_ZM_DB_PASS_set=
ac_cv_env_ZM_DB_PASS_value=
ac_cv_env_ZM_DB_USER_set=
ac_cv_env_ZM_DB_USER_value=
ac_cv_env_ZM_MYSQL_ENGINE_set=
ac_cv_env_ZM_MYSQL_ENGINE_value=
ac_cv_env_ZM_SSL_LIB_set=
ac_cv_env_ZM_SSL_LIB_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /usr/src/ZoneMinder-1.24.1/missing --run aclocal-1.10'
ALLOCA=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/src/ZoneMinder-1.24.1/missing --run tar'
AUTOCONF='${SHELL} /usr/src/ZoneMinder-1.24.1/missing --run autoconf'
AUTOHEADER='${SHELL} /usr/src/ZoneMinder-1.24.1/missing --run autoheader'
AUTOMAKE='${SHELL} /usr/src/ZoneMinder-1.24.1/missing --run automake-1.10'
AWK='gawk'
BINDIR=''
CC=''
CCDEPMODE=''
CFLAGS='-I/usr/local/include '
CGI_PREFIX='/var/www/cgi-bin'
CPPFLAGS='-I/usr/local/include '
CXX='g++'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_MMAP='yes'
EXEEXT=''
EXTRA_LIBS='-lmp3lame'
FFMPEG_CFLAGS='-I/usr/local/include'
FFMPEG_LIBS='-L/usr/local/lib'
FFMPEG_PREFIX='/usr/local'
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS='-L/usr/local/lib -L/usr/local/lib/mysql -lmp3lame'
LIBDIR=''
LIBOBJS=''
LIBS=''
LIB_ARCH='lib'
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /usr/src/ZoneMinder-1.24.1/missing --run makeinfo'
MKDIR_P='/bin/mkdir -p'
MYSQL_CFLAGS='-I/usr/local/include'
MYSQL_LIBS='-L/usr/local/lib/mysql'
MYSQL_PREFIX='/usr/local'
OBJEXT=''
OPT_FFMPEG=''
OPT_NETPBM=''
PACKAGE='ZoneMinder'
PACKAGE_BUGREPORT='support@zoneminder.com'
PACKAGE_NAME='zm'
PACKAGE_STRING='zm 1.24.1'
PACKAGE_TARNAME='ZoneMinder'
PACKAGE_VERSION='1.24.1'
PATH_BUILD='/usr/src/ZoneMinder-1.24.1'
PATH_FFMPEG=''
PATH_NETPBM=''
PATH_SEPARATOR=':'
PERL=''
POW_LIB=''
RANLIB=''
RUNDIR=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
SYSCONFDIR=''
TIME_BUILD='1235786631'
VERSION='1.24.1'
WEB_GROUP='apache'
WEB_PREFIX='/var/www/html'
WEB_USER='apache'
ZM_CONFIG=''
ZM_DB_HOST='localhost'
ZM_DB_NAME='zm'
ZM_DB_PASS='zmpass'
ZM_DB_USER='zmuser'
ZM_MYSQL_ENGINE='MyISAM'
ZM_PCRE=''
ZM_PID=''
ZM_RUNDIR=''
ZM_SSL_LIB='gnutls'
ZM_V4L2=''
ac_ct_CC=''
ac_ct_CXX='g++'
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='$(SHELL) /usr/src/ZoneMinder-1.24.1/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "zm"
#define PACKAGE_TARNAME "ZoneMinder"
#define PACKAGE_VERSION "1.24.1"
#define PACKAGE_STRING "zm 1.24.1"
#define PACKAGE_BUGREPORT "support@zoneminder.com"
#define PACKAGE "ZoneMinder"
#define VERSION "1.24.1"
#define ZM_MEM_MAPPED 1

configure: exit 77

so what is exit 77?

This is installed on centos5 on a AMD Opteron server.
2.6.18-92.1.18.el5

James
User avatar
Blazer
Posts: 234
Joined: Sun Jun 05, 2005 12:57 pm

Post by Blazer »

It seems to not be finding the mp3lame libs. Make sure you do:

Code: Select all

yum install lame lame-devel twolame twolame-devel
Note that those packages are via rpmforge repo, or grabbing them manually from http://dag.wieers.com/rpm/packages.php

You can also try just leaving out the --extralibs option, that worked for me on a previous CentOS 5 install.
nuck
Posts: 148
Joined: Tue Nov 11, 2008 1:43 am
Location: Canada

Post by nuck »

You can leave out most of the options you have supplied to configure as they are completely redundant.

Try doing this - ./configure --help >HOWTO and then read the file called HOWTO . It'll explain all of the configure options, what the defaults are, and what you may need to supply on your own. The GNU build tools are quite good at figuring out where installed libraries are and if they are present, will use them automagically.

Keep it simple and try running

Code: Select all

./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --enable-mmap 
If you'd like to put things where they make more sense (IMHO) then add --prefix=/usr and --sysconfdir=/etc to the above.
k-sudak
Posts: 7
Joined: Thu Apr 23, 2009 8:32 am

Please help me!!! Problem with ./configure

Post by k-sudak »

I'm trying to do
[root@xxx ZoneMinder-1.24.1]# ./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --enable-mmap

and it show an error

configure: error: zm requires Date::Manip

My config.log file

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by zm configure 1.24.1, which was
generated by GNU Autoconf 2.63. Invocation command line was

$ ./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --enable-mmap

## --------- ##
## Platform. ##
## --------- ##

hostname = nbabinov
uname -m = i686
uname -r = 2.6.24.7-desktop-2mnb
uname -s = Linux
uname -v = #1 SMP Thu Oct 30 18:03:14 EDT 2008

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /sbin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /usr/lib/qt4/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1958: checking for a BSD-compatible install
configure:2026: result: /usr/bin/install -c
configure:2037: checking whether build environment is sane
configure:2080: result: yes
configure:2105: checking for a thread-safe mkdir -p
configure:2144: result: /bin/mkdir -p
configure:2157: checking for gawk
configure:2173: found /bin/gawk
configure:2184: result: gawk
configure:2195: checking whether make sets $(MAKE)
configure:2217: result: yes
configure:2451: WARNING: You can call configure with the --with-libarch option.
This tells configure where to find architecture specific libraries.
The default of 'lib' is usually ok but 64 bit machines may require lib64.
e.g. --with-libarch=lib or --with-libarch=lib64
configure:2470: WARNING: You can call configure with the --with-mysql option.
This tells configure where to find the MySql C library and headers if configure cannot
locate them automatically.
e.g. --with-mysql=/usr/local or --with-mysql=/usr
configure:2498: WARNING: You can call configure with the --with-ffmpeg option.
This tells configure where to find the ffmpeg root directory within which are the libavcodec
and libavformat files that can be used to build true MPEG streaming into ZoneMinder. Ensure that
your copy of ffmpeg has installed libraries as well as binaries (use 'make installlib'). If you
are using a local install of ffmpeg you may have to remove or rename a previous real installation
as the headers and libraries from that will probably be picked up before your local copy.
e.g. --with-ffmpeg=/usr/local
configure:2530: 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:2586: 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:2603: 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:2622: WARNING: You can call configure with the --enable-debug=<yes> 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:2651: WARNING: You can call configure with the --enable-crashtrace=<yes> 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 correctly then you should probably disable this feature.
e.g. --enable-crashtrace=yes or --disable-crashtrace
configure:2774: checking for g++
configure:2790: found /usr/bin/g++
configure:2801: result: g++
configure:2828: checking for C++ compiler version
configure:2836: g++ --version >&5
g++ (GCC) 4.2.3 (4.2.3-6mnb1)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2840: $? = 0
configure:2847: g++ -v >&5
Using built-in specs.
Target: i586-manbo-linux-gnu
Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-checking=release --enable-languages=c,c++,ada,fortran,objc,obj-c++,java --host=i586-manbo-linux-gnu --with-cpu=generic --with-system-zlib --enable-threads=posix --enable-shared --enable-long-long --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --enable-gtk-cairo --disable-libjava-multilib --enable-ssp --disable-libssp
Thread model: posix
gcc version 4.2.3 (4.2.3-6mnb1)
configure:2851: $? = 0
configure:2858: g++ -V >&5
g++: '-V' option must have argument
configure:2862: $? = 1
configure:2885: checking for C++ compiler default output file name
configure:2907: g++ -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:2911: $? = 0
configure:2949: result: a.out
configure:2968: checking whether the C++ compiler works
configure:2978: ./a.out
configure:2982: $? = 0
configure:3001: result: yes
configure:3008: checking whether we are cross compiling
configure:3010: result: no
configure:3013: checking for suffix of executables
configure:3020: g++ -o conftest -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:3024: $? = 0
configure:3050: result:
configure:3056: checking for suffix of object files
configure:3082: g++ -c -I/usr/include conftest.cpp >&5
configure:3086: $? = 0
configure:3111: result: o
configure:3115: checking whether we are using the GNU C++ compiler
configure:3144: g++ -c -I/usr/include conftest.cpp >&5
configure:3151: $? = 0
configure:3168: result: yes
configure:3177: checking whether g++ accepts -g
configure:3207: g++ -c -g -I/usr/include conftest.cpp >&5
configure:3214: $? = 0
configure:3315: result: yes
configure:3349: checking for style of include used by make
configure:3377: result: GNU
configure:3402: checking dependency style of g++
configure:3493: result: gcc3
configure:3556: checking for gcc
configure:3572: found /usr/bin/gcc
configure:3583: result: gcc
configure:3815: checking for C compiler version
configure:3823: gcc --version >&5
gcc (GCC) 4.2.3 (4.2.3-6mnb1)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3827: $? = 0
configure:3834: gcc -v >&5
Using built-in specs.
Target: i586-manbo-linux-gnu
Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-checking=release --enable-languages=c,c++,ada,fortran,objc,obj-c++,java --host=i586-manbo-linux-gnu --with-cpu=generic --with-system-zlib --enable-threads=posix --enable-shared --enable-long-long --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --enable-gtk-cairo --disable-libjava-multilib --enable-ssp --disable-libssp
Thread model: posix
gcc version 4.2.3 (4.2.3-6mnb1)
configure:3838: $? = 0
configure:3845: gcc -V >&5
gcc: '-V' option must have argument
configure:3849: $? = 1
configure:3852: checking whether we are using the GNU C compiler
configure:3881: gcc -c -I/usr/include -I/usr/include conftest.c >&5
configure:3888: $? = 0
configure:3905: result: yes
configure:3914: checking whether gcc accepts -g
configure:3944: gcc -c -g -I/usr/include conftest.c >&5
configure:3951: $? = 0
configure:4052: result: yes
configure:4069: checking for gcc option to accept ISO C89
configure:4143: gcc -c -I/usr/include -I/usr/include conftest.c >&5
configure:4150: $? = 0
configure:4173: result: none needed
configure:4193: checking dependency style of gcc
configure:4284: result: gcc3
configure:4313: checking for a BSD-compatible install
configure:4381: result: /usr/bin/install -c
configure:4392: checking whether ln -s works
configure:4396: result: yes
configure:4446: checking for ranlib
configure:4462: found /usr/bin/ranlib
configure:4473: result: ranlib
configure:4495: checking whether make sets $(MAKE)
configure:4517: result: yes
configure:4534: checking how to run the C++ preprocessor
configure:4570: g++ -E -I/usr/include conftest.cpp
configure:4577: $? = 0
configure:4608: g++ -E -I/usr/include conftest.cpp
conftest.cpp:11:28: error: ac_nonexistent.h: No such file or directory
configure:4615: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.24.1"
| #define PACKAGE_STRING "zm 1.24.1"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.24.1"
| #define ZM_MEM_MAPPED 1
| /* end confdefs.h. */
| #include <ac_nonexistent>
configure:4648: result: g++ -E
configure:4677: g++ -E -I/usr/include conftest.cpp
configure:4684: $? = 0
configure:4715: g++ -E -I/usr/include conftest.cpp
conftest.cpp:11:28: error: ac_nonexistent.h: No such file or directory
configure:4722: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.24.1"
| #define PACKAGE_STRING "zm 1.24.1"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.24.1"
| #define ZM_MEM_MAPPED 1
| /* end confdefs.h. */
| #include <ac_nonexistent>
configure:4762: checking for grep that handles long lines and -e
configure:4822: result: /bin/grep
configure:4827: checking for egrep
configure:4891: result: /bin/grep -E
configure:4896: checking for ANSI C header files
configure:4926: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:4933: $? = 0
configure:5032: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:5036: $? = 0
configure:5042: ./conftest
configure:5046: $? = 0
configure:5064: result: yes
configure:5088: checking for sys/types.h
configure:5109: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:5116: $? = 0
configure:5133: result: yes
configure:5088: checking for sys/stat.h
configure:5109: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:5116: $? = 0
configure:5133: result: yes
configure:5088: checking for stdlib.h
configure:5109: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:5116: $? = 0
configure:5133: result: yes
configure:5088: checking for string.h
configure:5109: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:5116: $? = 0
configure:5133: result: yes
configure:5088: checking for memory.h
configure:5109: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:5116: $? = 0
configure:5133: result: yes
configure:5088: checking for strings.h
configure:5109: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:5116: $? = 0
configure:5133: result: yes
configure:5088: checking for inttypes.h
configure:5109: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:5116: $? = 0
configure:5133: result: yes
configure:5088: checking for stdint.h
configure:5109: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:5116: $? = 0
configure:5133: result: yes
configure:5088: checking for unistd.h
configure:5109: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:5116: $? = 0
configure:5133: result: yes
configure:5147: checking for stdbool.h that conforms to C99
configure:5242: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:5249: $? = 0
configure:5264: result: yes
configure:5266: checking for _Bool
configure:5294: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:57: error: '_Bool' was not declared in this scope
configure:5301: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.24.1"
| #define PACKAGE_STRING "zm 1.24.1"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.24.1"
| #define ZM_MEM_MAPPED 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stdio>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib>
| # include <stddef>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory>
| # endif
| # include <string>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd>
| #endif
| int
| main ()
| {
| if (sizeof (_Bool))
| return 0;
| ;
| return 0;
| }
configure:5358: result: no
configure:5377: checking for an ANSI C-conforming const
configure:5452: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:5459: $? = 0
configure:5474: result: yes
configure:5484: checking for uid_t in sys/types.h
configure:5507: result: yes
configure:5522: checking for inline
configure:5548: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:5555: $? = 0
configure:5573: result: inline
configure:5592: checking for mode_t
configure:5620: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:5627: $? = 0
configure:5654: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:58: error: expected primary-expression before ')' token
configure:5661: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.24.1"
| #define PACKAGE_STRING "zm 1.24.1"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.24.1"
| #define ZM_MEM_MAPPED 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDBOOL_H 1
| /* end confdefs.h. */
| #include <stdio>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib>
| # include <stddef>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory>
| # endif
| # include <string>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd>
| #endif
| int
| main ()
| {
| if (sizeof ((mode_t)))
| return 0;
| ;
| return 0;
| }
configure:5684: result: yes
configure:5696: checking for size_t
configure:5724: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:5731: $? = 0
configure:5758: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:58: error: expected primary-expression before ')' token
configure:5765: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.24.1"
| #define PACKAGE_STRING "zm 1.24.1"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.24.1"
| #define ZM_MEM_MAPPED 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDBOOL_H 1
| /* end confdefs.h. */
| #include <stdio>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib>
| # include <stddef>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory>
| # endif
| # include <string>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd>
| #endif
| int
| main ()
| {
| if (sizeof ((size_t)))
| return 0;
| ;
| return 0;
| }
configure:5788: result: yes
configure:5800: checking for ssize_t
configure:5828: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:5835: $? = 0
configure:5862: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:58: error: expected primary-expression before ')' token
configure:5869: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.24.1"
| #define PACKAGE_STRING "zm 1.24.1"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.24.1"
| #define ZM_MEM_MAPPED 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDBOOL_H 1
| /* end confdefs.h. */
| #include <stdio>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib>
| # include <stddef>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory>
| # endif
| # include <string>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd>
| #endif
| int
| main ()
| {
| if (sizeof ((ssize_t)))
| return 0;
| ;
| return 0;
| }
configure:5892: result: yes
configure:5904: checking whether time.h and sys/time.h may both be included
configure:5934: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:5941: $? = 0
configure:5956: result: yes
configure:5966: checking whether struct tm is in sys/time.h or time.h
configure:5996: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:6003: $? = 0
configure:6018: result: time.h
configure:6029: checking for uint8_t
configure:6060: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:6067: $? = 0
configure:6088: result: yes
configure:6105: checking return type of signal handlers
configure:6133: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:29: error: void value not ignored as it ought to be
configure:6140: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.24.1"
| #define PACKAGE_STRING "zm 1.24.1"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.24.1"
| #define ZM_MEM_MAPPED 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDBOOL_H 1
| #define TIME_WITH_SYS_TIME 1
| /* end confdefs.h. */
| #include <sys>
| #include <signal>
|
| int
| main ()
| {
| return *(signal (0, 0)) (0) == 1;
| ;
| return 0;
| }
configure:6155: result: void
configure:6164: checking for siginfo_t
configure:6193: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:6200: $? = 0
configure:6228: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:29: error: expected primary-expression before ')' token
configure:6235: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.24.1"
| #define PACKAGE_STRING "zm 1.24.1"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.24.1"
| #define ZM_MEM_MAPPED 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDBOOL_H 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| /* end confdefs.h. */
| #include <signal>
|
| int
| main ()
| {
| if (sizeof ((siginfo_t)))
| return 0;
| ;
| return 0;
| }
configure:6258: result: yes
configure:6269: checking for struct sigcontext
configure:6298: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:6305: $? = 0
configure:6333: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:30: error: expected primary-expression before 'struct'
conftest.cpp:30: error: expected `)' before 'struct'
conftest.cpp:31: error: expected `)' before ';' token
conftest.cpp:31: error: expected `)' before ';' token
configure:6340: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.24.1"
| #define PACKAGE_STRING "zm 1.24.1"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.24.1"
| #define ZM_MEM_MAPPED 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDBOOL_H 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_SIGINFO_T 1
| /* end confdefs.h. */
| #include <signal>
|
| int
| main ()
| {
| if (sizeof ((struct sigcontext)))
| return 0;
| ;
| return 0;
| }
configure:6363: result: yes
configure:6374: checking for struct sigcontext.eip
configure:6403: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:6410: $? = 0
configure:6469: result: yes
configure:6480: checking for ucontext_t
configure:6509: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:6516: $? = 0
configure:6544: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:32: error: expected primary-expression before ')' token
configure:6551: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.24.1"
| #define PACKAGE_STRING "zm 1.24.1"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.24.1"
| #define ZM_MEM_MAPPED 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDBOOL_H 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_SIGINFO_T 1
| #define HAVE_STRUCT_SIGCONTEXT 1
| #define HAVE_STRUCT_SIGCONTEXT_EIP 1
| /* end confdefs.h. */
| #include <signal>
|
| int
| main ()
| {
| if (sizeof ((ucontext_t)))
| return 0;
| ;
| return 0;
| }
configure:6574: result: yes
configure:6588: checking whether gcc needs -traditional
configure:6630: result: no
configure:6642: checking for stdlib.h
configure:6649: result: yes
configure:6788: checking for GNU libc compatible malloc
configure:6822: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:6826: $? = 0
configure:6832: ./conftest
configure:6836: $? = 0
configure:6853: result: yes
configure:6887: checking for stdlib.h
configure:6894: result: yes
configure:6887: checking for unistd.h
configure:6894: result: yes
configure:7037: checking for getpagesize
configure:7093: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:7100: $? = 0
configure:7122: result: yes
configure:7134: checking for working mmap
configure:7281: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:7285: $? = 0
configure:7291: ./conftest
configure:7295: $? = 0
configure:7312: result: yes
configure:7340: checking sys/select.h usability
configure:7357: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:7364: $? = 0
configure:7378: result: yes
configure:7382: checking sys/select.h presence
configure:7397: g++ -E -I/usr/include conftest.cpp
configure:7404: $? = 0
configure:7418: result: yes
configure:7451: checking for sys/select.h
configure:7460: result: yes
configure:7340: checking sys/socket.h usability
configure:7357: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:7364: $? = 0
configure:7378: result: yes
configure:7382: checking sys/socket.h presence
configure:7397: g++ -E -I/usr/include conftest.cpp
configure:7404: $? = 0
configure:7418: result: yes
configure:7451: checking for sys/socket.h
configure:7460: result: yes
configure:7475: checking types of arguments for select
configure:7513: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:7520: $? = 0
configure:7541: result: int,fd_set *,struct timeval *
configure:7564: checking whether lstat dereferences a symlink specified with a trailing slash
configure:7600: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:7604: $? = 0
configure:7610: ./conftest
configure:7614: $? = 0
configure:7638: result: yes
configure:7657: checking whether stat accepts an empty string
configure:7687: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:7691: $? = 0
configure:7697: ./conftest
configure:7701: $? = 0
configure:7718: result: no
configure:7738: checking for strftime
configure:7794: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:7801: $? = 0
configure:7823: result: yes
configure:7910: checking for working strtod
configure:7961: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:83: warning: deprecated conversion from string constant to 'char*'
conftest.cpp:94: warning: deprecated conversion from string constant to 'char*'
configure:7965: $? = 0
configure:7971: ./conftest
configure:7975: $? = 0
configure:7992: result: yes
configure:8168: checking for vprintf
configure:8224: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:8231: $? = 0
configure:8253: result: yes
configure:8262: checking for _doprnt
configure:8318: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
/root/tmp/ccg3hoFe.o: In function `main':
/home/GK-EMAG/nbabinov/ZoneMinder-1.24.1/conftest.cpp:76: undefined reference to `_doprnt'
collect2: ld returned 1 exit status
configure:8325: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.24.1"
| #define PACKAGE_STRING "zm 1.24.1"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.24.1"
| #define ZM_MEM_MAPPED 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDBOOL_H 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_SIGINFO_T 1
| #define HAVE_STRUCT_SIGCONTEXT 1
| #define HAVE_STRUCT_SIGCONTEXT_EIP 1
| #define HAVE_UCONTEXT_T 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define SELECT_TYPE_ARG1 int
| #define SELECT_TYPE_ARG234 (fd_set *)
| #define SELECT_TYPE_ARG5 (struct timeval *)
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| #define HAVE_STRFTIME 1
| #define HAVE_VPRINTF 1
| /* end confdefs.h. */
| /* Define _doprnt to an innocuous variant, in case <limits> declares _doprnt.
| For example, HP-UX 11i <limits> declares gettimeofday. */
| #define _doprnt innocuous__doprnt
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char _doprnt (); below.
| Prefer <limits> to <assert> if __STDC__ is defined, since
| <limits> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits>
| #else
| # include <assert>
| #endif
|
| #undef _doprnt
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char _doprnt ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub__doprnt || defined __stub____doprnt
| choke me
| #endif
|
| int
| main ()
| {
| return _doprnt ();
| ;
| return 0;
| }
configure:8345: result: no
configure:8384: checking for gethostbyname
configure:8440: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:8447: $? = 0
configure:8469: result: yes
configure:8384: checking for gethostname
configure:8440: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:8447: $? = 0
configure:8469: result: yes
configure:8384: checking for gettimeofday
configure:8440: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:8447: $? = 0
configure:8469: result: yes
configure:8384: checking for memmove
configure:8440: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:8447: $? = 0
configure:8469: result: yes
configure:8384: checking for memset
configure:8440: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:8447: $? = 0
configure:8469: result: yes
configure:8384: checking for mkdir
configure:8440: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:8447: $? = 0
configure:8469: result: yes
configure:8384: checking for munmap
configure:8440: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:8447: $? = 0
configure:8469: result: yes
configure:8384: checking for putenv
configure:8440: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:8447: $? = 0
configure:8469: result: yes
configure:8384: checking for select
configure:8440: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:8447: $? = 0
configure:8469: result: yes
configure:8384: checking for socket
configure:8440: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:8447: $? = 0
configure:8469: result: yes
configure:8384: checking for sqrt
configure:8440: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:8447: $? = 0
configure:8469: result: yes
configure:8384: checking for strcasecmp
configure:8440: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:8447: $? = 0
configure:8469: result: yes
configure:8384: checking for strchr
configure:8440: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:8447: $? = 0
configure:8469: result: yes
configure:8384: checking for strcspn
configure:8440: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:8447: $? = 0
configure:8469: result: yes
configure:8384: checking for strerror
configure:8440: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:8447: $? = 0
configure:8469: result: yes
configure:8384: checking for strncasecmp
configure:8440: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:8447: $? = 0
configure:8469: result: yes
configure:8384: checking for strrchr
configure:8440: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:8447: $? = 0
configure:8469: result: yes
configure:8384: checking for strsignal
configure:8440: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:8447: $? = 0
configure:8469: result: yes
configure:8384: checking for strspn
configure:8440: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:8447: $? = 0
configure:8469: result: yes
configure:8384: checking for strstr
configure:8440: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:8447: $? = 0
configure:8469: result: yes
configure:8384: checking for strtol
configure:8440: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:8447: $? = 0
configure:8469: result: yes
configure:8384: checking for strtoull
configure:8440: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp >&5
configure:8447: $? = 0
configure:8469: result: yes
configure:8485: checking for ffmpeg
configure:8501: found /usr/bin/ffmpeg
configure:8513: result: yes
configure:8523: checking for ffmpeg
configure:8541: found /usr/bin/ffmpeg
configure:8553: result: /usr/bin/ffmpeg
configure:8563: checking for pnmscale
configure:8579: found /usr/bin/pnmscale
configure:8591: result: yes
configure:8601: checking for pnmscale
configure:8619: found /usr/bin/pnmscale
configure:8631: result: /usr/bin/pnmscale
configure:8643: checking for jpeg_start_compress in -ljpeg
configure:8678: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp -ljpeg >&5
configure:8685: $? = 0
configure:8706: result: yes
configure:8722: checking for compress in -lz
configure:8757: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp -lz -ljpeg >&5
configure:8764: $? = 0
configure:8785: result: yes
configure:8801: checking for dlsym in -ldl
configure:8836: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp -ldl -lz -ljpeg >&5
configure:8843: $? = 0
configure:8864: result: yes
configure:8880: checking for pthread_create in -lpthread
configure:8915: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp -lpthread -ldl -lz -ljpeg >&5
configure:8922: $? = 0
configure:8943: result: yes
configure:8959: checking for mysql_init in -lmysqlclient
configure:8994: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp -lmysqlclient -lpthread -ldl -lz -ljpeg >&5
configure:9001: $? = 0
configure:9022: result: yes
configure:9118: checking for MD5 in -lgnutls-openssl
configure:9153: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp -lgnutls-openssl -lmysqlclient -lpthread -ldl -lz -ljpeg >&5
configure:9160: $? = 0
configure:9181: result: yes
configure:9197: checking for pcre_compile in -lpcre
configure:9232: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp -lpcre -lgnutls-openssl -lmysqlclient -lpthread -ldl -lz -ljpeg >&5
configure:9239: $? = 0
configure:9260: result: yes
configure:9275: checking for av_malloc in -lavutil
configure:9310: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp -lavutil -lpcre -lgnutls-openssl -lmysqlclient -lpthread -ldl -lz -ljpeg >&5
/usr/bin/ld: cannot find -lavutil
collect2: ld returned 1 exit status
configure:9317: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.24.1"
| #define PACKAGE_STRING "zm 1.24.1"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.24.1"
| #define ZM_MEM_MAPPED 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDBOOL_H 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_SIGINFO_T 1
| #define HAVE_STRUCT_SIGCONTEXT 1
| #define HAVE_STRUCT_SIGCONTEXT_EIP 1
| #define HAVE_UCONTEXT_T 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define SELECT_TYPE_ARG1 int
| #define SELECT_TYPE_ARG234 (fd_set *)
| #define SELECT_TYPE_ARG5 (struct timeval *)
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| #define HAVE_STRFTIME 1
| #define HAVE_VPRINTF 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MEMSET 1
| #define HAVE_MKDIR 1
| #define HAVE_MUNMAP 1
| #define HAVE_PUTENV 1
| #define HAVE_SELECT 1
| #define HAVE_SOCKET 1
| #define HAVE_SQRT 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRCHR 1
| #define HAVE_STRCSPN 1
| #define HAVE_STRERROR 1
| #define HAVE_STRNCASECMP 1
| #define HAVE_STRRCHR 1
| #define HAVE_STRSIGNAL 1
| #define HAVE_STRSPN 1
| #define HAVE_STRSTR 1
| #define HAVE_STRTOL 1
| #define HAVE_STRTOULL 1
| #define HAVE_LIBJPEG 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBMYSQLCLIENT 1
| #define HAVE_LIBGNUTLS_OPENSSL 1
| #define HAVE_LIBPCRE 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char av_malloc ();
| int
| main ()
| {
| return av_malloc ();
| ;
| return 0;
| }
configure:9338: result: no
configure:9348: WARNING: libavutil.a may be required for MPEG streaming
configure:9353: checking for avcodec_init in -lavcodec
configure:9388: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp -lavcodec -lpcre -lgnutls-openssl -lmysqlclient -lpthread -ldl -lz -ljpeg >&5
/usr/bin/ld: cannot find -lavcodec
collect2: ld returned 1 exit status
configure:9395: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.24.1"
| #define PACKAGE_STRING "zm 1.24.1"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.24.1"
| #define ZM_MEM_MAPPED 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDBOOL_H 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_SIGINFO_T 1
| #define HAVE_STRUCT_SIGCONTEXT 1
| #define HAVE_STRUCT_SIGCONTEXT_EIP 1
| #define HAVE_UCONTEXT_T 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define SELECT_TYPE_ARG1 int
| #define SELECT_TYPE_ARG234 (fd_set *)
| #define SELECT_TYPE_ARG5 (struct timeval *)
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| #define HAVE_STRFTIME 1
| #define HAVE_VPRINTF 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MEMSET 1
| #define HAVE_MKDIR 1
| #define HAVE_MUNMAP 1
| #define HAVE_PUTENV 1
| #define HAVE_SELECT 1
| #define HAVE_SOCKET 1
| #define HAVE_SQRT 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRCHR 1
| #define HAVE_STRCSPN 1
| #define HAVE_STRERROR 1
| #define HAVE_STRNCASECMP 1
| #define HAVE_STRRCHR 1
| #define HAVE_STRSIGNAL 1
| #define HAVE_STRSPN 1
| #define HAVE_STRSTR 1
| #define HAVE_STRTOL 1
| #define HAVE_STRTOULL 1
| #define HAVE_LIBJPEG 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBMYSQLCLIENT 1
| #define HAVE_LIBGNUTLS_OPENSSL 1
| #define HAVE_LIBPCRE 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char avcodec_init ();
| int
| main ()
| {
| return avcodec_init ();
| ;
| return 0;
| }
configure:9416: result: no
configure:9426: WARNING: libavcodec.a is required for MPEG streaming
configure:9431: checking for av_new_stream in -lavformat
configure:9466: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp -lavformat -lavcodec -lavutil -lpcre -lgnutls-openssl -lmysqlclient -lpthread -ldl -lz -ljpeg >&5
/usr/bin/ld: cannot find -lavformat
collect2: ld returned 1 exit status
configure:9473: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.24.1"
| #define PACKAGE_STRING "zm 1.24.1"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.24.1"
| #define ZM_MEM_MAPPED 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDBOOL_H 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_SIGINFO_T 1
| #define HAVE_STRUCT_SIGCONTEXT 1
| #define HAVE_STRUCT_SIGCONTEXT_EIP 1
| #define HAVE_UCONTEXT_T 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define SELECT_TYPE_ARG1 int
| #define SELECT_TYPE_ARG234 (fd_set *)
| #define SELECT_TYPE_ARG5 (struct timeval *)
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| #define HAVE_STRFTIME 1
| #define HAVE_VPRINTF 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MEMSET 1
| #define HAVE_MKDIR 1
| #define HAVE_MUNMAP 1
| #define HAVE_PUTENV 1
| #define HAVE_SELECT 1
| #define HAVE_SOCKET 1
| #define HAVE_SQRT 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRCHR 1
| #define HAVE_STRCSPN 1
| #define HAVE_STRERROR 1
| #define HAVE_STRNCASECMP 1
| #define HAVE_STRRCHR 1
| #define HAVE_STRSIGNAL 1
| #define HAVE_STRSPN 1
| #define HAVE_STRSTR 1
| #define HAVE_STRTOL 1
| #define HAVE_STRTOULL 1
| #define HAVE_LIBJPEG 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBMYSQLCLIENT 1
| #define HAVE_LIBGNUTLS_OPENSSL 1
| #define HAVE_LIBPCRE 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char av_new_stream ();
| int
| main ()
| {
| return av_new_stream ();
| ;
| return 0;
| }
configure:9494: result: no
configure:9504: WARNING: libavformat.a is required for MPEG streaming
configure:9509: checking for sws_scale in -lswscale
configure:9544: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp -lswscale -lswscale -lpcre -lgnutls-openssl -lmysqlclient -lpthread -ldl -lz -ljpeg >&5
/usr/bin/ld: cannot find -lswscale
collect2: ld returned 1 exit status
configure:9551: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.24.1"
| #define PACKAGE_STRING "zm 1.24.1"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.24.1"
| #define ZM_MEM_MAPPED 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDBOOL_H 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_SIGINFO_T 1
| #define HAVE_STRUCT_SIGCONTEXT 1
| #define HAVE_STRUCT_SIGCONTEXT_EIP 1
| #define HAVE_UCONTEXT_T 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define SELECT_TYPE_ARG1 int
| #define SELECT_TYPE_ARG234 (fd_set *)
| #define SELECT_TYPE_ARG5 (struct timeval *)
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| #define HAVE_STRFTIME 1
| #define HAVE_VPRINTF 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MEMSET 1
| #define HAVE_MKDIR 1
| #define HAVE_MUNMAP 1
| #define HAVE_PUTENV 1
| #define HAVE_SELECT 1
| #define HAVE_SOCKET 1
| #define HAVE_SQRT 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRCHR 1
| #define HAVE_STRCSPN 1
| #define HAVE_STRERROR 1
| #define HAVE_STRNCASECMP 1
| #define HAVE_STRRCHR 1
| #define HAVE_STRSIGNAL 1
| #define HAVE_STRSPN 1
| #define HAVE_STRSTR 1
| #define HAVE_STRTOL 1
| #define HAVE_STRTOULL 1
| #define HAVE_LIBJPEG 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBMYSQLCLIENT 1
| #define HAVE_LIBGNUTLS_OPENSSL 1
| #define HAVE_LIBPCRE 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char sws_scale ();
| int
| main ()
| {
| return sws_scale ();
| ;
| return 0;
| }
configure:9572: result: no
configure:9584: checking for BZ2_bzCompress in -lbz2
configure:9619: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp -lbz2 -lpcre -lgnutls-openssl -lmysqlclient -lpthread -ldl -lz -ljpeg >&5
configure:9626: $? = 0
configure:9647: result: yes
configure:9665: checking for working alloca.h
configure:9692: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp -lbz2 -lpcre -lgnutls-openssl -lmysqlclient -lpthread -ldl -lz -ljpeg >&5
configure:9699: $? = 0
configure:9719: result: yes
configure:9729: checking for alloca
configure:9776: g++ -o conftest -g -O2 -I/usr/include -L/usr/lib -L/usr/lib/mysql conftest.cpp -lbz2 -lpcre -lgnutls-openssl -lmysqlclient -lpthread -ldl -lz -ljpeg >&5
configure:9783: $? = 0
configure:9803: result: yes
configure:10040: checking for ANSI C header files
configure:10208: result: yes
configure:10249: checking fcntl.h usability
configure:10266: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:10273: $? = 0
configure:10287: result: yes
configure:10291: checking fcntl.h presence
configure:10306: g++ -E -I/usr/include conftest.cpp
configure:10313: $? = 0
configure:10327: result: yes
configure:10360: checking for fcntl.h
configure:10369: result: yes
configure:10249: checking limits.h usability
configure:10266: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:10273: $? = 0
configure:10287: result: yes
configure:10291: checking limits.h presence
configure:10306: g++ -E -I/usr/include conftest.cpp
configure:10313: $? = 0
configure:10327: result: yes
configure:10360: checking for limits.h
configure:10369: result: yes
configure:10238: checking for memory.h
configure:10245: result: yes
configure:10249: checking netdb.h usability
configure:10266: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:10273: $? = 0
configure:10287: result: yes
configure:10291: checking netdb.h presence
configure:10306: g++ -E -I/usr/include conftest.cpp
configure:10313: $? = 0
configure:10327: result: yes
configure:10360: checking for netdb.h
configure:10369: result: yes
configure:10249: checking netinet/in.h usability
configure:10266: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:10273: $? = 0
configure:10287: result: yes
configure:10291: checking netinet/in.h presence
configure:10306: g++ -E -I/usr/include conftest.cpp
configure:10313: $? = 0
configure:10327: result: yes
configure:10360: checking for netinet/in.h
configure:10369: result: yes
configure:10249: checking stddef.h usability
configure:10266: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:10273: $? = 0
configure:10287: result: yes
configure:10291: checking stddef.h presence
configure:10306: g++ -E -I/usr/include conftest.cpp
configure:10313: $? = 0
configure:10327: result: yes
configure:10360: checking for stddef.h
configure:10369: result: yes
configure:10238: checking for stdlib.h
configure:10245: result: yes
configure:10238: checking for string.h
configure:10245: result: yes
configure:10238: checking for strings.h
configure:10245: result: yes
configure:10249: checking sys/ioctl.h usability
configure:10266: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:10273: $? = 0
configure:10287: result: yes
configure:10291: checking sys/ioctl.h presence
configure:10306: g++ -E -I/usr/include conftest.cpp
configure:10313: $? = 0
configure:10327: result: yes
configure:10360: checking for sys/ioctl.h
configure:10369: result: yes
configure:10249: checking sys/param.h usability
configure:10266: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:10273: $? = 0
configure:10287: result: yes
configure:10291: checking sys/param.h presence
configure:10306: g++ -E -I/usr/include conftest.cpp
configure:10313: $? = 0
configure:10327: result: yes
configure:10360: checking for sys/param.h
configure:10369: result: yes
configure:10238: checking for sys/socket.h
configure:10245: result: yes
configure:10249: checking sys/time.h usability
configure:10266: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:10273: $? = 0
configure:10287: result: yes
configure:10291: checking sys/time.h presence
configure:10306: g++ -E -I/usr/include conftest.cpp
configure:10313: $? = 0
configure:10327: result: yes
configure:10360: checking for sys/time.h
configure:10369: result: yes
configure:10249: checking syslog.h usability
configure:10266: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:10273: $? = 0
configure:10287: result: yes
configure:10291: checking syslog.h presence
configure:10306: g++ -E -I/usr/include conftest.cpp
configure:10313: $? = 0
configure:10327: result: yes
configure:10360: checking for syslog.h
configure:10369: result: yes
configure:10238: checking for unistd.h
configure:10245: result: yes
configure:10249: checking values.h usability
configure:10266: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:10273: $? = 0
configure:10287: result: yes
configure:10291: checking values.h presence
configure:10306: g++ -E -I/usr/include conftest.cpp
configure:10313: $? = 0
configure:10327: result: yes
configure:10360: checking for values.h
configure:10369: result: yes
configure:10400: checking linux/videodev.h usability
configure:10417: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:10424: $? = 0
configure:10438: result: yes
configure:10442: checking linux/videodev.h presence
configure:10457: g++ -E -I/usr/include conftest.cpp
configure:10464: $? = 0
configure:10478: result: yes
configure:10511: checking for linux/videodev.h
configure:10520: result: yes
configure:10555: checking linux/videodev2.h usability
configure:10572: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:10579: $? = 0
configure:10593: result: yes
configure:10597: checking linux/videodev2.h presence
configure:10612: g++ -E -I/usr/include conftest.cpp
configure:10619: $? = 0
configure:10633: result: yes
configure:10666: checking for linux/videodev2.h
configure:10675: result: yes
configure:10710: checking mysql/mysql.h usability
configure:10727: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
configure:10734: $? = 0
configure:10748: result: yes
configure:10752: checking mysql/mysql.h presence
configure:10767: g++ -E -I/usr/include conftest.cpp
configure:10774: $? = 0
configure:10788: result: yes
configure:10821: checking for mysql/mysql.h
configure:10830: result: yes
configure:10865: checking libavutil/avutil.h usability
configure:10882: g++ -c -g -O2 -I/usr/include conftest.cpp >&5
conftest.cpp:127:30: error: libavutil/avutil.h: No such file or directory
configure:10889: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.24.1"
| #define PACKAGE_STRING "zm 1.24.1"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.24.1"
| #define ZM_MEM_MAPPED 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDBOOL_H 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_SIGINFO_T 1
| #define HAVE_STRUCT_SIGCONTEXT 1
| #define HAVE_STRUCT_SIGCONTEXT_EIP 1
| #define HAVE_UCONTEXT_T 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define SELECT_TYPE_ARG1 int
| #define SELECT_TYPE_ARG234 (fd_set *)
| #define SELECT_TYPE_ARG5 (struct timeval *)
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| #define HAVE_STRFTIME 1
| #define HAVE_VPRINTF 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MEMSET 1
| #define HAVE_MKDIR 1
| #define HAVE_MUNMAP 1
| #define HAVE_PUTENV 1
| #define HAVE_SELECT 1
| #define HAVE_SOCKET 1
| #define HAVE_SQRT 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRCHR 1
| #define HAVE_STRCSPN 1
| #define HAVE_STRERROR 1
| #define HAVE_STRNCASECMP 1
| #define HAVE_STRRCHR 1
| #define HAVE_STRSIGNAL 1
| #define HAVE_STRSPN 1
| #define HAVE_STRSTR 1
| #define HAVE_STRTOL 1
| #define HAVE_STRTOULL 1
| #define HAVE_LIBJPEG 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBMYSQLCLIENT 1
| #define HAVE_LIBGNUTLS_OPENSSL 1
| #define HAVE_LIBPCRE 1
| #define HAVE_LIBBZ2 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define STDC_HEADERS 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_VALUES_H 1
| #define HAVE_LINUX_VIDEODEV_H 1
| #define HAVE_LINUX_VIDEODEV2_H 1
| #define HAVE_MYSQL_MYSQL_H 1
| /* end confdefs.h. */
| #include <stdio>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib>
| # include <stddef>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory>
| # endif
| # include <string>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd>
| #endif
| #include <libavutil>
configure:10903: result: no
configure:10907: checking libavutil/avutil.h presence
configure:10922: g++ -E -I/usr/include conftest.cpp
conftest.cpp:94:30: error: libavutil/avutil.h: No such file or directory
configure:10929: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.24.1"
| #define PACKAGE_STRING "zm 1.24.1"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.24.1"
| #define ZM_MEM_MAPPED 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDBOOL_H 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_SIGINFO_T 1
| #define HAVE_STRUCT_SIGCONTEXT 1
| #define HAVE_STRUCT_SIGCONTEXT_EIP 1
| #define HAVE_UCONTEXT_T 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define SELECT_TYPE_ARG1 int
| #define SELECT_TYPE_ARG234 (fd_set *)
| #define SELECT_TYPE_ARG5 (struct timeval *)
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| #define HAVE_STRFTIME 1
| #define HAVE_VPRINTF 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MEMSET 1
| #define HAVE_MKDIR 1
| #define HAVE_MUNMAP 1
| #define HAVE_PUTENV 1
| #define HAVE_SELECT 1
| #define HAVE_SOCKET 1
| #define HAVE_SQRT 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRCHR 1
| #define HAVE_STRCSPN 1
| #define HAVE_STRERROR 1
| #define HAVE_STRNCASECMP 1
| #define HAVE_STRRCHR 1
| #define HAVE_STRSIGNAL 1
| #define HAVE_STRSPN 1
| #define HAVE_STRSTR 1
| #define HAVE_STRTOL 1
| #define HAVE_STRTOULL 1
| #define HAVE_LIBJPEG 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBMYSQLCLIENT 1
| #define HAVE_LIBGNUTLS_OPENSSL 1
| #define HAVE_LIBPCRE 1
| #define HAVE_LIBBZ2 1
| #def
rsdvd
Posts: 33
Joined: Wed Dec 21, 2005 10:20 am

Post by rsdvd »

I'm trying to do
[root@xxx ZoneMinder-1.24.1]# ./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --enable-mmap

and it show an error

configure: error: zm requires Date::Manip
How about installing the Perl Module Data::Manip ?

Code: Select all

cpan -i Date::Manip
you will also find it needs some other modules....Sys::Mmap etc.
k-sudak
Posts: 7
Joined: Thu Apr 23, 2009 8:32 am

Post by k-sudak »

Thanks, you are absolutely right, I foregot this modules. :roll:
Locked