I all. I want to install it on gentoo. All dependencies are installed and i got this error. I juste installed it on gentoo 2009.11.
make[2]: *** [zmc] Error 1
make[2]: Leaving directory `/var/tmp/portage/www-misc/zoneminder-1.24.2/work/ZoneMinder-1.24.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/www-misc/zoneminder-1.24.2/work/ZoneMinder-1.24.2'
make: *** [all] Error 2
*
* ERROR: www-misc/zoneminder-1.24.2 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3491: Called die
* The specific snippet of code:
* emake -j1 || 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.24.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/www-misc/zoneminder-1.24.2/temp/environment'.
*
>>> Failed to emerge www-misc/zoneminder-1.24.2, Log file:
>>> '/var/tmp/portage/www-misc/zoneminder-1.24.2/temp/build.log'
* Messages for package www-misc/zoneminder-1.24.2:
*
* ERROR: www-misc/zoneminder-1.24.2 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3491: Called die
* The specific snippet of code:
* emake -j1 || 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.24.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/www-misc/zoneminder-1.24.2/temp/environment'.
*
Ty every one !
Can't install on Gentoo
I'm experiencing the same problem and have tried the suggestions directly above me to no avail.
It's a problem with the current jpeg libs on a new Gentoo build. Install the older version of jpeg to resolve.
Then re-emerge zoneminder.
Cheers.
Edit:
You'll also need to re-emerge php after so it is aware of the change with the jpeg libraries.
edit:Writing Makefile for ZoneMinder
* zoneminder does not parallel build... using forcing make -j1...
make -j5 -j1
make all-recursive
make[1]: Entering directory `/var/tmp/portage/www-misc/zoneminder-1.24.2/work/ZoneMinder-1.24.2'
Making all in src
make[2]: Entering directory `/var/tmp/portage/www-misc/zoneminder-1.24.2/work/ZoneMinder-1.24.2/src'
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -frepo -O2 -march=i686 -pipe -MT zmc.o -MD -MP -MF .deps/zmc.Tpo -c -o zmc.o zmc.cpp
In file included from zm_image.h:26,
from zm_monitor.h:25,
from zmc.cpp:28:
zm_jpeg.h:39: error: declaration of C function 'void jpeg_mem_src(jpeg_decompress_struct*, const JOCTET*, int)' conflicts with
/usr/include/jpeglib.h:959: error: previous declaration 'void jpeg_mem_src(jpeg_decompress_struct*, unsigned char*, long unsigned int)' here
zm_jpeg.h:40: error: declaration of C function 'void jpeg_mem_dest(jpeg_compress_struct*, JOCTET*, int*)' conflicts with
/usr/include/jpeglib.h:956: error: previous declaration 'void jpeg_mem_dest(jpeg_compress_struct*, unsigned char**, long unsigned int*)' here
make[2]: *** [zmc.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/www-misc/zoneminder-1.24.2/work/ZoneMinder-1.24.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/www-misc/zoneminder-1.24.2/work/ZoneMinder-1.24.2'
make: *** [all] Error 2
It's a problem with the current jpeg libs on a new Gentoo build. Install the older version of jpeg to resolve.
Code: Select all
# emerge =media-libs/jpeg-7
Then re-emerge zoneminder.
Cheers.
Edit:
You'll also need to re-emerge php after so it is aware of the change with the jpeg libraries.
-
- Posts: 42
- Joined: Wed Mar 05, 2008 10:33 pm
- Location: Stanford-Le-Hope, Thurrock, Essex
Still causing issue
Hello
I have the same issue with Zoneminder 1.24.2 not compiling on Gentoo and showing this error.
I have downgraded jpeg to jpeg-8a (which is the same as on my other Zoneminder box that I built recently and is working). On this box it has made no difference, I have also tried the other versions of jpeg that are available (7a for example, 7 is not available). Again, no luck.
I am building Zoneminder from source downloaded from the website.
J
I have the same issue with Zoneminder 1.24.2 not compiling on Gentoo and showing this error.
I have downgraded jpeg to jpeg-8a (which is the same as on my other Zoneminder box that I built recently and is working). On this box it has made no difference, I have also tried the other versions of jpeg that are available (7a for example, 7 is not available). Again, no luck.
I am building Zoneminder from source downloaded from the website.
J
Last edited by Jason_Bassett on Thu Aug 19, 2010 10:49 am, edited 1 time in total.
Re: Still causing issue
Did you try running "revdep-rebuild"? I suspect that the issue is that theJason_Bassett wrote:Hello
I have the same issue with Zoneminder 1.24.2 not compiling on Gentoo and showing this error.
I have downgraded jpeg to jpeg-8a (which is the same as on my other Zoneminder box that I built recently and is working). On this box it has made no difference, I have also tried the other versions of jpeg that are available (7a for example, 7 is not available). Again, no luck.
I am building Zoneminder from source downloaded from the website.
J
/usr/include/jpeglib.h include file is the wrong version. In most cases running "revdep-rebuild" will correct the problem. If that doesn't work, try removing the jpeg-package (if you can and it does try to remove a large number of installed pkgs), then re-install. Before re-installing make sure the /usr/include/jpeglib.h has be uninstalled.
-
- Posts: 42
- Joined: Wed Mar 05, 2008 10:33 pm
- Location: Stanford-Le-Hope, Thurrock, Essex
revdep-bebuild
Hello
Running revdep-rebuild did not fix the issue. But I did come across this patch in another posting on the forum, applying this patch has allowed me to build Zoneminder:
http://cvs.pld-linux.org/cgi-bin/cvsweb ... ch?rev=1.1
Running revdep-rebuild did not fix the issue. But I did come across this patch in another posting on the forum, applying this patch has allowed me to build Zoneminder:
http://cvs.pld-linux.org/cgi-bin/cvsweb ... ch?rev=1.1