* * Using dev-lang/php-5.2.6-r1 * * Checking for required PHP feature(s) ... >>> Unpacking source... >>> Unpacking ZoneMinder-1.23.3.tar.gz to /var/tmp/portage/www-misc/zoneminder-1.23.3/work * Applying Makefile.am.patch ...  [ ok ] * Applying zm_create.sql.in.patch ...  [ ok ] * Applying zm_mpeg_ofc.patch ...  [ ok ] * Applying zm_remote_camera.patch ...  [ ok ] * Running eautoreconf in '/var/tmp/portage/www-misc/zoneminder-1.23.3/work/ZoneMinder-1.23.3' ... * Running aclocal ...  [ ok ] * Running autoconf ...  [ ok ] * Running autoheader ...  [ ok ] * Running automake --add-missing --copy ...  [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/www-misc/zoneminder-1.23.3/work/ZoneMinder-1.23.3 ... ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-libarch=lib64 --with-mysql=/usr --without-ffmpeg --disable-debug --disable-crashtrace --with-webdir=//var/www/zoneminder/htdocs --with-cgidir=//var/www/zoneminder/cgi-bin --with-webuser=apache --with-webgroup=apache --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu 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 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" checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3 checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-g++... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... (cached) yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking return type of signal handlers... void checking for siginfo_t... yes checking for struct sigcontext... yes checking for struct sigcontext.eip... no checking for ucontext_t... yes checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking mysql/mysql.h usability... yes checking mysql/mysql.h presence... yes checking for mysql/mysql.h... yes checking pcre/pcre.h usability... no checking pcre/pcre.h presence... no checking for pcre/pcre.h... no checking pcre.h usability... yes checking pcre.h presence... yes checking for pcre.h... yes checking whether round is declared... yes checking whether strsignal is declared... yes checking whether MD5 is declared... yes checking whether backtrace is declared... yes checking for jpeg_start_compress in -ljpeg... yes checking for compress in -lz... yes checking for dlsym in -ldl... yes checking for mysql_init in -lmysqlclient... yes checking for MD5 in -lgnutls-openssl... yes checking for pcre_compile in -lpcre... yes checking for ff_gcd in -lavutil... yes checking for avcodec_init in -lavcodec... yes checking for av_new_stream in -lavformat... yes checking for sws_scale in -lswscale... yes checking for perl... perl checking for perl version greater than or equal to 5.6.0... ok checking for perl module Sys::Syslog... ok checking for perl module DBI... ok checking for perl module DBD::mysql... ok checking for perl module Getopt::Long... ok checking for perl module Time::HiRes... ok checking for perl module Date::Manip... ok checking for perl module LWP::UserAgent... ok checking for perl module PHP::Serialization... ok checking for perl module Module::Load... no configure: WARNING: Module::Load is required for PTZ camera control checking for perl module Device::SerialPort... ok checking for perl module Net::FTP... ok checking for perl module Archive::Tar... ok checking for perl module Archive::Zip... ok checking for perl module Net::SMTP... ok checking for perl module MIME::Lite... ok checking for perl module MIME::Entity... ok checking for perl module X10::ActiveHome... no configure: WARNING: X10::ActiveHome is required for X.10 support configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating web/Makefile config.status: creating web/graphics/Makefile config.status: creating scripts/Makefile config.status: creating db/Makefile config.status: creating config.h config.status: executing depfiles commands configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating web/Makefile config.status: creating web/graphics/Makefile config.status: creating scripts/Makefile config.status: creating db/Makefile config.status: creating zm.conf config.status: creating src/zm_config.h config.status: creating web/zm_config.php config.status: creating scripts/zm config.status: creating db/zm_create.sql config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating web/Makefile config.status: creating web/graphics/Makefile config.status: creating scripts/Makefile config.status: creating db/Makefile config.status: creating zm.conf config.status: creating src/zm_config.h config.status: creating web/zm_config.php config.status: creating scripts/zm config.status: creating db/zm_create.sql config.status: creating scripts/ZoneMinder/lib/ZoneMinder/Base.pm config.status: creating scripts/ZoneMinder/lib/ZoneMinder/Config.pm config.status: creating scripts/ZoneMinder/lib/ZoneMinder/ConfigAdmin.pm config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating web/Makefile config.status: creating web/graphics/Makefile config.status: creating scripts/Makefile config.status: creating db/Makefile config.status: creating zm.conf config.status: creating src/zm_config.h config.status: creating web/zm_config.php config.status: creating scripts/zm config.status: creating db/zm_create.sql config.status: creating scripts/ZoneMinder/lib/ZoneMinder/Base.pm config.status: creating scripts/ZoneMinder/lib/ZoneMinder/Config.pm config.status: creating scripts/ZoneMinder/lib/ZoneMinder/ConfigAdmin.pm config.status: creating scripts/zmdbbackup config.status: creating scripts/zmdbrestore config.status: creating scripts/zmeventdump config.status: creating scripts/zmlogrotate.conf config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands checking for scripts/ZoneMinder/Makefile... no Checking if your kit is complete... Looks good Writing Makefile for ZoneMinder cd . && /bin/sh /var/tmp/portage/www-misc/zoneminder-1.23.3/work/ZoneMinder-1.23.3/missing --run autoheader rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged make all-recursive make[1]: Entering directory `/var/tmp/portage/www-misc/zoneminder-1.23.3/work/ZoneMinder-1.23.3' Making all in src make[2]: Entering directory `/var/tmp/portage/www-misc/zoneminder-1.23.3/work/ZoneMinder-1.23.3/src' x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Ino/include -Wall -Wno-sign-compare -pipe -O2 -march=athlon64 -MT zmc.o -MD -MP -MF .deps/zmc.Tpo -c -o zmc.o zmc.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Ino/include -Wall -Wno-sign-compare -pipe -O2 -march=athlon64 -MT zm.o -MD -MP -MF .deps/zm.Tpo -c -o zm.o zm.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Ino/include -Wall -Wno-sign-compare -pipe -O2 -march=athlon64 -MT zm_db.o -MD -MP -MF .deps/zm_db.Tpo -c -o zm_db.o zm_db.cpp mv -f .deps/zm.Tpo .deps/zm.Po x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Ino/include -Wall -Wno-sign-compare -pipe -O2 -march=athlon64 -MT zm_config.o -MD -MP -MF .deps/zm_config.Tpo -c -o zm_config.o zm_config.cpp In file included from zm_stream.h:27, from zm_event.h:36, from zm_zone.h:27, from zm_monitor.h:27, from zmc.cpp:27: zm_mpeg.h:29:29: error: ffmpeg/avformat.h: No such file or directory zm_mpeg.h:31:28: error: ffmpeg/swscale.h: No such file or directory zm_config.cpp:27: warning: deprecated conversion from string constant to ‘char*’ zm_config.cpp:27: warning: deprecated conversion from string constant to ‘char*’ zm_config.cpp:27: warning: deprecated conversion from string constant to ‘char*’ zm_config.cpp:27: warning: deprecated conversion from string constant to ‘char*’ zm_config.cpp:27: warning: deprecated conversion from string constant to ‘char*’ mv -f .deps/zm_db.Tpo .deps/zm_db.Po x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Ino/include -Wall -Wno-sign-compare -pipe -O2 -march=athlon64 -MT zm_coord.o -MD -MP -MF .deps/zm_coord.Tpo -c -o zm_coord.o zm_coord.cpp mv -f .deps/zm_coord.Tpo .deps/zm_coord.Po x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Ino/include -Wall -Wno-sign-compare -pipe -O2 -march=athlon64 -MT zm_box.o -MD -MP -MF .deps/zm_box.Tpo -c -o zm_box.o zm_box.cpp In file included from zm_stream.h:27, from zm_event.h:36, from zm_zone.h:27, from zm_monitor.h:27, from zmc.cpp:27: zm_mpeg.h:63: error: use of enum ‘PixelFormat’ without previous declaration zm_mpeg.h:64: error: ISO C++ forbids declaration of ‘AVOutputFormat’ with no type zm_mpeg.h:64: error: expected ‘;’ before ‘*’ token zm_mpeg.h:65: error: ISO C++ forbids declaration of ‘AVFormatContext’ with no type zm_mpeg.h:65: error: expected ‘;’ before ‘*’ token zm_mpeg.h:66: error: ISO C++ forbids declaration of ‘AVStream’ with no type zm_mpeg.h:66: error: expected ‘;’ before ‘*’ token zm_mpeg.h:67: error: ISO C++ forbids declaration of ‘AVFrame’ with no type zm_mpeg.h:67: error: expected ‘;’ before ‘*’ token zm_mpeg.h:68: error: ISO C++ forbids declaration of ‘AVFrame’ with no type zm_mpeg.h:68: error: expected ‘;’ before ‘*’ token zm_mpeg.h:69: error: ISO C++ forbids declaration of ‘uint8_t’ with no type zm_mpeg.h:69: error: expected ‘;’ before ‘*’ token zm_mpeg.h:85: error: ‘uint8_t’ has not been declared In file included from zm_zone.h:27, from zm_monitor.h:27, from zmc.cpp:27: zm_event.h:188: warning: ‘typedef’ was ignored in this declaration zm_event.h:200: warning: ‘typedef’ was ignored in this declaration In file included from zmc.cpp:27: zm_monitor.h:114: warning: ‘typedef’ was ignored in this declaration mv -f .deps/zm_box.Tpo .deps/zm_box.Po x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Ino/include -Wall -Wno-sign-compare -pipe -O2 -march=athlon64 -MT zm_poly.o -MD -MP -MF .deps/zm_poly.Tpo -c -o zm_poly.o zm_poly.cpp make[2]: *** [zmc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... mv -f .deps/zm_poly.Tpo .deps/zm_poly.Po mv -f .deps/zm_config.Tpo .deps/zm_config.Po make[2]: Leaving directory `/var/tmp/portage/www-misc/zoneminder-1.23.3/work/ZoneMinder-1.23.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/www-misc/zoneminder-1.23.3/work/ZoneMinder-1.23.3' make: *** [all] Error 2 * * ERROR: www-misc/zoneminder-1.23.3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3349: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/www-misc/zoneminder-1.23.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-misc/zoneminder-1.23.3/temp/environment'. *