Problem building ZM on 64bit machine..... help please :)
Posted: Thu Feb 23, 2006 11:18 pm
Wow well I'm back, been away playing with mythtv ZM has performed great untill now however... though I dont think it is a fault of ZM...
I have taken the plunge and built a new beast, 2G AMDx2 64Bit thing and 2G or RAM and a huge amount of storage (got to put the goat pron somewhere )... it's aim is to provide storage, mythtv and ZM instead of the two SSF's I had running doing the same tasks...
Anyway to cut a long story short, I dont seem to be able to build the latest ZM from ZoneMinder-1.22.0-rc3.tar.gz and I am currently getting stuck with the following error:
./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin/ --with-libarch=lib64
/lib/cpp is there so I am a bit stumped (though it maybe I am a bit rusty also )
Any ideas ? TIA
I have taken the plunge and built a new beast, 2G AMDx2 64Bit thing and 2G or RAM and a huge amount of storage (got to put the goat pron somewhere )... it's aim is to provide storage, mythtv and ZM instead of the two SSF's I had running doing the same tasks...
Anyway to cut a long story short, I dont seem to be able to build the latest ZM from ZoneMinder-1.22.0-rc3.tar.gz and I am currently getting stuck with the following error:
Tying to build with:configure: error: C++ preprocessor "/lib/cpp" fails sanity check
./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin/ --with-libarch=lib64
Code: Select all
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: WARNING: You can call configure with the --with-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: 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: WARNING: You can call configure with the --with-extralibs option.
Ordinarily you will need to use this option only when your copy of ffmpeg has been built
with support for additional formats and you would use this option to detail which additional
libraries ffmpeg was built with so that it is able to link successfully with ZoneMinder.
You will need to wrap this option in quotes if it contains any spaces.
e.g. --with-extralibs="-lmp3lame"
configure: WARNING: You can call configure with the --with-webuser option.
This tells configure what the user name of the web user is if it is not the default of 'apache'.
e.g. --with-webuser=apache or --with-webuser=web
configure: WARNING: You can call configure with the --with-webgroup option.
This tells configure what the group name of the web group is if it is not the default of 'apache'.
e.g. --with-webgroup=apache or --with-webgroup=web
configure: WARNING: You can call configure with the --enable-debug=<yes|no> or --disable-debug option.
This tells configure whether to compile ZoneMinder with debug included. Although debug is included
by default it is not output unless explicitly switched on elsewhere. These checks may induce a
small penalty on performance and if you are after squeezing the maximum possible performance out
of ZoneMinder you may use this switch to prevent debug from being compiled in.
e.g. --enable-debug=yes or --disable-debug
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
Code: Select all
lrwxrwxrwx 1 root root 14 Feb 22 23:05 /lib/cpp -> ../usr/bin/cpp