can't compile on FreeBSD 9.2

Forum for questions and support relating to the 1.27.x releases only.
Locked
satx
Posts: 2
Joined: Tue Jul 22, 2014 2:58 am

can't compile on FreeBSD 9.2

Post by satx »

In FreeBSD, the maintainer dropped the zm port at version 1.25, which won't install (see that forum)

so trying to compile zm 1.27 from source

FreeBSD 9.2

cmake .

CMake Warning (dev) at CMakeLists.txt:386 (message):
Video 4 Linux headers weren't found - Analog and USB camera support will not be available
This warning is for project developers. Use -Wno-dev to suppress it.

-- Detected web server user: www
-- Using web user: www
-- Using web group: www
-- Using mootools core file: mootools-core-1.3.2-yc.js
-- Using mootools more file: mootools-more-1.3.2.1-yc.js
-- Optional libraries found: zlib cURL OpenSSL PCRE
-- Optional libraries not found: GCrypt GnuTLS AVFormat AVCodec AVDevice AVUtil SWScale libVLC
-- Running ZoneMinder configuration generator
Generating 'src/zm_config_defines.h'
Updating 'db/zm_create.sql'
-- ZoneMinder configuration generator completed successfully
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/src/ZoneMinder-1.27.0

then:

make

Scanning dependencies of target zm
[ 2%] Building CXX object src/CMakeFiles/zm.dir/zm_box.cpp.o
[ 4%] Building CXX object src/CMakeFiles/zm.dir/zm_buffer.cpp.o
[ 6%] Building CXX object src/CMakeFiles/zm.dir/zm_camera.cpp.o
In file included from /usr/local/src/ZoneMinder-1.27.0/src/zm_image.h:32,
from /usr/local/src/ZoneMinder-1.27.0/src/zm_camera.h:26,
from /usr/local/src/ZoneMinder-1.27.0/src/zm_camera.cpp:21:
/usr/local/src/ZoneMinder-1.27.0/src/zm_mem_utils.h: In function 'void* zm_mallocaligned(unsigned int, size_t)':

... bunch of errors and compile finally quits

can't post more errors, "Your post looks too spamy for a new user, please remove off-site URLs."

thanks
Len
Locked