Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 138556

Summary: Zoneminder 1.2.21.4 Install error
Product: Gentoo Linux Reporter: Alex Luhrman <alexluhrman>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alex Luhrman 2006-06-30 00:36:01 UTC
>>> emerge (6 of 6) www-misc/zoneminder-1.21.4 to /
>>> Downloading http://distfiles.gentoo.org/distfiles/zm-1.21.4.tar.gz
--12:29:41--  http://distfiles.gentoo.org/distfiles/zm-1.21.4.tar.gz
           => `/usr/portage/distfiles/zm-1.21.4.tar.gz'
Resolving distfiles.gentoo.org... 64.50.236.52, 64.50.238.52, 156.56.247.195, ...
Connecting to distfiles.gentoo.org|64.50.236.52|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 935,070 (913K) [application/x-gzip]

100%[====================================>] 935,070       86.23K/s    ETA 00:00

12:29:52 (84.09 KB/s) - `/usr/portage/distfiles/zm-1.21.4.tar.gz' saved [935070/935070]

>>> md5 files   ;-) zoneminder-1.21.4.ebuild
>>> md5 files   ;-) zoneminder-1.22.0.ebuild
>>> md5 files   ;-) files/postinstall.txt
>>> md5 files   ;-) files/digest-zoneminder-1.21.4
>>> md5 files   ;-) files/zmconfig-gentoo.txt
>>> md5 files   ;-) files/digest-zoneminder-1.22.0
>>> md5 files   ;-) files/Makefile.am.patch
>>> md5 files   ;-) files/conf.d
>>> md5 files   ;-) files/postupgrade.txt
>>> md5 files   ;-) files/init.d
>>> md5 files   ;-) files/postinstall-2.txt
>>> md5 src_uri ;-) zm-1.21.4.tar.gz
 *
 * This ebuild overrides the default SLOT behaviour for webapps
 * If this package installs files into the htdocs dir, this is
 * probably a bug in the ebuild.
 *
>>> Unpacking source...
>>> Unpacking zm-1.21.4.tar.gz to /var/tmp/portage/zoneminder-1.21.4/work
>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
configure: WARNING: You can call configure with the --with-lame option.
    This tells configure where to find the Lame library which can be used by the ffmpeg libraries
    to generate IE compatible MPEG audio streams. This option is only necessary if you have built
    the ffmpeg package itself with the --enable-mp3lame option and if the normal link cannot
    find the library. Using mp3lame is not necessary or of any benefit to ZoneMinder per se.
    e.g. --with-lame=/use/local/lib
checking for i686-pc-linux-gnu-gcc... i686-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 i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i686-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of i686-pc-linux-gnu-g++... gcc3
checking for a BSD-compatible install... /bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for egrep... 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 how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E
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 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 -lcrypto... 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 lame_init in -lmp3lame... yes
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 zmconfig.pl
config.status: creating config.h
config.status: executing depfiles commands
checking for zmconfig.txt... no
configure: WARNING: Now run 'perl zmconfig.pl' to create your ZoneMinder configuration
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/zoneminder-1.21.4/work/zm-1.21.4'
Making all in src
make[2]: Entering directory `/var/tmp/portage/zoneminder-1.21.4/work/zm-1.21.4/src'
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/include -I/usr/include   -march=i686 -O2 -pipe -MT zmc.o -MD -MP -MF ".deps/zmc.Tpo" -c -o zmc.o zmc.cpp; \
then mv -f ".deps/zmc.Tpo" ".deps/zmc.Po"; else rm -f ".deps/zmc.Tpo"; exit 1; fi
In file included from zmc.cpp:24:
zm.h:28:23: zm_config.h: No such file or directory
In file included from /usr/include/math.h:70,
                 from zm_image.h:29,
                 from zm_monitor.h:28,
                 from zmc.cpp:26:
/usr/include/bits/mathcalls.h:310: error: declaration of `double round(double) throw ()' throws different exceptions
zm.h:33: error: than previous declaration `double round(double)'
In file included from zm_zone.h:27,
                 from zm_monitor.h:29,
                 from zmc.cpp:26:
zm_event.h: In static member function `static void Event::Initialise()':
zm_event.h:86: error: `config' undeclared (first use this function)
zm_event.h:86: error: (Each undeclared identifier is reported only once for each function it appears in.)
In file included from zmc.cpp:26:
zm_monitor.h: In member function `int Monitor::PostCapture()':
zm_monitor.h:287: error: `config' undeclared (first use this function)
zmc.cpp: In function `int main(int, char**)':
zmc.cpp:155: error: `zmLoadConfig' undeclared (first use this function)
zmc.cpp:225: error: `config' undeclared (first use this function)
make[2]: *** [zmc.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/zoneminder-1.21.4/work/zm-1.21.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/zoneminder-1.21.4/work/zm-1.21.4'
make: *** [all] Error 2

!!! ERROR: www-misc/zoneminder-1.21.4 failed.
!!! Function src_compile, Line 43, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-30 00:47:23 UTC

*** This bug has been marked as a duplicate of 119226 ***