Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Oct 2015 21:19:14 +0300
From:      Violet <violet@sm.msk.ru>
To:        Kurt Jaeger <lists@opsec.eu>
Cc:        ports@freebsd.org
Subject:   perl modules building error (was: Re: ZoneMinder /zmu dies on FreeBSD 10.2)
Message-ID:  <1083239992.20151001211914@sm.msk.ru>
In-Reply-To: <20151001123230.GE5560@home.opsec.eu>
References:  <74739526.20150929190146@sm.msk.ru> <20150929171241.GA5560@home.opsec.eu>  <285714120.20151001151842@sm.msk.ru> <20151001123230.GE5560@home.opsec.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Kurt,


Trying  to  change  the  library. Binaries appear to get linked.
Got an error building perl modules: that's an infinite cycle.

Please help. No idea where to look.

The current version is available at the same place,

http://sm.msk.ru/files/zoneminder128.tar.bz2

-rw-r--r--  1 root  wheel  23847 Oct  1 21:07 zoneminder128.tar.bz2
orc# md5 zoneminder128.tar.bz2
MD5 (zoneminder128.tar.bz2) = 56f9dbe94630058b3c9a2039d6e1d85b




[ 94%] Built target zmstreamer
/usr/local/bin/cmake -E cmake_echo_color --switch= --progress-dir=/usr/ports/multimedia/zoneminder/work/ZoneMinder-1.28.1/CMakeFiles --progress-num=56,57 "Built target zmu"
[ 98%] Built target zmu
/usr/local/bin/cmake -E cmake_echo_color --switch= --blue --bold --progress-dir=/usr/ports/multimedia/zoneminder/work/ZoneMinder-1.28.1/CMakeFiles --progress-num=51 "Building ZoneMinder perl modules"
[100%] Building ZoneMinder perl modules
Generating a Unix-style MakefilePerl
Writing MakefilePerl for ZoneMinder
Writing MYMETA.yml and MYMETA.json
/usr/local/bin/cmake -E cmake_echo_color --switch= --blue --bold --progress-dir=/usr/ports/multimedia/zoneminder/work/ZoneMinder-1.28.1/CMakeFiles --progress-num=51 "Building ZoneMinder perl modules"
[100%] Building ZoneMinder perl modules
Generating a Unix-style MakefilePerl
Writing MakefilePerl for ZoneMinder
Writing MYMETA.yml and MYMETA.json
/usr/local/bin/cmake -E cmake_echo_color --switch= --blue --bold --progress-dir=/usr/ports/multimedia/zoneminder/work/ZoneMinder-1.28.1/CMakeFiles --progress-num=51 "Building ZoneMinder perl modules"
[100%] Building ZoneMinder perl modules
Generating a Unix-style MakefilePerl
Writing MakefilePerl for ZoneMinder
Writing MYMETA.yml and MYMETA.json
/usr/local/bin/cmake -E cmake_echo_color --switch= --blue --bold --progress-dir=/usr/ports/multimedia/zoneminder/work/ZoneMinder-1.28.1/CMakeFiles --progress-num=51 "Building ZoneMinder perl modules"
[100%] Building ZoneMinder perl modules



And yes, the new `zmu' crashes just like the old one, looks I am doing
all correct.. ;)

orc# find . -name zmu
./work/ZoneMinder-1.28.1/src/zmu
orc# ./work/ZoneMinder-1.28.1/src/zmu
Segmentation fault (core dumped)
orc# gdb -c zmu.core ./work/ZoneMinder-1.28.1/src/zmu
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols found)...
Core was generated by `zmu'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libz.so.6...(no debugging symbols found)...done.

...


Loaded symbols for /libexec/ld-elf.so.1
#0  0x0000000000000000 in ?? ()
[New Thread 812c06400 (LWP 103135/<unknown>)]
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x000000080468b8c8 in ?? () from /usr/local/lib/gcc48/libstdc++.so.6
#2  0x00000008049371c0 in ?? () from /usr/local/lib/gcc48/libstdc++.so.6
#3  0x00007fffffffda20 in ?? ()
#4  0x0000000000000000 in ?? ()
(gdb)



You wrote on  2015-10-01, 15:32:30:

> Hi!

>> Looks like we need to update ffmpeg0 to some current version.

> It looks like there's a dependency on ffmpeg0, but we also have
> much newer ffmpeg's in the ports tree. So it's probably a
> question of getting zoneminder to use the newer versions.

>> Looked at it and did not understand - there really is v.0.7.17 in use
>> while the modern is 2.8 or I miss something?

> Yes. Because those multimedia libs are so complex, sometimes
> it's difficult to get a new release to integrate.

>> Please   point   me   to   a  right  source  and I will try to compile
>> those libraries.

> For ffmpeg, it's easy: multimedia/ffmpeg, which is already 2.8.1




-- 
Best regards,
 Violet                          mailto:violet@sm.msk.ru




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1083239992.20151001211914>