./configure fails when upgrading FC8 1.22.3 to 1.23.3

Support and queries relating to all previous versions of ZoneMinder
Locked
eronquillo
Posts: 11
Joined: Sun Aug 03, 2008 4:03 pm

./configure fails when upgrading FC8 1.22.3 to 1.23.3

Post by eronquillo »

Hi everyone! I'm trying to ./configure on my FC8 server that has ZM 1.22.3 already installed. When I start the ./configure for ZM 1.23.3, I get the following:

[root@localhost ZoneMinder-1.23.3]# ./configure --with-libarch --with-mysql --with-ffmpeg --with-extralibs --with-webdir --with-cgidir --with-webuser --with-webgroup --enable-debug=no --enable-crashtrace=no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

[root@localhost ZoneMinder-1.23.3]#


Then when I view the config.log, I find this error:
Thread model: posix
gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)
configure:2870: $? = 0
configure:2877: gcc -V >&5
gcc: '-V' option must have argument
configure:2880: $? = 1
configure:2903: checking for C compiler default output file name
configure:2930: gcc -Lyes/yes -Lyes/yes/mysql yes conftest.c >&5
gcc: yes: No such file or directory
configure:2933: $? = 1
configure:2971: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.23.3"
| #define PACKAGE_STRING "zm 1.23.3"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.23.3"
| #define ZM_DBG_OFF 1
| #define ZM_NO_CRASHTRACE 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2978: error: C compiler cannot create executables
See `config.log' for more details.



How do I resolve this?
Locked