Search found 678 matches

by mastertheknife
Thu Oct 10, 2013 10:26 am
Forum: ZoneMinder 1.26.x
Topic: Compile/Make Error 1.26.4 on Fedora 19 64-bit ffmpeg headers
Replies: 14
Views: 7395

Re: Compile/Make Error 1.26.4 on Fedora 19 64-bit ffmpeg hea

This is because CMAKE_REQUIRED_INCLUDES only affects the check, but you still need to use CMAKE_INCLUDE_PATH (try it as env and also as option) to add it to gcc's include path. This should work. This stuff is already fixed, using CMAKE_INCLUDE_PATH automatically sets CMAKE_REQUIRED_INCLUDES. Sadly i...
by mastertheknife
Thu Oct 10, 2013 2:06 am
Forum: ZoneMinder 1.26.x
Topic: After upgrade to 1.26.4, shared memory errors
Replies: 7
Views: 3487

Re: After upgrade to 1.26.4, shared memory errors

On my machine, adding -DENABLE_MMAP=yes solves the problem. Here is an already fixed cmake CMakeLists.txt file: https://raw.github.com/ZoneMinder/ZoneMinder/fcf969f5756f215b63332240fb92ac7694283fe1/CMakeLists.txt Just replace your CMakeLists.txt with this one, delete the cache (rm CMakeCache.txt) an...
by mastertheknife
Thu Oct 10, 2013 12:09 am
Forum: ZoneMinder 1.26.x
Topic: Zoneminder 1.26.4 - rotation of captured image broken
Replies: 9
Views: 4693

Re: Zoneminder 1.26.4 - rotation of captured image broken

Looks like i am the one to shoot for this. I did this 23 days ago while working on eliminating signed comparison warnings. It took many changes until the warnings were gone.
https://github.com/ZoneMinder/ZoneMinde ... 1854c5dd09
by mastertheknife
Wed Oct 09, 2013 10:46 pm
Forum: ZoneMinder 1.26.x
Topic: After upgrade to 1.26.4, shared memory errors
Replies: 7
Views: 3487

Re: After upgrade to 1.26.4, shared memory errors

There is a bug in the cmake method that doesn't enable mmap shared memory in the zoneminder perl modules. Not sure if everyone is affected, however it will be fixed in the next version but for now need to add this to the cmake command line:

Code: Select all

-DENABLE_MMAP=yes
by mastertheknife
Wed Oct 09, 2013 10:38 pm
Forum: ZoneMinder 1.26.x
Topic: Zoneminder 1.26.4 - rotation of captured image broken
Replies: 9
Views: 4693

Re: Zoneminder 1.26.4 - rotation of captured image broken

Don't even have to reinstall 1.26.4. Just need to point the addr2line command line from the screenshot at the zmc file from 1.26.4
by mastertheknife
Wed Oct 09, 2013 10:03 pm
Forum: ZoneMinder 1.26.x
Topic: Compile/Make Error 1.26.4 on Fedora 19 64-bit ffmpeg headers
Replies: 14
Views: 7395

Re: Compile/Make Error 1.26.4 on Fedora 19 64-bit ffmpeg hea

My bad, the 2nd option (CMAKE_REQUIRED_INCLUDES) is not an environment variable. Try using it as a cmake option instead (-DCMAKE_REQUIRED_INCLUDES="/usr/include/ffmpeg")
by mastertheknife
Wed Oct 09, 2013 9:43 pm
Forum: ZoneMinder 1.26.x
Topic: After upgrade to 1.26.4, shared memory errors
Replies: 7
Views: 3487

Re: After upgrade to 1.26.4, shared memory errors

Did you compile from source using cmake?
by mastertheknife
Wed Oct 09, 2013 9:40 pm
Forum: ZoneMinder 1.26.x
Topic: Compile/Make Error 1.26.4 on Fedora 19 64-bit ffmpeg headers
Replies: 14
Views: 7395

Re: Compile/Make Error 1.26.4 on Fedora 19 64-bit ffmpeg hea

It should have worked. Are you sure the path is like this one? /usr/include/ffmpeg/libavcodec/avcodec.h The autotools way still works in 1.26.4, you may want to try that instead. CMake found the ffmpeg libraries, but not the header files. CMakeFiles/CMakeError.log should contain some information why...
by mastertheknife
Wed Oct 09, 2013 9:08 pm
Forum: ZoneMinder 1.26.x
Topic: Zoneminder 1.26.4 - rotation of captured image broken
Replies: 9
Views: 4693

Re: Zoneminder 1.26.4 - rotation of captured image broken

There is a message in your log (shown in your screenshot) that says "backtrace complete, please run the following command for more information" Running the command on your machine will create output that includes the exact location in the code that causes the crash. This is essential for f...
by mastertheknife
Wed Oct 09, 2013 8:43 pm
Forum: ZoneMinder 1.26.x
Topic: Compile/Make Error 1.26.4 on Fedora 19 64-bit ffmpeg headers
Replies: 14
Views: 7395

Re: Compile/Make Error 1.26.4 on Fedora 19 64-bit ffmpeg hea

Hi, The CMAKE_INCLUDE_PATH is an environment variable, not a configuration option. This should work: export CMAKE_INCLUDE_PATH="/usr/include/ffmpeg" export CMAKE_REQUIRED_INCLUDES="/usr/include/ffmpeg" The 2nd export is required for the check to work. This will be fixed in the ne...
by mastertheknife
Wed Oct 09, 2013 7:06 pm
Forum: ZoneMinder 1.26.x
Topic: Zoneminder 1.26.4 - rotation of captured image broken
Replies: 9
Views: 4693

Re: Zoneminder 1.26.4 - rotation of captured image broken

Hi

Please paste the output of the addr2line command here.
by mastertheknife
Tue Oct 08, 2013 10:54 pm
Forum: ZoneMinder 1.26.x
Topic: Source Red, Can't open /dev/shm/zm...
Replies: 16
Views: 14552

Re: Source Red, Can't open /dev/shm/zm...

After some thinking, i think the issue is that the RPMs were compiled with a flag -msse2, so the compiler tries to use SSE2 for floating point operations but the processor doesn't support SSE2. This is something that can't be solved by turning off ZM_CPU_EXTENSIONS. Need to compile ZM without the -m...
by mastertheknife
Tue Oct 08, 2013 10:48 pm
Forum: ZoneMinder 1.26.x
Topic: Source Red, Can't open /dev/shm/zm...
Replies: 16
Views: 14552

Re: Source Red, Can't open /dev/shm/zm...

Try turning off ZM_CPU_EXTENSIONS and see if the illegal instruction issue goes away.

mastertheknife
by mastertheknife
Fri Sep 27, 2013 4:13 pm
Forum: ZoneMinder 1.26.x
Topic: Apache Setup After 1.26.3 Upgrade
Replies: 23
Views: 8899

Re: Apache Setup After 1.26.3 Upgrade

kbocek wrote:
knnniggett wrote:As long as you have compiled zoneminder against libjpeg-turbo
Nope. No libjpeg-turbo for CentOS 5. Only the older libjpeg. I searched around and it doesn't seem to be available. When I select 32-bit color, my cameras don't work so I assume that's tied to libjpeg-turbo, correct?
Correct.