Bad install?

Support and queries relating to all previous versions of ZoneMinder
Locked
WHSystems
Posts: 1
Joined: Thu Jun 22, 2006 3:07 pm

Bad install?

Post by WHSystems »

Is their an RPM for this?
I keep trying to install but get no c compiler. Im using FC5 And i installed mySQL. im looking for any help. here is my log.

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

$ ./configure --with-webdir=/root/ZM/Folder --with-cgidir=/root/ZM/Folder/CGI

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

hostname = localhost.localdomain
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/sbin
PATH: /usr/kerberos/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /root/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:1592: found /bin/gawk
configure:1602: result: gawk
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:1973: 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:1990: 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: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:2131: result: no
configure:2182: checking for cc
configure:2211: result: no
configure:2224: checking for cc
configure:2270: result: no
configure:2323: checking for cl
configure:2352: result: no
configure:2366: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

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

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_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=yes

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

ACLOCAL='${SHELL} /root/ZM/missing --run aclocal-1.9'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /root/ZM/missing --run tar'
AUTOCONF='${SHELL} /root/ZM/missing --run autoconf'
AUTOHEADER='${SHELL} /root/ZM/missing --run autoheader'
AUTOMAKE='${SHELL} /root/ZM/missing --run automake-1.9'
AWK='gawk'
BINDIR=''
CC=''
CCDEPMODE=''
CFLAGS=''
CGI_PREFIX='/root/ZM/Folder/CGI'
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
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} /root/ZM/missing --run makeinfo'
MYSQL_CFLAGS='-I/usr/include'
MYSQL_LIBS='-L/usr/lib/mysql'
MYSQL_PREFIX='/usr'
OBJEXT=''
PACKAGE='ZoneMinder'
PACKAGE_BUGREPORT='support@zoneminder.com'
PACKAGE_NAME='zm'
PACKAGE_STRING='zm 1.22.2'
PACKAGE_TARNAME='ZoneMinder'
PACKAGE_VERSION='1.22.2'
PATH_BUILD='/root/ZM'
PATH_SEPARATOR=':'
PERL=''
RUNDIR=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
SYSCONFDIR=''
TIME_BUILD='1150984329'
VERSION='1.22.2'
WEB_GROUP='apache'
WEB_PREFIX='/root/ZM/Folder'
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=''
ac_ct_CXX=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__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='/root/ZM/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.2"
#define PACKAGE_TARNAME "ZoneMinder"
#define PACKAGE_VERSION "1.22.2"
#define VERSION "1.22.2"

configure: exit 1




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

Post by cordel »

There will be an RPM fairly soon. I have to backup the current builder before I update it. So give me a week or so.
Other wise you can do:
yum groupistall development-tools

Regards,
Corey
Sika
Posts: 29
Joined: Mon Feb 06, 2006 8:21 am
Location: New Zealand

Post by Sika »

I've just installed ZM 1.22.2 from source on FC5 without too much trouble.
I just followed the "miket's 'HOW TO CENTOS 4.3'" in the "Hints & Tips" forum.
I downloaded his tarball of RPM's & made a list of all the RPM's. I then setup my YUM repostitories as to : www.stanton-finley.net & used YUM to install the packages I had on my list. There was about 4 I couldn't get from YUM but it doesn't seem to have make any difference, it compiled without errors & is running great.

WHSystems you will also have to install your gcc packages.

Also mg has a "HOW TO FC5"
http://www.zoneminder.com/forums/viewtopic.php?t=6178

Sika
Locked