error: C++ preprocessor "/lib/cpp" fails sanity ch

Support and queries relating to all previous versions of ZoneMinder
Locked
User avatar
tony
Posts: 29
Joined: Mon Dec 29, 2003 8:30 pm

error: C++ preprocessor "/lib/cpp" fails sanity ch

Post by tony »

I am getting the above error while trying to compile zm on my fc5 box
Can anyone help?

Thanks

the output of config.log follows:

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.22.0, which was
generated by GNU Autoconf 2.59. Invocation command line was

$ ./configure --with-libarch=lib --with-mysql=/usr/bin --with-webdir=/e/www --with-cgidir=/var/www/cgi-bin

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

hostname = fc5box
uname -m = i686
uname -r = 2.6.15-1.2054_FC5
uname -s = Linux
uname -v = #1 Tue Mar 14 15:48:33 EST 2006

/usr/bin/uname -p = unknown
/bin/uname -X = unknownThis 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.22.0, which was
generated by GNU Autoconf 2.59. Invocation command line was

$ ./configure --with-libarch=lib --with-mysql=/usr/bin --with-webdir=/e/www--with-cgidir=/var/www/cgi-bin

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

hostname = fc5box
uname -m = i686
uname -r = 2.6.15-1.2054_FC5
uname -s = Linux
uname -v = #1 Tue Mar 14 15:48:33 EST 2006

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

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

PATH: /usr/kerberos/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /home/xxxxxx/bin


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

