Page 1 of 1

ZoneMinder 1.2.x.x on Ubuntu Hoary

Posted: Tue Aug 23, 2005 2:38 am
by jfdill2
I'm installing ZoneMinder 1.21.3 on Ubuntu Hoary and thought I'd make notes of anything interesting for anyone else who tries it. So far, it's been pretty straightforward, but I thought I would mention

libcrypto.a is in the ssl-dev package

All of the other dependencies and prereqs have been in the main or Universe package repository.

I was getting compile errors like:

undefined reference to `ogg_stream_init' etc etc

Tried installing k3b to pull in the necessary libraries. But the problem seems to be with the ffmpeg from the Universe repository. So, I am rebuilding ffmpeg from CVS snapshot.

Also needed to remove libavformat-dev and libavcodec-dev to make sure the fresh ones from newly compiled ffmeg source were used instead.

Lastly, thou must addeth /usr/local/lib to thine /etc/ld.so.conf and then executeth ldconfig and then all shall be happy.

Thus was my configure command line--yours may be different, but this may give you some clues:

Code: Select all

./configure --with-mysql=/usr --with-ffmpeg=/usr/local/include/ffmpeg --with-webdir=/var/www/zm --with-cgidir=/var/www/zm/cgi-bin --with-webuser=www-data --with-webgroup=www-data
Command line for ffmpeg configure (corresponding -dev packages for the listed codecs were installed):

Code: Select all

./configure  --enable-libogg --enable-vorbis --enable-theora

Posted: Tue Aug 23, 2005 4:59 pm
by cordel
Thank you,
I'm sure this will help someone out.
Regards,
Cordel