Here is the configure command:
./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-webuser=apache --with-webgroup=apache ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zmuser ZM_DB_PASS=zmpass --with-extralibs="-L/usr -L/usr/lib64/mysql" ZM_SSL_LIB=openssl --with-ffmpeg=/usr/bin --with-libarch=lib64
And here is the make output:
make all-recursive
make[1]: Entering directory `/home/mcouture/Downloads/ZoneMinder-1.25.0'
Making all in src
make[2]: Entering directory `/home/mcouture/Downloads/ZoneMinder-1.25.0/src'
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/bin/include -Wall -Wno-sign-compare -fno-inline -I/usr/bin/include -g -O2 -MT zmc.o -MD -MP -MF .deps/zmc.Tpo -c -o zmc.o zmc.cpp
In file included from zm_stream.h:27:0,
from zm_event.h:39,
from zm_zone.h:27,
from zm_monitor.h:26,
from zmc.cpp:28:
zm_mpeg.h:43:7: error: use of enum ‘PixelFormat’ without previous declaration
zm_mpeg.h:44:2: error: ‘AVOutputFormat’ does not name a type
zm_mpeg.h:45:2: error: ‘AVFormatContext’ does not name a type
zm_mpeg.h:46:2: error: ‘AVStream’ does not name a type
zm_mpeg.h:47:2: error: ‘AVFrame’ does not name a type
zm_mpeg.h:48:2: error: ‘AVFrame’ does not name a type
make[2]: *** [zmc.o] Error 1
make[2]: Leaving directory `/home/mcouture/Downloads/ZoneMinder-1.25.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mcouture/Downloads/ZoneMinder-1.25.0'
make: *** [all] Error 2
Fedora 14 trouble making
-
- Posts: 9
- Joined: Sun Sep 11, 2011 3:13 pm
Re: Fedora 14 trouble making
Same problem with fedora 15. Tried compiling 1.24 as well. Similiar issue.
Re: Fedora 14 trouble making
I've installed Fedora 15 and the latest FFMPEG and Zoneminder 1.25.0 built fine.
I'm running but there are a few ZM quirks. The disk space in ZM reports a "-1". Also I have EyeZM and I can only view live feeds - it reports that it cannot find the recorded events.
I'm running but there are a few ZM quirks. The disk space in ZM reports a "-1". Also I have EyeZM and I can only view live feeds - it reports that it cannot find the recorded events.
Re: Fedora 14 trouble making
I had the same problem so removed the 0.6.3 versions of ffmpeg, ffmpeg-devel, ffmpeg-libs via yum and then compiled 0.8.4 ffmpeg from source. After that I was able to
./configure --with-ffmpeg=/usr/local/share/ffmpeg CPPFLAGS="-D__STDC_CONSTANT_MACROS"
and the make completed cleanly
./configure --with-ffmpeg=/usr/local/share/ffmpeg CPPFLAGS="-D__STDC_CONSTANT_MACROS"
and the make completed cleanly
-
- Posts: 2
- Joined: Sat Jun 25, 2011 9:23 pm
Re: Fedora 14 trouble making
Hi mcouture;
if you were kind enough to tell me how it was that you built the latest version of 'ZoneMinder' in Fedora 15
best regards,
if you were kind enough to tell me how it was that you built the latest version of 'ZoneMinder' in Fedora 15
best regards,
Re: Fedora 14 trouble making
Fkinnnn hell WHO WROTE this crappp. like every build 1.24 till 1.25 i download try to compile ends up in some compile error. Does dev at Zoneminder dont debug their code !!!! Common mannnn this shit took about 3 days of my time !!!!! and STILL not running. I also have the same error as above on a ubuntu server install Sorry for my tempere but this is bullshit is fkin pissing me off.
my steps this time sofar
( all done as root)
1) wget yourURL/downloads/ZoneMinder-1.25.0.tar.gz
2) tar xvfz ZoneMinder-1.25.0.tar.gz
3) ./configure --with-webdir=/var/vhost/thuis.kools.nu/camserver --with-cgidir=/usr/lib/cgi-bin/ --with-webuser=www-data --with-webgroup=www-data --enable-mmap=no ZM_DB_USER=zm ZM_DB_NAME=zm ZM_DB_PASS=Somefkinpassword ZM_SSL_LIB=openssl
( the firstime id gave the error and said i needed to set enable-mmap to no)
it now runs through the configure , Ok lets do a make
it comes out with this error
make[1]: Map '/root/ZoneMinder-1.25.0/src' wordt binnengegaan
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr /include -g -O2 -MT zmc.o -MD -MP -MF .deps/zmc.Tpo -c -o zmc.o zmc.cpp
In file included from zm_stream.h:27:0,
from zm_event.h:39,
from zm_zone.h:27,
from zm_monitor.h:26,
from zmc.cpp:28:
zm_mpeg.h:43:7: error: use of enum âPixelFormatâ without previous declaration
zm_mpeg.h:44:2: error: âAVOutputFormatâ does not name a type
zm_mpeg.h:45:2: error: âAVFormatContextâ does not name a type
zm_mpeg.h:46:2: error: âAVStreamâ does not name a type
zm_mpeg.h:47:2: error: âAVFrameâ does not name a type
zm_mpeg.h:48:2: error: âAVFrameâ does not name a type
make[1]: *** [zmc.o] Fout 1
make[1]: Map '/root/ZoneMinder-1.25.0/src' wordt verlaten
make: *** [install-recursive] Fout 1
when i i look at the file/lines in question (zm_mpeg.h) , i see this at the error lines
protected:
const char *filename;
const char *format;
enum PixelFormat pf;
AVOutputFormat *of;
AVFormatContext *ofc;
AVStream *ost;
AVFrame *opicture;
AVFrame *tmp_opicture;
uint8_t *video_outbuf;
int video_outbuf_size;
double pts;
Dit someone forgot to say what type of variables these are ??? can someone look at this part of the code and say whats wrong with it i aint a developer ?? or am i using not all make options i should be ??
my steps this time sofar
( all done as root)
1) wget yourURL/downloads/ZoneMinder-1.25.0.tar.gz
2) tar xvfz ZoneMinder-1.25.0.tar.gz
3) ./configure --with-webdir=/var/vhost/thuis.kools.nu/camserver --with-cgidir=/usr/lib/cgi-bin/ --with-webuser=www-data --with-webgroup=www-data --enable-mmap=no ZM_DB_USER=zm ZM_DB_NAME=zm ZM_DB_PASS=Somefkinpassword ZM_SSL_LIB=openssl
( the firstime id gave the error and said i needed to set enable-mmap to no)
it now runs through the configure , Ok lets do a make
it comes out with this error
make[1]: Map '/root/ZoneMinder-1.25.0/src' wordt binnengegaan
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr /include -g -O2 -MT zmc.o -MD -MP -MF .deps/zmc.Tpo -c -o zmc.o zmc.cpp
In file included from zm_stream.h:27:0,
from zm_event.h:39,
from zm_zone.h:27,
from zm_monitor.h:26,
from zmc.cpp:28:
zm_mpeg.h:43:7: error: use of enum âPixelFormatâ without previous declaration
zm_mpeg.h:44:2: error: âAVOutputFormatâ does not name a type
zm_mpeg.h:45:2: error: âAVFormatContextâ does not name a type
zm_mpeg.h:46:2: error: âAVStreamâ does not name a type
zm_mpeg.h:47:2: error: âAVFrameâ does not name a type
zm_mpeg.h:48:2: error: âAVFrameâ does not name a type
make[1]: *** [zmc.o] Fout 1
make[1]: Map '/root/ZoneMinder-1.25.0/src' wordt verlaten
make: *** [install-recursive] Fout 1
when i i look at the file/lines in question (zm_mpeg.h) , i see this at the error lines
protected:
const char *filename;
const char *format;
enum PixelFormat pf;
AVOutputFormat *of;
AVFormatContext *ofc;
AVStream *ost;
AVFrame *opicture;
AVFrame *tmp_opicture;
uint8_t *video_outbuf;
int video_outbuf_size;
double pts;
Dit someone forgot to say what type of variables these are ??? can someone look at this part of the code and say whats wrong with it i aint a developer ?? or am i using not all make options i should be ??