How to install zm 1.24.1 from source on Ubuntu 8.10 - SOLVED
How to install zm 1.24.1 from source on Ubuntu 8.10 - SOLVED
see the much improved how to at the end of this thread kindly provided by jsylvia007
This also works for Ubuntu 9.04
http://www.zoneminder.com/wiki/index.ph ... ola-0.7%29
This also works for Ubuntu 9.04
http://www.zoneminder.com/wiki/index.ph ... ola-0.7%29
Last edited by timf on Mon Apr 20, 2009 1:23 am, edited 9 times in total.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
I followed this wiki.
To get it working in my ubuntu 8.10 i had to make this little changes:
1) After compiling FFMPEG i had to:
Then
3) Before configure zoneminder i had to edit zm/src/zm_rtsp.cpp at line 183 as follow (link: http://www.zoneminder.com/forums/viewto ... 9597#49597 )
Skumpic
To get it working in my ubuntu 8.10 i had to make this little changes:
1) After compiling FFMPEG i had to:
Then add:cd /etc/ld.so.conf.d
sudo gedit /etc/ld.so.conf.d/custom-libs.conf
and save./usr/local/lib
Then
2)sudo ldconfig
And add at the end of the file:gedit .bashrc
Save. Exit and reboot.LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
3) Before configure zoneminder i had to edit zm/src/zm_rtsp.cpp at line 183 as follow (link: http://www.zoneminder.com/forums/viewto ... 9597#49597 )
See youdiff -urN ZoneMinder-1.24.0.old//src/zm_rtsp.cpp ZoneMinder-1.24.0//src/zm_rtsp.cpp
--- ZoneMinder-1.24.0.old//src/zm_rtsp.cpp 2009-02-09 14:43:19.000000000 +0000
+++ ZoneMinder-1.24.0//src/zm_rtsp.cpp 2009-02-15 19:15:23.629245785 +0000
@@ -180,7 +180,7 @@
else
mUrl += '/'+mPath;
}
- mFormatContext = avformat_alloc_context();
+ mFormatContext = av_alloc_format_context();
mSsrc = rand();
Skumpic
Can you send me your spread sheet that computes that numbers?### These are my shared settings for 2GB of ram to support 6 color cameras at 640x480 and higher resolutions. I have a spread sheet which computes these numbers - seems to solve the problem. Edit and append to sysctl.conf as follows:
Thks
-
- Posts: 7
- Joined: Sat Jan 24, 2009 3:23 pm
Hi there,
I've been struggling with the zoneminder 1.24.1 installation on Ubuntu Desktop 8.10 for about 2 days now
I have done all of the above but when trying to start zm with
I do get the following error:
Any help would be greatly appreciated!
BTW: ffmpeg gives me the following
When building ffmpeg from the latest sources the option "--enable-swscale" did not work.
Is that a problem?
Thanks in advance!!!!
André
[/code]
I've been struggling with the zoneminder 1.24.1 installation on Ubuntu Desktop 8.10 for about 2 days now
I have done all of the above but when trying to start zm with
Code: Select all
sudo zmpkg.pl start
Code: Select all
/usr/local/bin/zmfix: symbol lookup error: /usr/local/lib/libavcodec.so.52: undefined symbol: av_gcd
Any help would be greatly appreciated!
BTW: ffmpeg gives me the following
Code: Select all
FFmpeg version SVN-r17861, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264 --enable-libxvid
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.21. 0 / 52.21. 0
libavformat 52.31. 1 / 52.31. 1
libavdevice 52. 1. 0 / 52. 1. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Mar 7 2009 10:19:50, gcc: 4.3.2
At least one output file must be specified
Is that a problem?
Thanks in advance!!!!
André
[/code]
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 7
- Joined: Sat Jan 24, 2009 3:23 pm
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 381
- Joined: Sat Jan 17, 2009 7:49 pm
- Location: Germany
-
- Posts: 116
- Joined: Wed Mar 11, 2009 8:32 pm
I'm able to configure and "make" perfectly fine...
When I try "make install" i get this:
This is a vanilla 8.10 install, following the above guide.
When I try "make install" i get this:
Code: Select all
Making install in src
make[1]: Entering directory `/root/zm/src'
make[2]: Entering directory `/root/zm'
make[2]: Leaving directory `/root/zm'
make[2]: Entering directory `/root/zm/src'
make[3]: Entering directory `/root/zm'
make[3]: Leaving directory `/root/zm'
test -z "/usr/local/bin" || @MKDIR_P@ "/usr/local/bin"
/bin/bash: @MKDIR_P@: command not found
make[2]: *** [install-binPROGRAMS] Error 127
make[2]: Leaving directory `/root/zm/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/root/zm/src'
make: *** [install-recursive] Error 1
an error
An error occurs during make
make[2]: *** [zmc] Error 1
make[2]: Leaving directory `/home/tristan/ffmpeg/zm/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tristan/ffmpeg/zm'
make: *** [all] Error 2
I will proceed and see if it compiles though
make[2]: *** [zmc] Error 1
make[2]: Leaving directory `/home/tristan/ffmpeg/zm/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tristan/ffmpeg/zm'
make: *** [all] Error 2
I will proceed and see if it compiles though
-
- Posts: 116
- Joined: Wed Mar 11, 2009 8:32 pm
@ Blazer - You were correct. that fixed my issues.
I'm in the process of redoing this from scratch, because the above steps do leave out some important things on a fresh ubuntu 8.10 server. The order is a little off as well...
But, wouldn't you know it... SVN.MPLAYERHQ.HU is offline, so i'm dead in the water until that comes back up. Grrr.
I'm in the process of redoing this from scratch, because the above steps do leave out some important things on a fresh ubuntu 8.10 server. The order is a little off as well...
But, wouldn't you know it... SVN.MPLAYERHQ.HU is offline, so i'm dead in the water until that comes back up. Grrr.
-
- Posts: 116
- Joined: Wed Mar 11, 2009 8:32 pm