Compile error ZM 1.23.3 on Ubuntu Gutsy

Support and queries relating to all previous versions of ZoneMinder
Locked
Plunk
Posts: 19
Joined: Thu Nov 08, 2007 8:56 pm

Compile error ZM 1.23.3 on Ubuntu Gutsy

Post by Plunk »

I am using the default ffmpeg for ubuntu. I was working with 1.22.3. I had been using the .deb, but since that never gets updated, I am attempting to install via source after removing the old ZM. I have installed from source on hardy heron and edgy eft. Thanks in advance.

./configure --with-webdir=/usr/share/zoneminder --with-cgidir=/usr/lib/cgi-bin --with-webuser=www-data ZM_DB_USER=administrator ZM_DB_PASS=omitted

Code: Select all

make  all-recursive
make[1]: Entering directory `/usr/local/src/ZoneMinder-1.23.3'
Making all in src
make[2]: Entering directory `/usr/local/src/ZoneMinder-1.23.3/src'
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare   -g -O2 -MT zm_mpeg.o -MD -MP -MF .deps/zm_mpeg.Tpo -c -o zm_mpeg.o zm_mpeg.cpp
zm_mpeg.cpp: In destructor ‘VideoStream::~VideoStream()’:
zm_mpeg.cpp:281: error: cannot convert ‘ByteIOContext’ to ‘ByteIOContext*’ for argument ‘1’ to ‘int url_fclose(ByteIOContext*)’
make[2]: *** [zm_mpeg.o] Error 1
make[2]: Leaving directory `/usr/local/src/ZoneMinder-1.23.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/ZoneMinder-1.23.3'
make: *** [all] Error 2
coke
Posts: 518
Joined: Wed Jan 30, 2008 5:53 pm
Location: St. Louis, MO, USA

Post by coke »

I'm going to start compiling from source myself, just for my own edification soon, but for the record, there's already a 1.23.3-1 deb from peter, which I've used successfully.
Plunk
Posts: 19
Joined: Thu Nov 08, 2007 8:56 pm

Post by Plunk »

I'll probably just use that, until I can just do a clean install on this machine. It has been messed with willy-nilly because it isn't a high priorty camera box. The machine is also a fax server. Heh.
Locked