Present but cannot be compiled >CentOS 5.5

Forum for questions and support relating to the 1.24.x releases only.
Locked
Btoo
Posts: 11
Joined: Sat Feb 14, 2009 12:40 am
Location: Western USA

Present but cannot be compiled >CentOS 5.5

Post by Btoo »

I'm trying to install Zoneminder on an i386 computer following the CentOS wiki page: http://www.zoneminder.com/wiki/index.php/CentOS

I did this just last week and uninstalled ffmpeg from git, installed from yum and that system is up and running. I have not been able to reproduce those results with this install and did a clean re-install to this point.

Anyone else experience this?

./configure below......

Code: Select all

[root@zm ZoneMinder-1.24.2]# ./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-webuser=apache --with-webgroup=apache ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zmuser ZM_DB_PASS=zmpass
///////snip////
configure: WARNING: libavutil/avutil.h: present but cannot be compiled
configure: WARNING: libavutil/avutil.h:     check for missing prerequisite headers?
configure: WARNING: libavutil/avutil.h: see the Autoconf documentation
configure: WARNING: libavutil/avutil.h:     section "Present But Cannot Be Compiled"
configure: WARNING: libavutil/avutil.h: proceeding with the preprocessor's result
configure: WARNING: libavutil/avutil.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------- ##
configure: WARNING:     ## Report this to support@zoneminder.com ##
configure: WARNING:     ## ------------------------------------- ##
checking for libavutil/avutil.h... yes
checking ffmpeg/avutil.h usability... no
checking ffmpeg/avutil.h presence... no
checking for ffmpeg/avutil.h... no
checking libavcodec/avcodec.h usability... no
checking libavcodec/avcodec.h presence... yes
configure: WARNING: libavcodec/avcodec.h: present but cannot be compiled
configure: WARNING: libavcodec/avcodec.h:     check for missing prerequisite headers?
configure: WARNING: libavcodec/avcodec.h: see the Autoconf documentation
configure: WARNING: libavcodec/avcodec.h:     section "Present But Cannot Be Compiled"
configure: WARNING: libavcodec/avcodec.h: proceeding with the preprocessor's result
configure: WARNING: libavcodec/avcodec.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------- ##
configure: WARNING:     ## Report this to support@zoneminder.com ##
configure: WARNING:     ## ------------------------------------- ##
checking for libavcodec/avcodec.h... yes
checking ffmpeg/avcodec.h usability... no
checking ffmpeg/avcodec.h presence... no
checking for ffmpeg/avcodec.h... no
checking libavformat/avformat.h usability... no
checking libavformat/avformat.h presence... yes
configure: WARNING: libavformat/avformat.h: present but cannot be compiled
configure: WARNING: libavformat/avformat.h:     check for missing prerequisite headers?
configure: WARNING: libavformat/avformat.h: see the Autoconf documentation
configure: WARNING: libavformat/avformat.h:     section "Present But Cannot Be Compiled"
configure: WARNING: libavformat/avformat.h: proceeding with the preprocessor's result
configure: WARNING: libavformat/avformat.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------- ##
configure: WARNING:     ## Report this to support@zoneminder.com ##
configure: WARNING:     ## ------------------------------------- ##
////////snip/////////////////
perl Makefile.PL
Writing Makefile for ZoneMinder

Last edited by Btoo on Wed Dec 01, 2010 2:09 am, edited 3 times in total.
Btoo
Posts: 11
Joined: Sat Feb 14, 2009 12:40 am
Location: Western USA

Update

Post by Btoo »

Replaced a bad hard drive and started over. Ran into same problem again so this time will try on Gentoo, had enough of this!
clipo
Posts: 101
Joined: Sat Sep 06, 2008 9:55 am
Location: Manchester, UK
Contact:

Re: Update

Post by clipo »

Btoo wrote:Replaced a bad hard drive and started over. Ran into same problem again so this time will try on Gentoo, had enough of this!
Before you ditch CentOS read this thread

http://www.zoneminder.com/forums/viewto ... c&start=30

there is also a very good installation script on the third page.
Locked