configure:1401: checking for a BSD-compatible install
configure:1456: result: /usr/bin/install -c
configure:1467: checking whether build environment is sane
configure:1510: result: yes
configure:1575: checking for gawk
configure:1591: found /usr/bin/gawk
configure:1601: result: gawk
configure:1611: checking whether make sets $(MAKE)
configure:1631: result: yes
configure:1887: 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:1918: 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:1977: 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:1995: 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:2015: 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:2078: checking for gcc
configure:2094: found /usr/bin/gcc
configure:2104: result: gcc
configure:2348: checking for C compiler version
configure:2351: gcc --version </dev/null >&5
gcc (GCC) 4.1.0 20060304 (Red Hat 4.1.0-3)
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:2354: $? = 0
configure:2356: gcc -v </dev/null >&5
Using built-in specs.
Target: i386-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 --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.0 20060304 (Red Hat 4.1.0-3)
configure:2359: $? = 0
configure:2361: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2364: $? = 1
configure:2387: checking for C compiler default output file name
configure:2390: gcc -L/usr/lib -L/usr/bin/lib/mysql conftest.c >&5
configure:2393: $? = 0
configure:2439: result: a.out
configure:2444: checking whether the C compiler works
configure:2450: ./a.out
configure:2453: $? = 0
configure:2470: result: yes
configure:2477: checking whether we are cross compiling
configure:2479: result: no
configure:2482: checking for suffix of executables
configure:2484: gcc -o conftest -L/usr/lib -L/usr/bin/lib/mysql conftest.c >&5
configure:2487: $? = 0
configure:2512: result:
configure:2518: checking for suffix of object files
configure:2539: gcc -c conftest.c >&5
configure:2542: $? = 0
configure:2564: result: o
configure:2568: checking whether we are using the GNU C compiler
configure:2592: gcc -c conftest.c >&5
configure:2598: $? = 0
configure:2602: test -z
|| test ! -s conftest.err
configure:2605: $? = 0
configure:2608: test -s conftest.o
configure:2611: $? = 0
configure:2624: result: yes
configure:2630: checking whether gcc accepts -g
configure:2651: gcc -c -g conftest.c >&5
configure:2657: $? = 0
configure:2661: test -z
|| test ! -s conftest.err
configure:2664: $? = 0
configure:2667: test -s conftest.o
configure:2670: $? = 0
configure:2681: result: yes
configure:2698: checking for gcc option to accept ANSI C
configure:2768: gcc -c -g -O2 conftest.c >&5
configure:2774: $? = 0
configure:2778: test -z
|| test ! -s conftest.err
configure:2781: $? = 0
configure:2784: test -s conftest.o
configure:2787: $? = 0
configure:2805: result: none needed
configure:2823: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:2829: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2973: checking for style of include used by make
configure:3001: result: GNU
configure:3029: checking dependency style of gcc
configure:3119: result: gcc3
configure:3188: checking for g++
configure:3217: result: no
configure:3188: checking for c++
configure:3217: result: no
configure:3188: checking for gpp
configure:3217: result: no
configure:3188: checking for aCC
configure:3217: result: no
configure:3188: checking for CC
configure:3217: result: no
configure:3188: checking for cxx
configure:3217: result: no
configure:3188: checking for cc++
configure:3217: result: no
configure:3188: checking for cl
configure:3217: result: no
configure:3188: checking for FCC
configure:3217: result: no
configure:3188: checking for KCC
configure:3217: result: no
configure:3188: checking for RCC
configure:3217: result: no
configure:3188: checking for xlC_r
configure:3217: result: no
configure:3188: checking for xlC
configure:3217: result: no
configure:3230: checking for C++ compiler version
configure:3233: g++ --version </dev/null >&5
./configure: line 3234: g++: command not found
configure:3236: $? = 127
configure:3238: g++ -v </dev/null >&5
./configure: line 3239: g++: command not found
configure:3241: $? = 127
configure:3243: g++ -V </dev/null >&5
./configure: line 3244: g++: command not found
configure:3246: $? = 127
configure:3249: checking whether we are using the GNU C++ compiler
configure:3273: g++ -c conftest.cc >&5
./configure: line 3274: g++: command not found
configure:3279: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| /* end confdefs.h. */
|
| int
| main ()
| {
| #ifndef __GNUC__
| choke me
| #endif
|
| ;
| return 0;
| }
configure:3305: result: no
configure:3311: checking whether g++ accepts -g
configure:3332: g++ -c -g conftest.cc >&5
./configure: line 3333: g++: command not found
configure:3338: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3362: result: no
configure:3404: g++ -c conftest.cc >&5
./configure: line 3405: g++: command not found
configure:3410: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| /* end confdefs.h. */
|
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3404: g++ -c conftest.cc >&5
./configure: line 3405: g++: command not found
configure:3410: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| /* end confdefs.h. */
| extern "C" void std::exit (int) throw (); using std::exit;
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3404: g++ -c conftest.cc >&5
./configure: line 3405: g++: command not found
configure:3410: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| /* end confdefs.h. */
| extern "C" void std::exit (int); using std::exit;
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3404: g++ -c conftest.cc >&5
./configure: line 3405: g++: command not found
configure:3410: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| /* end confdefs.h. */
| extern "C" void exit (int) throw ();
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3404: g++ -c conftest.cc >&5
./configure: line 3405: g++: command not found
configure:3410: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| /* end confdefs.h. */
| extern "C" void exit (int);
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3404: g++ -c conftest.cc >&5
./configure: line 3405: g++: command not found
configure:3410: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| /* end confdefs.h. */
| void exit (int);
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3493: checking dependency style of g++
configure:3583: result: none
configure:3613: checking for a BSD-compatible install
configure:3668: result: /usr/bin/install -c
configure:3679: checking whether make sets $(MAKE)
configure:3699: result: yes
configure:3715: checking how to run the C preprocessor
configure:3750: gcc -E conftest.c
configure:3756: $? = 0
configure:3788: gcc -E conftest.c
conftest.c:15:28: error: ac_nonexistent.h: No such file or directory
configure:3794: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3833: result: gcc -E
configure:3857: gcc -E conftest.c
configure:3863: $? = 0
configure:3895: gcc -E conftest.c
conftest.c:15:28: error: ac_nonexistent.h: No such file or directory
configure:3901: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3945: checking for egrep
configure:3955: result: grep -E
configure:3960: checking for ANSI C header files
configure:3985: gcc -c -g -O2 conftest.c >&5
configure:3991: $? = 0
configure:3995: test -z
|| test ! -s conftest.err
configure:3998: $? = 0
configure:4001: test -s conftest.o
configure:4004: $? = 0
configure:4093: gcc -o conftest -g -O2 -L/usr/lib -L/usr/bin/lib/mysql conftest.c >&5
conftest.c: In function 'main':
conftest.c:32: warning: incompatible implicit declaration of built-in function 'exit'
configure:4096: $? = 0
configure:4098: ./conftest
configure:4101: $? = 0
configure:4116: result: yes
configure:4151: checking for sys/types.h
configure:4167: g++ -c conftest.cc >&5
./configure: line 4168: g++: command not found
configure:4173: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <sys/types.h>
configure:4197: result: no
configure:4151: checking for sys/stat.h
configure:4167: g++ -c conftest.cc >&5
./configure: line 4168: g++: command not found
configure:4173: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <sys/stat.h>
configure:4197: result: no
configure:4151: checking for stdlib.h
configure:4167: g++ -c conftest.cc >&5
./configure: line 4168: g++: command not found
configure:4173: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <stdlib.h>
configure:4197: result: no
configure:4151: checking for string.h
configure:4167: g++ -c conftest.cc >&5
./configure: line 4168: g++: command not found
configure:4173: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <string.h>
configure:4197: result: no
configure:4151: checking for memory.h
configure:4167: g++ -c conftest.cc >&5
./configure: line 4168: g++: command not found
configure:4173: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <memory.h>
configure:4197: result: no
configure:4151: checking for strings.h
configure:4167: g++ -c conftest.cc >&5
./configure: line 4168: g++: command not found
configure:4173: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <strings.h>
configure:4197: result: no
configure:4151: checking for inttypes.h
configure:4167: g++ -c conftest.cc >&5
./configure: line 4168: g++: command not found
configure:4173: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <inttypes.h>
configure:4197: result: no
configure:4151: checking for stdint.h
configure:4167: g++ -c conftest.cc >&5
./configure: line 4168: g++: command not found
configure:4173: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <stdint.h>
configure:4197: result: no
configure:4151: checking for unistd.h
configure:4167: g++ -c conftest.cc >&5
./configure: line 4168: g++: command not found
configure:4173: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <unistd.h>
configure:4197: result: no
configure:4214: checking how to run the C++ preprocessor
configure:4245: g++ -E conftest.cc
./configure: line 4246: g++: command not found
configure:4251: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:4245: g++ -E conftest.cc
./configure: line 4246: g++: command not found
configure:4251: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:4245: /lib/cpp conftest.cc
cpp: error trying to exec 'cc1plus': execvp: No such file or directory
configure:4251: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:4245: /lib/cpp conftest.cc
cpp: error trying to exec 'cc1plus': execvp: No such file or directory
configure:4251: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:4328: result: /lib/cpp
configure:4352: /lib/cpp conftest.cc
cpp: error trying to exec 'cc1plus': execvp: No such file or directory
configure:4358: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:4352: /lib/cpp conftest.cc
cpp: error trying to exec 'cc1plus': execvp: No such file or directory
configure:4358: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:4427: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

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

ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=no
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_CPP_set=
ac_cv_env_CPP_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_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_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_exeext=
ac_cv_header_inttypes_h=no
ac_cv_header_memory_h=no
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=no
ac_cv_header_stdlib_h=no
ac_cv_header_string_h=no
ac_cv_header_strings_h=no
ac_cv_header_sys_stat_h=no
ac_cv_header_sys_types_h=no
ac_cv_header_unistd_h=no
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXXCPP=/lib/cpp
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=no
ac_cv_prog_egrep='grep -E'
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=none

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

