Page 1 of 1

Install on FreeBSD

Posted: Sun Dec 04, 2005 4:10 am
by blackhart
Is there anyone who has sucessfully installed ZM on FreeBSD. I have several systems I can test on if some one can give me a starting point.

Currently just down loading the application fails.

Output of configure is below.

root@dts-ws-2 /data/work/zm/zm-1.21.4$ ./configure --with-webdir=/usr/local/etc/www/ --with-cgidir=/usr/local/www/cgi-bin/ --with-mysql=/var/db/mysql --with-webuser=www --with-webgroup=www --exec-prefix=/usr/local
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
configure: WARNING: You can call configure with the --with-ffmpeg option.
This tells configure where to find the ffmpeg root directory within which are the libavcodec
and libavformat files that can be used to build true MPEG streaming into ZoneMinder. Ensure that
your copy of ffmpeg has installed libraries as well as binaries (use 'make installlib'). If you
are using a local install of ffmpeg you may have to remove or rename a previous real installation
as the headers and libraries from that will probably be picked up before your local copy.
e.g. --with-ffmpeg=/usr/local
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 gcc... 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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking how to run the C preprocessor... 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... g++ -E
checking pcre/pcre.h usability... no
checking pcre/pcre.h presence... no
checking for pcre/pcre.h... no
checking pcre.h usability... no
checking pcre.h presence... no
checking for pcre.h... no
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... no
configure: error: zm requires libjpeg.a


file libjpeg.a does exist in /usr/local/lib

Any help is REALLY apreciated.

Posted: Sun Dec 04, 2005 4:17 am
by blackhart
Also, as you can see I do have a c++ compiler installed.

Re: Install on FreeBSD

Posted: Sun Dec 04, 2005 4:50 am
by olywa
blackhart wrote:Is there anyone who has sucessfully installed ZM on FreeBSD. I have several systems I can test on if some one can give me a starting point.
I'm in the same boat as you. ;)

Posted: Sun Dec 04, 2005 7:42 am
by cordel
You need the development libraries for libjpeg. In RH packages it would be libjpeg-devel but I'm not sure what it would be for BSD.

Regards,
Cordel