ACLOCAL='${SHELL} /home/tony/Desktop/ZoneMinder-1.22.0/missing --run aclocal-1.9'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/tony/Desktop/ZoneMinder-1.22.0/missing --run tar'
AUTOCONF='${SHELL} /home/tony/Desktop/ZoneMinder-1.22.0/missing --run autoconf'
AUTOHEADER='${SHELL} /home/tony/Desktop/ZoneMinder-1.22.0/missing --run autoheader'
AUTOMAKE='${SHELL} /home/tony/Desktop/ZoneMinder-1.22.0/missing --run automake-1.9'
AWK='gawk'
BINDIR=''
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CGI_PREFIX='/var/www/cgi-bin'
CPP='gcc -E'
CPPFLAGS=''
CXX='g++'
CXXCPP='/lib/cpp'
CXXDEPMODE='depmode=none'
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
EXTRA_LIBS=''
FFMPEG_CFLAGS='-I/usr/include'
FFMPEG_LIBS='-L/usr/lib'
FFMPEG_PREFIX='/usr'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS='-L/usr/lib -L/usr/bin/lib/mysql '
LIBDIR=''
LIBOBJS=''
LIBS=''
LIB_ARCH='lib'
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/tony/Desktop/ZoneMinder-1.22.0/missing --run makeinfo'
MYSQL_CFLAGS='-I/usr/bin/include'
MYSQL_LIBS='-L/usr/bin/lib/mysql'
MYSQL_PREFIX='/usr/bin'
OBJEXT='o'
PACKAGE='ZoneMinder'
PACKAGE_BUGREPORT='support@zoneminder.com'
PACKAGE_NAME='zm'
PACKAGE_STRING='zm 1.22.0'
PACKAGE_TARNAME='ZoneMinder'
PACKAGE_VERSION='1.22.0'
PATH_BUILD='/home/tony/Desktop/ZoneMinder-1.22.0'
PATH_SEPARATOR=':'
PERL=''
RUNDIR=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
SYSCONFDIR=''
TIME_BUILD='1144224042'
VERSION='1.22.0'
WEB_GROUP='apache'
WEB_PREFIX='/e/www'
WEB_USER='apache'
ZM_CONFIG=''
ZM_DB_HOST='localhost'
ZM_DB_NAME='zm'
ZM_DB_PASS='zmpass'
ZM_DB_USER='zmuser'
ZM_PID=''
ZM_RUNDIR=''
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_STRIP=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE='#'
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/tony/Desktop/ZoneMinder-1.22.0/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

#define PACKAGE "ZoneMinder"
#define PACKAGE_BUGREPORT "support@zoneminder.com"
#define PACKAGE_NAME "zm"
#define PACKAGE_STRING "zm 1.22.0"
#define PACKAGE_TARNAME "ZoneMinder"
#define PACKAGE_VERSION "1.22.0"
#define STDC_HEADERS 1
#define VERSION "1.22.0"
#define ZM_DBG_OFF 1
#endif
#ifdef __cplusplus
void exit (int);

configure: exit 1


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

PATH: /usr/kerberos/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /home/john/bin


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

configure:1401: checking for a BSD-compatible install
configure:1456: result: /usr/bin/install -c
configure:1467: checking whether build environment is sane
configure:1510: result: yes
configure:1575: checking for gawk
configure:1591: found /usr/bin/gawk
configure:1601: result: gawk
configure:1611: checking whether make sets $(MAKE)
configure:1631: result: yes
configure:1887: 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:1918: 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:1977: 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:1995: 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:2015: 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:2078: checking for gcc
configure:2094: found /usr/bin/gcc
configure:2104: result: gcc
configure:2348: checking for C compiler version
configure:2351: gcc --version </dev/null >&5
gcc (GCC) 4.1.0 20060304 (Red Hat 4.1.0-3)
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:2354: $? = 0
configure:2356: gcc -v </dev/null >&5
Using built-in specs.
Target: i386-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 --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.0 20060304 (Red Hat 4.1.0-3)
configure:2359: $? = 0
configure:2361: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2364: $? = 1
configure:2387: checking for C compiler default output file name
configure:2390: gcc -L/usr/lib -L/usr/bin/lib/mysql conftest.c >&5
configure:2393: $? = 0
configure:2439: result: a.out
configure:2444: checking whether the C compiler works
configure:2450: ./a.out
configure:2453: $? = 0
configure:2470: result: yes
configure:2477: checking whether we are cross compiling
configure:2479: result: no
configure:2482: checking for suffix of executables
configure:2484: gcc -o conftest -L/usr/lib -L/usr/bin/lib/mysql conftest.c >&5
configure:2487: $? = 0
configure:2512: result:
configure:2518: checking for suffix of object files
configure:2539: gcc -c conftest.c >&5
configure:2542: $? = 0
configure:2564: result: o
configure:2568: checking whether we are using the GNU C compiler
configure:2592: gcc -c conftest.c >&5
configure:2598: $? = 0
configure:2602: test -z
|| test ! -s conftest.err
configure:2605: $? = 0
configure:2608: test -s conftest.o
configure:2611: $? = 0
configure:2624: result: yes
configure:2630: checking whether gcc accepts -g
configure:2651: gcc -c -g conftest.c >&5
configure:2657: $? = 0
configure:2661: test -z
|| test ! -s conftest.err
configure:2664: $? = 0
configure:2667: test -s conftest.o
configure:2670: $? = 0
configure:2681: result: yes
configure:2698: checking for gcc option to accept ANSI C
configure:2768: gcc -c -g -O2 conftest.c >&5
configure:2774: $? = 0
configure:2778: test -z
|| test ! -s conftest.err
configure:2781: $? = 0
configure:2784: test -s conftest.o
configure:2787: $? = 0
configure:2805: result: none needed
configure:2823: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:2829: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2973: checking for style of include used by make
configure:3001: result: GNU
configure:3029: checking dependency style of gcc
configure:3119: result: gcc3
configure:3188: checking for g++
configure:3217: result: no
configure:3188: checking for c++
configure:3217: result: no
configure:3188: checking for gpp
configure:3217: result: no
configure:3188: checking for aCC
configure:3217: result: no
configure:3188: checking for CC
configure:3217: result: no
configure:3188: checking for cxx
configure:3217: result: no
configure:3188: checking for cc++
configure:3217: result: no
configure:3188: checking for cl
configure:3217: result: no
configure:3188: checking for FCC
configure:3217: result: no
configure:3188: checking for KCC
configure:3217: result: no
configure:3188: checking for RCC
configure:3217: result: no
configure:3188: checking for xlC_r
configure:3217: result: no
configure:3188: checking for xlC
configure:3217: result: no
configure:3230: checking for C++ compiler version
configure:3233: g++ --version </dev/null >&5
./configure: line 3234: g++: command not found
configure:3236: $? = 127
configure:3238: g++ -v </dev/null >&5
./configure: line 3239: g++: command not found
configure:3241: $? = 127
configure:3243: g++ -V </dev/null >&5
./configure: line 3244: g++: command not found
configure:3246: $? = 127
configure:3249: checking whether we are using the GNU C++ compiler
configure:3273: g++ -c conftest.cc >&5
./configure: line 3274: g++: command not found
configure:3279: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| /* end confdefs.h. */
|
| int
| main ()
| {
| #ifndef __GNUC__
| choke me
| #endif
|
| ;
| return 0;
| }
configure:3305: result: no
configure:3311: checking whether g++ accepts -g
configure:3332: g++ -c -g conftest.cc >&5
./configure: line 3333: g++: command not found
configure:3338: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3362: result: no
configure:3404: g++ -c conftest.cc >&5
./configure: line 3405: g++: command not found
configure:3410: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| /* end confdefs.h. */
|
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3404: g++ -c conftest.cc >&5
./configure: line 3405: g++: command not found
configure:3410: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| /* end confdefs.h. */
| extern "C" void std::exit (int) throw (); using std::exit;
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3404: g++ -c conftest.cc >&5
./configure: line 3405: g++: command not found
configure:3410: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| /* end confdefs.h. */
| extern "C" void std::exit (int); using std::exit;
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3404: g++ -c conftest.cc >&5
./configure: line 3405: g++: command not found
configure:3410: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| /* end confdefs.h. */
| extern "C" void exit (int) throw ();
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3404: g++ -c conftest.cc >&5
./configure: line 3405: g++: command not found
configure:3410: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| /* end confdefs.h. */
| extern "C" void exit (int);
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3404: g++ -c conftest.cc >&5
./configure: line 3405: g++: command not found
configure:3410: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| /* end confdefs.h. */
| void exit (int);
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3493: checking dependency style of g++
configure:3583: result: none
configure:3613: checking for a BSD-compatible install
configure:3668: result: /usr/bin/install -c
configure:3679: checking whether make sets $(MAKE)
configure:3699: result: yes
configure:3715: checking how to run the C preprocessor
configure:3750: gcc -E conftest.c
configure:3756: $? = 0
configure:3788: gcc -E conftest.c
conftest.c:15:28: error: ac_nonexistent.h: No such file or directory
configure:3794: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3833: result: gcc -E
configure:3857: gcc -E conftest.c
configure:3863: $? = 0
configure:3895: gcc -E conftest.c
conftest.c:15:28: error: ac_nonexistent.h: No such file or directory
configure:3901: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3945: checking for egrep
configure:3955: result: grep -E
configure:3960: checking for ANSI C header files
configure:3985: gcc -c -g -O2 conftest.c >&5
configure:3991: $? = 0
configure:3995: test -z
|| test ! -s conftest.err
configure:3998: $? = 0
configure:4001: test -s conftest.o
configure:4004: $? = 0
configure:4093: gcc -o conftest -g -O2 -L/usr/lib -L/usr/bin/lib/mysql conftest.c >&5
conftest.c: In function 'main':
conftest.c:32: warning: incompatible implicit declaration of built-in function 'exit'
configure:4096: $? = 0
configure:4098: ./conftest
configure:4101: $? = 0
configure:4116: result: yes
configure:4151: checking for sys/types.h
configure:4167: g++ -c conftest.cc >&5
./configure: line 4168: g++: command not found
configure:4173: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <sys/types.h>
configure:4197: result: no
configure:4151: checking for sys/stat.h
configure:4167: g++ -c conftest.cc >&5
./configure: line 4168: g++: command not found
configure:4173: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <sys/stat.h>
configure:4197: result: no
configure:4151: checking for stdlib.h
configure:4167: g++ -c conftest.cc >&5
./configure: line 4168: g++: command not found
configure:4173: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <stdlib.h>
configure:4197: result: no
configure:4151: checking for string.h
configure:4167: g++ -c conftest.cc >&5
./configure: line 4168: g++: command not found
configure:4173: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <string.h>
configure:4197: result: no
configure:4151: checking for memory.h
configure:4167: g++ -c conftest.cc >&5
./configure: line 4168: g++: command not found
configure:4173: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <memory.h>
configure:4197: result: no
configure:4151: checking for strings.h
configure:4167: g++ -c conftest.cc >&5
./configure: line 4168: g++: command not found
configure:4173: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <strings.h>
configure:4197: result: no
configure:4151: checking for inttypes.h
configure:4167: g++ -c conftest.cc >&5
./configure: line 4168: g++: command not found
configure:4173: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <inttypes.h>
configure:4197: result
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Essentially this
./configure: line 3234: g++: command not found
seems to be your problem. You appear to have no compiler installed.
Phil
User avatar
tony
Posts: 29
Joined: Mon Dec 29, 2003 8:30 pm

Post by tony »

thanks, I now have another problem, it's looking for mysql.h, which wasn't on my machine. (I have fc5 set up just as a server. I have zm installed on another machine so I can get the include files but where is zm looking for these? (I put them in the same place as i#on the other machine but zm can't find them. (in /usr/include/mysql) I started configure pointing it at /usr/bin/ for mysql (where the executable is) is this right?

Thanks

Tony
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

In general just copying over files is a bad idea, as they usually depend on other files which depend on other files.....

Is there any reason you can't just install the mysql-devel package?
Phil
User avatar
tony
Posts: 29
Joined: Mon Dec 29, 2003 8:30 pm

Post by tony »

thanks, I didn't realise that that was the package I needed.
Now it's got to the openssl/md5.h problem. :(
I have looked at the other problems that have been answered about this but I have openssl and the dev package installed with md5.
Where is the config file that needs editing? (also where can I get the line to put in as I don't have a previous version to copy from)

Thanks

Tony
User avatar
tony
Posts: 29
Joined: Mon Dec 29, 2003 8:30 pm

Post by tony »

right, fixed that by copying another copy of md5.h from a fc4 machine. now it cant find libmysqlclient.a even though it was installed by mysql-devel.

config.log shows :
configure:5312: test -z
|| test ! -s conftest.err
configure:5315: $? = 0
configure:5318: test -s conftest
configure:5321: $? = 0
configure:5334: result: yes
configure:5350: checking for mysql_init in -lmysqlclient
configure:5380: g++ -o conftest -g -O2 -L/usr/lib -L/usr/bin//lib/mysql conftest.cc -lmysqlclient -ldl -lz -ljpeg >&5
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
configure:5386: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.0"
| #define PACKAGE_STRING "zm 1.22.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.0"
| #define ZM_DBG_OFF 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #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_MYSQL_MYSQL_H 1
| #define HAVE_DECL_ROUND 1
| #define HAVE_DECL_STRSIGNAL 1
| #define HAVE_DECL_MD5 1
| #define HAVE_LIBJPEG 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBDL 1
| /* end confdefs.h. */
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char mysql_init ();
| int
| main ()
| {
| mysql_init ();
| ;
| return 0;
| }
configure:5412: result: no
configure:5422: error: zm requires libmysqlclient.a

Thanks
Tony
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Try using just the prefix path for mysql /usr and not /usr/bin.

Regards,
Corey
rskarka
Posts: 3
Joined: Wed Apr 25, 2007 7:40 am

Post by rskarka »

Hello everybudy!

I followd the instructions on this page:
http://www.zoneminder.com/wiki/index.ph ... _Alternate

until this command:
sudo ./configure --with-webdir=/var/www/zm --with-cgidir=/usr/lib/cgi-bin --with-webuser=www-data --with-webgroup=www-data

and I get the same error message as in the original post. I'm quit sure that i have a compiler installed.

You can find my logfile here:

http://81.217.1.210/diverses/config.log



Thanks for help!
User avatar
mathewss
Posts: 9
Joined: Sun Apr 22, 2007 5:47 pm

Post by mathewss »

Here is the precursor to your error.

configure:4352: /lib/cpp conftest.cc
cpp: error trying to exec 'cc1plus': execvp: No such file or directory
configure:4358: $? = 1
configure: failed program was:

Looks like you dont have the g++ compiler..
try to apt-get or yast or what ever what ever your flavor of linux needs to get the packages for g++

Re
Sean M
rskarka
Posts: 3
Joined: Wed Apr 25, 2007 7:40 am

Post by rskarka »

No, I have the compiler installed. Sorry, the link to the logfile is not working, so i habe to post it here:
------------------------------------------------------------------------------------


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.22.3, which was
generated by GNU Autoconf 2.59. Invocation command line was

$ ./configure --with-webdir=/var/www/zm --with-cgidir=/usr/lib/cgi-bin --with-webuser=www-data --with-webgroup=www-data

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

hostname = spongebob
uname -m = i686
uname -r = 2.6.15-28-386
uname -s = Linux
uname -v = #1 PREEMPT Tue Mar 13 20:49:31 UTC 2007

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

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

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


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

configure:1402: checking for a BSD-compatible install
configure:1457: result: /usr/bin/install -c
configure:1468: checking whether build environment is sane
configure:1511: result: yes
configure:1576: checking for gawk
configure:1605: result: no
configure:1576: checking for mawk
configure:1592: found /usr/bin/mawk
configure:1602: result: mawk
configure:1612: checking whether make sets $(MAKE)
configure:1632: result: yes
configure:1840: 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:1859: 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:1887: 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:1917: 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:2009: 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:2038: 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
configure:2102: checking for gcc
configure:2118: found /usr/bin/gcc
configure:2128: result: gcc
configure:2372: checking for C compiler version
configure:2375: gcc --version </dev/null >&5
gcc (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
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:2378: $? = 0
configure:2380: gcc -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --with-tune=pentium4 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
configure:2383: $? = 0
configure:2385: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2388: $? = 1
configure:2411: checking for C compiler default output file name
configure:2414: gcc -L/usr/lib -L/usr/lib/mysql conftest.c >&5
configure:2417: $? = 0
configure:2463: result: a.out
configure:2468: checking whether the C compiler works
configure:2474: ./a.out
configure:2477: $? = 0
configure:2494: result: yes
configure:2501: checking whether we are cross compiling
configure:2503: result: no
configure:2506: checking for suffix of executables
configure:2508: gcc -o conftest -L/usr/lib -L/usr/lib/mysql conftest.c >&5
configure:2511: $? = 0
configure:2536: result:
configure:2542: checking for suffix of object files
configure:2563: gcc -c conftest.c >&5
configure:2566: $? = 0
configure:2588: result: o
configure:2592: checking whether we are using the GNU C compiler
configure:2616: gcc -c conftest.c >&5
configure:2622: $? = 0
configure:2626: test -z
|| test ! -s conftest.err
configure:2629: $? = 0
configure:2632: test -s conftest.o
configure:2635: $? = 0
configure:2648: result: yes
configure:2654: checking whether gcc accepts -g
configure:2675: gcc -c -g conftest.c >&5
configure:2681: $? = 0
configure:2685: test -z
|| test ! -s conftest.err
configure:2688: $? = 0
configure:2691: test -s conftest.o
configure:2694: $? = 0
configure:2705: result: yes
configure:2722: checking for gcc option to accept ANSI C
configure:2792: gcc -c -g -O2 conftest.c >&5
configure:2798: $? = 0
configure:2802: test -z
|| test ! -s conftest.err
configure:2805: $? = 0
configure:2808: test -s conftest.o
configure:2811: $? = 0
configure:2829: result: none needed
configure:2847: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: syntax error before 'me'
configure:2853: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2997: checking for style of include used by make
configure:3025: result: GNU
configure:3053: checking dependency style of gcc
configure:3143: result: gcc3
configure:3212: checking for g++
configure:3241: result: no
configure:3212: checking for c++
configure:3241: result: no
configure:3212: checking for gpp
configure:3228: found /usr/bin/gpp
configure:3238: result: gpp
configure:3254: checking for C++ compiler version
configure:3257: gpp --version </dev/null >&5
GPP 2.24
Copyright (C) 1996-2001 Denis Auroux
Copyright (C) 2003, 2004 Tristan Miller
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:3260: $? = 0
configure:3262: gpp -v </dev/null >&5
Usage : gpp [-{o|O} outfile] [-I/include/path] [-Dname=val ...] [-z] [-x] [-m]
[-n] [-C | -T | -H | -X | -P | -U ... [-M ...]] [+c<n> str1 str2]
[+s<n> str1 str2 c] [long options] [infile]

default: #define x y macro(arg,...)
-C : maximum cpp compatibility (includes -n, +c, +s, ...)
-T : TeX-like \define{x}{y} \macro{arg}{...}
-H : HTML-like <#define x|y> <#macro arg|...>
-X : XHTML-like <#define x|y/> <#macro arg|.../>
-P : prolog compatible cpp-like mode
-U : user-defined syntax (specified in 9 following args; see manual)
-M : user-defined syntax for meta-macros (specified in 7 following args)

-o : output to outfile
-O : output to outfile and stdout
-z : line terminator is CR-LF (MS-DOS style)
-x : enable #exec built-in macro
-m : enable automatic mode switching upon including .h/.c files
-n : send LF characters serving as macro terminators to output
+c : use next 2 args as comment start and comment end sequences
+s : use next 3 args as string start, end and quote character

Long options:
--include file : process file before infile
--nostdinc : don't search standard directories for files to include
--nocurinc : don't search the current directory for files to include
--curdirinclast : search the current directory last
--warninglevel n : set warning level
--includemarker formatstring : keep track of #include directives in output

--version : display version information and exit
-h, --help : display this message and exit

configure:3265: $? = 1
configure:3267: gpp -V </dev/null >&5
Usage : gpp [-{o|O} outfile] [-I/include/path] [-Dname=val ...] [-z] [-x] [-m]
[-n] [-C | -T | -H | -X | -P | -U ... [-M ...]] [+c<n> str1 str2]
[+s<n> str1 str2 c] [long options] [infile]

default: #define x y macro(arg,...)
-C : maximum cpp compatibility (includes -n, +c, +s, ...)
-T : TeX-like \define{x}{y} \macro{arg}{...}
-H : HTML-like <#define x|y> <#macro arg|...>
-X : XHTML-like <#define x|y/> <#macro arg|.../>
-P : prolog compatible cpp-like mode
-U : user-defined syntax (specified in 9 following args; see manual)
-M : user-defined syntax for meta-macros (specified in 7 following args)

-o : output to outfile
-O : output to outfile and stdout
-z : line terminator is CR-LF (MS-DOS style)
-x : enable #exec built-in macro
-m : enable automatic mode switching upon including .h/.c files
-n : send LF characters serving as macro terminators to output
+c : use next 2 args as comment start and comment end sequences
+s : use next 3 args as string start, end and quote character

Long options:
--include file : process file before infile
--nostdinc : don't search standard directories for files to include
--nocurinc : don't search the current directory for files to include
--curdirinclast : search the current directory last
--warninglevel n : set warning level
--includemarker formatstring : keep track of #include directives in output

--version : display version information and exit
-h, --help : display this message and exit

configure:3270: $? = 1
configure:3273: checking whether we are using the GNU C++ compiler
configure:3297: gpp -c conftest.cc >&5
stdin:1: error: character not allowed to start a syntax specifier
configure:3303: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| /* end confdefs.h. */
|
| int
| main ()
| {
| #ifndef __GNUC__
| choke me
| #endif
|
| ;
| return 0;
| }
configure:3329: result: no
configure:3335: checking whether gpp accepts -g
configure:3356: gpp -c -g conftest.cc >&5
/* confdefs.h. */

/* end confdefs.h. */

int
main ()
{

;
return 0;
}
configure:3362: $? = 0
configure:3366: test -z
|| test ! -s conftest.err
configure:3369: $? = 0
configure:3372: test -s conftest.o
configure:3375: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3386: result: no
configure:3428: gpp -c conftest.cc >&5
stdin:1: error: character not allowed to start a syntax specifier
configure:3434: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| /* end confdefs.h. */
|
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3428: gpp -c conftest.cc >&5
stdin:1: error: character not allowed to start a syntax specifier
configure:3434: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| /* end confdefs.h. */
| extern "C" void std::exit (int) throw (); using std::exit;
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3428: gpp -c conftest.cc >&5
stdin:1: error: character not allowed to start a syntax specifier
configure:3434: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| /* end confdefs.h. */
| extern "C" void std::exit (int); using std::exit;
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3428: gpp -c conftest.cc >&5
stdin:1: error: character not allowed to start a syntax specifier
configure:3434: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| /* end confdefs.h. */
| extern "C" void exit (int) throw ();
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3428: gpp -c conftest.cc >&5
stdin:1: error: character not allowed to start a syntax specifier
configure:3434: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| /* end confdefs.h. */
| extern "C" void exit (int);
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3428: gpp -c conftest.cc >&5
stdin:1: error: character not allowed to start a syntax specifier
configure:3434: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| /* end confdefs.h. */
| void exit (int);
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3517: checking dependency style of gpp
configure:3607: result: none
configure:3637: checking for a BSD-compatible install
configure:3692: result: /usr/bin/install -c
configure:3703: checking whether make sets $(MAKE)
configure:3723: result: yes
configure:3739: checking how to run the C preprocessor
configure:3774: gcc -E conftest.c
configure:3780: $? = 0
configure:3812: gcc -E conftest.c
conftest.c:14:28: error: ac_nonexistent.h: No such file or directory
configure:3818: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3857: result: gcc -E
configure:3881: gcc -E conftest.c
configure:3887: $? = 0
configure:3919: gcc -E conftest.c
conftest.c:14:28: error: ac_nonexistent.h: No such file or directory
configure:3925: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3969: checking for egrep
configure:3979: result: grep -E
configure:3984: checking for ANSI C header files
configure:4009: gcc -c -g -O2 conftest.c >&5
configure:4015: $? = 0
configure:4019: test -z
|| test ! -s conftest.err
configure:4022: $? = 0
configure:4025: test -s conftest.o
configure:4028: $? = 0
configure:4117: gcc -o conftest -g -O2 -L/usr/lib -L/usr/lib/mysql conftest.c >&5
conftest.c: In function 'main':
conftest.c:31: warning: incompatible implicit declaration of built-in function 'exit'
configure:4120: $? = 0
configure:4122: ./conftest
configure:4125: $? = 0
configure:4140: result: yes
configure:4175: checking for sys/types.h
configure:4191: gpp -c conftest.cc >&5
stdin:1: error: character not allowed to start a syntax specifier
configure:4197: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <sys/types.h>
configure:4221: result: no
configure:4175: checking for sys/stat.h
configure:4191: gpp -c conftest.cc >&5
stdin:1: error: character not allowed to start a syntax specifier
configure:4197: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <sys/stat.h>
configure:4221: result: no
configure:4175: checking for stdlib.h
configure:4191: gpp -c conftest.cc >&5
stdin:1: error: character not allowed to start a syntax specifier
configure:4197: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <stdlib.h>
configure:4221: result: no
configure:4175: checking for string.h
configure:4191: gpp -c conftest.cc >&5
stdin:1: error: character not allowed to start a syntax specifier
configure:4197: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <string.h>
configure:4221: result: no
configure:4175: checking for memory.h
configure:4191: gpp -c conftest.cc >&5
stdin:1: error: character not allowed to start a syntax specifier
configure:4197: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <memory.h>
configure:4221: result: no
configure:4175: checking for strings.h
configure:4191: gpp -c conftest.cc >&5
stdin:1: error: character not allowed to start a syntax specifier
configure:4197: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <strings.h>
configure:4221: result: no
configure:4175: checking for inttypes.h
configure:4191: gpp -c conftest.cc >&5
stdin:1: error: character not allowed to start a syntax specifier
configure:4197: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <inttypes.h>
configure:4221: result: no
configure:4175: checking for stdint.h
configure:4191: gpp -c conftest.cc >&5
stdin:1: error: character not allowed to start a syntax specifier
configure:4197: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <stdint.h>
configure:4221: result: no
configure:4175: checking for unistd.h
configure:4191: gpp -c conftest.cc >&5
stdin:1: error: character not allowed to start a syntax specifier
configure:4197: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <unistd.h>
configure:4221: result: no
configure:4233: checking for size_t
configure:4257: gpp -c conftest.cc >&5
stdin:1: error: character not allowed to start a syntax specifier
configure:4263: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if ((size_t *) 0)
| return 0;
| if (sizeof (size_t))
| return 0;
| ;
| return 0;
| }
configure:4287: result: no
configure:4299: checking return type of signal handlers
configure:4330: gpp -c conftest.cc >&5
stdin:1: error: character not allowed to start a syntax specifier
configure:4336: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| #define size_t unsigned
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <signal.h>
| #ifdef signal
| # undef signal
| #endif
| #ifdef __cplusplus
| extern "C" void (*signal (int, void (*)(int)))(int);
| #else
| void (*signal ()) ();
| #endif
|
| int
| main ()
| {
| int i;
| ;
| return 0;
| }
configure:4360: result: int
configure:4369: checking for siginfo_t
configure:4394: gpp -c conftest.cc >&5
stdin:1: error: character not allowed to start a syntax specifier
configure:4400: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| #define size_t unsigned
| #define RETSIGTYPE int
| /* end confdefs.h. */
| #include <signal.h>
|
| int
| main ()
| {
| if ((siginfo_t *) 0)
| return 0;
| if (sizeof (siginfo_t))
| return 0;
| ;
| return 0;
| }
configure:4424: result: no
configure:4435: checking for struct sigcontext
configure:4460: gpp -c conftest.cc >&5
stdin:1: error: character not allowed to start a syntax specifier
configure:4466: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| #define size_t unsigned
| #define RETSIGTYPE int
| /* end confdefs.h. */
| #include <signal.h>
|
| int
| main ()
| {
| if ((struct sigcontext *) 0)
| return 0;
| if (sizeof (struct sigcontext))
| return 0;
| ;
| return 0;
| }
configure:4490: result: no
configure:4501: checking for struct sigcontext.eip
configure:4525: gpp -c conftest.cc >&5
stdin:1: error: character not allowed to start a syntax specifier
configure:4531: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| #define size_t unsigned
| #define RETSIGTYPE int
| /* end confdefs.h. */
| #include <signal.h>
|
| int
| main ()
| {
| static struct sigcontext ac_aggr;
| if (ac_aggr.eip)
| return 0;
| ;
| return 0;
| }
configure:4570: gpp -c conftest.cc >&5
stdin:1: error: character not allowed to start a syntax specifier
configure:4576: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| #define size_t unsigned
| #define RETSIGTYPE int
| /* end confdefs.h. */
| #include <signal.h>
|
| int
| main ()
| {
| static struct sigcontext ac_aggr;
| if (sizeof ac_aggr.eip)
| return 0;
| ;
| return 0;
| }
configure:4602: result: no
configure:4613: checking for ucontext_t
configure:4638: gpp -c conftest.cc >&5
stdin:1: error: character not allowed to start a syntax specifier
configure:4644: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| #define size_t unsigned
| #define RETSIGTYPE int
| /* end confdefs.h. */
| #include <signal.h>
|
| int
| main ()
| {
| if ((ucontext_t *) 0)
| return 0;
| if (sizeof (ucontext_t))
| return 0;
| ;
| return 0;
| }
configure:4668: result: no
configure:4685: checking how to run the C++ preprocessor
configure:4716: gpp -E conftest.cc
Usage : gpp [-{o|O} outfile] [-I/include/path] [-Dname=val ...] [-z] [-x] [-m]
[-n] [-C | -T | -H | -X | -P | -U ... [-M ...]] [+c<n> str1 str2]
[+s<n> str1 str2 c] [long options] [infile]

default: #define x y macro(arg,...)
-C : maximum cpp compatibility (includes -n, +c, +s, ...)
-T : TeX-like \define{x}{y} \macro{arg}{...}
-H : HTML-like <#define x|y> <#macro arg|...>
-X : XHTML-like <#define x|y/> <#macro arg|.../>
-P : prolog compatible cpp-like mode
-U : user-defined syntax (specified in 9 following args; see manual)
-M : user-defined syntax for meta-macros (specified in 7 following args)

-o : output to outfile
-O : output to outfile and stdout
-z : line terminator is CR-LF (MS-DOS style)
-x : enable #exec built-in macro
-m : enable automatic mode switching upon including .h/.c files
-n : send LF characters serving as macro terminators to output

Long options:
--include file : process file before infile
--nostdinc : don't search standard directories for files to include
--nocurinc : don't search the current directory for files to include
--curdirinclast : search the current directory last
--warninglevel n : set warning level
--includemarker formatstring : keep track of #include directives in output

--version : display version information and exit
-h, --help : display this message and exit

configure:4722: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| #define size_t unsigned
| #define RETSIGTYPE int
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:4716: gpp -E conftest.cc
Usage : gpp [-{o|O} outfile] [-I/include/path] [-Dname=val ...] [-z] [-x] [-m]
[-n] [-C | -T | -H | -X | -P | -U ... [-M ...]] [+c<n> str1 str2]
[+s<n> str1 str2 c] [long options] [infile]

default: #define x y macro(arg,...)
-C : maximum cpp compatibility (includes -n, +c, +s, ...)
-T : TeX-like \define{x}{y} \macro{arg}{...}
-H : HTML-like <#define x|y> <#macro arg|...>
-X : XHTML-like <#define x|y/> <#macro arg|.../>
-P : prolog compatible cpp-like mode
-U : user-defined syntax (specified in 9 following args; see manual)
-M : user-defined syntax for meta-macros (specified in 7 following args)

-o : output to outfile
-O : output to outfile and stdout
-z : line terminator is CR-LF (MS-DOS style)
-x : enable #exec built-in macro
-m : enable automatic mode switching upon including .h/.c files
-n : send LF characters serving as macro terminators to output

Long options:
--include file : process file before infile
--nostdinc : don't search standard directories for files to include
--nocurinc : don't search the current directory for files to include
--curdirinclast : search the current directory last
--warninglevel n : set warning level
--includemarker formatstring : keep track of #include directives in output

--version : display version information and exit
-h, --help : display this message and exit

configure:4722: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| #define size_t unsigned
| #define RETSIGTYPE int
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:4716: /lib/cpp conftest.cc
cpp: installation problem, cannot exec 'cc1plus': 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.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| #define size_t unsigned
| #define RETSIGTYPE int
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:4716: /lib/cpp conftest.cc
cpp: installation problem, cannot exec 'cc1plus': 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.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| #define size_t unsigned
| #define RETSIGTYPE int
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:4799: result: /lib/cpp
configure:4823: /lib/cpp conftest.cc
cpp: installation problem, cannot exec 'cc1plus': No such file or directory
configure:4829: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| #define size_t unsigned
| #define RETSIGTYPE int
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:4823: /lib/cpp conftest.cc
cpp: installation problem, cannot exec 'cc1plus': No such file or directory
configure:4829: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.22.3"
| #define PACKAGE_STRING "zm 1.22.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.22.3"
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| #define size_t unsigned
| #define RETSIGTYPE int
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:4898: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

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

ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=no
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_CPP_set=
ac_cv_env_CPP_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_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_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_exeext=
ac_cv_header_inttypes_h=no
ac_cv_header_memory_h=no
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=no
ac_cv_header_stdlib_h=no
ac_cv_header_string_h=no
ac_cv_header_strings_h=no
ac_cv_header_sys_stat_h=no
ac_cv_header_sys_types_h=no
ac_cv_header_unistd_h=no
ac_cv_member_struct_sigcontext_eip=no
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=mawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXXCPP=/lib/cpp
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=gpp
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=no
ac_cv_prog_egrep='grep -E'
ac_cv_prog_make_make_set=yes
ac_cv_type_siginfo_t=no
ac_cv_type_signal=int
ac_cv_type_size_t=no
ac_cv_type_struct_sigcontext=no
ac_cv_type_ucontext_t=no
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=none

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

ACLOCAL='${SHELL} /usr/local/src/ZoneMinder-1.22.3/missing --run aclocal-1.9'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/local/src/ZoneMinder-1.22.3/missing --run tar'
AUTOCONF='${SHELL} /usr/local/src/ZoneMinder-1.22.3/missing --run autoconf'
AUTOHEADER='${SHELL} /usr/local/src/ZoneMinder-1.22.3/missing --run autoheader'
AUTOMAKE='${SHELL} /usr/local/src/ZoneMinder-1.22.3/missing --run automake-1.9'
AWK='mawk'
BINDIR=''
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CGI_PREFIX='/usr/lib/cgi-bin'
CPP='gcc -E'
CPPFLAGS=''
CXX='gpp'
CXXCPP='/lib/cpp'
CXXDEPMODE='depmode=none'
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
EXTRA_LIBS=''
FFMPEG_CFLAGS='-I/usr/include'
FFMPEG_LIBS='-L/usr/lib'
FFMPEG_PREFIX='/usr'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS='-L/usr/lib -L/usr/lib/mysql '
LIBDIR=''
LIBOBJS=''
LIBS=''
LIB_ARCH='lib'
LTLIBOBJS=''
MAKEINFO='${SHELL} /usr/local/src/ZoneMinder-1.22.3/missing --run makeinfo'
MYSQL_CFLAGS='-I/usr/include'
MYSQL_LIBS='-L/usr/lib/mysql'
MYSQL_PREFIX='/usr'
OBJEXT='o'
PACKAGE='ZoneMinder'
PACKAGE_BUGREPORT='support@zoneminder.com'
PACKAGE_NAME='zm'
PACKAGE_STRING='zm 1.22.3'
PACKAGE_TARNAME='ZoneMinder'
PACKAGE_VERSION='1.22.3'
PATH_BUILD='/usr/local/src/ZoneMinder-1.22.3'
PATH_SEPARATOR=':'
PERL=''
RUNDIR=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
SYSCONFDIR=''
TIME_BUILD='1177530536'
VERSION='1.22.3'
WEB_GROUP='www-data'
WEB_PREFIX='/var/www/zm'
WEB_USER='www-data'
ZM_CONFIG=''
ZM_DB_HOST='localhost'
ZM_DB_NAME='zm'
ZM_DB_PASS='zmpass'
ZM_DB_USER='zmuser'
ZM_PID=''
ZM_RUNDIR=''
ac_ct_CC='gcc'
ac_ct_CXX='gpp'
ac_ct_STRIP=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE='#'
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/usr/local/src/ZoneMinder-1.22.3/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

#define PACKAGE "ZoneMinder"
#define PACKAGE_BUGREPORT "support@zoneminder.com"
#define PACKAGE_NAME "zm"
#define PACKAGE_STRING "zm 1.22.3"
#define PACKAGE_TARNAME "ZoneMinder"
#define PACKAGE_VERSION "1.22.3"
#define RETSIGTYPE int
#define STDC_HEADERS 1
#define VERSION "1.22.3"
#define size_t unsigned
#endif
#ifdef __cplusplus
void exit (int);

configure: exit 1
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Your missing a package, according to the log. Make sure you have g++, libstdc++, etc.
Locked