zm-1.19.5-1.FC3.i386.rpm
zm-1.19.5-1.FC3.i386.rpm
I have made a RPM package for Fedora Core 3 (it is possible recompille for others rpm-based distributions). To download it is possible here zm-1.19.5-1.FC3.i386.rpm (zm-1.19.5-1.FC3.src.rpm), packages necessary for his operation can be downloaded here perl-MIME, etc. (binary), perl-MIME, etc. (source) and here http://heidelberg.freshrpms.net/ (ffmpeg, lame, etc.).
Before installation it is recommended to make backup copies of a database and other files ZoneMinder!
After installation edit a file /etc/zm.conf (all parameters should have nonblank values).
To start ZoneMinder it is possible command "service zm start".
If the database for ZoneMinder for you has not been created, you receive the message with sentence her to create with the help of a script from a package (it is required to enter username and password the user possessing the rights to creation DB and users in mysql). After that again give the command " service zm start ".
If the database has already been created, at each start zoneminder the version of zoneminder database is checked and if necessary is updated. This procedure is not checked up in all possible modes, therefore do not neglect creation of a backup copy of a database zoneminder (use mysqldump).
I hope to receive yours bugreports.
Before installation it is recommended to make backup copies of a database and other files ZoneMinder!
After installation edit a file /etc/zm.conf (all parameters should have nonblank values).
To start ZoneMinder it is possible command "service zm start".
If the database for ZoneMinder for you has not been created, you receive the message with sentence her to create with the help of a script from a package (it is required to enter username and password the user possessing the rights to creation DB and users in mysql). After that again give the command " service zm start ".
If the database has already been created, at each start zoneminder the version of zoneminder database is checked and if necessary is updated. This procedure is not checked up in all possible modes, therefore do not neglect creation of a backup copy of a database zoneminder (use mysqldump).
I hope to receive yours bugreports.
Good show. This is an important step forward for zm. Though I must say I am disapointed that I have not convinced the whole world to switch to Mandrake
I tried rebuilding on Mandrake 10.0 and got these errors:
...
+ cd zm-1.19.5
+ aclocal
+ automake
automake: configure.in: required file `./config.guess' not found
automake: configure.in: required file `./config.sub' not found
error: Bad exit status from /home/ross/rpm/tmp/rpm-tmp.9301 (%build)
Best regards and thanks,
Ross
I tried rebuilding on Mandrake 10.0 and got these errors:
...
+ cd zm-1.19.5
+ aclocal
+ automake
automake: configure.in: required file `./config.guess' not found
automake: configure.in: required file `./config.sub' not found
error: Bad exit status from /home/ross/rpm/tmp/rpm-tmp.9301 (%build)
Best regards and thanks,
Ross
I just tried rpm --rebuild zm-1.19.5-1.FC3.src.rpm.
Above was the errors returned. I could post the whole output if it would be helpful.
Usually that is all I need to do to rebuild a source rpm.
I'm not sure how I would use the sequence you suggest manually. Could you give me more details.
Thanks,
Ross
Above was the errors returned. I could post the whole output if it would be helpful.
Usually that is all I need to do to rebuild a source rpm.
I'm not sure how I would use the sequence you suggest manually. Could you give me more details.
Thanks,
Ross
Rather than wrestle with Mandrake 10.0 I switched to 10.1. Now --rebuild works without a hitch. I had to use --nodeps to install because on Mandrake apache2 provides webserver, apache, and apache2, but not httpd.
Following your instructions "service zm start" was successful (OK) and the zm database seems OK. However when going to http://localhost/zm I now get this error.
Warning: Compilation failed: missing terminating ] for character class at offset 31 in /usr/lib/zm/html/zm_config.php on line 34
Warning: Compilation failed: missing terminating ] for character class at offset 31 in /usr/lib/zm/html/zm_config.php on line 34
Warning: Compilation failed: missing terminating ] for character class at offset 31 in /usr/lib/zm/html/zm_config.php on line 34
Warning: Compilation failed: missing terminating ] for character class at offset 31 in /usr/lib/zm/html/zm_config.php on line 34
Warning: Compilation failed: missing terminating ] for character class at offset 31 in /usr/lib/zm/html/zm_config.php on line 34
Warning: Compilation failed: missing terminating ] for character class at offset 31 in /usr/lib/zm/html/zm_config.php on line 34
Warning: mysql_pconnect(): Unknown MySQL Server Host 'ZM_DB_SERVER' (1) in /usr/lib/zm/html/zm_db.php on line 21
Could not connect to database: Unknown MySQL Server Host 'ZM_DB_SERVER' (1)
It seems we are almost there. What should I try next?
Ross
Following your instructions "service zm start" was successful (OK) and the zm database seems OK. However when going to http://localhost/zm I now get this error.
Warning: Compilation failed: missing terminating ] for character class at offset 31 in /usr/lib/zm/html/zm_config.php on line 34
Warning: Compilation failed: missing terminating ] for character class at offset 31 in /usr/lib/zm/html/zm_config.php on line 34
Warning: Compilation failed: missing terminating ] for character class at offset 31 in /usr/lib/zm/html/zm_config.php on line 34
Warning: Compilation failed: missing terminating ] for character class at offset 31 in /usr/lib/zm/html/zm_config.php on line 34
Warning: Compilation failed: missing terminating ] for character class at offset 31 in /usr/lib/zm/html/zm_config.php on line 34
Warning: Compilation failed: missing terminating ] for character class at offset 31 in /usr/lib/zm/html/zm_config.php on line 34
Warning: mysql_pconnect(): Unknown MySQL Server Host 'ZM_DB_SERVER' (1) in /usr/lib/zm/html/zm_db.php on line 21
Could not connect to database: Unknown MySQL Server Host 'ZM_DB_SERVER' (1)
It seems we are almost there. What should I try next?
Ross
Sorry, in rpm the previous variant of a patch is by mistake placed.: (Has made zm-1.19.5-2. FC3.*.rpm, are accessible accordingly in the directories http://oskin.msk.ru/pub/linux/RedHat/My ... e/3/SRPMS/ and http://oskin.msk.ru/pub/linux/RedHat/My ... re/3/RPMS/.
For Mandrake it is possible in zm.spec string
Requires: mysql httpd php php-mysql pcre ffmpeg lame
to replace on
Requires: mysql apache2 php php-mysql pcre ffmpeg lame
For Mandrake it is possible in zm.spec string
Requires: mysql httpd php php-mysql pcre ffmpeg lame
to replace on
Requires: mysql apache2 php php-mysql pcre ffmpeg lame
Very good. Works like a charm now.
I have posted rpms rebuilt for Mandrake 10.1 for any who would like them.
http://www.elltel.net/melins/RPMS/zm-1. ... k.i586.rpm
http://www.elltel.net/melins/SRPMS/zm-1 ... dk.src.rpm
And thanks again Serg for this fine contribution.
Ross
I have posted rpms rebuilt for Mandrake 10.1 for any who would like them.
http://www.elltel.net/melins/RPMS/zm-1. ... k.i586.rpm
http://www.elltel.net/melins/SRPMS/zm-1 ... dk.src.rpm
And thanks again Serg for this fine contribution.
Ross
Hello thanks for your regular contributions and sorry for my poor English, I hope you will understand what I mean, though…
1) I also tried rebuilding on Mandrake 10.1 (fr) and got the same errors as rdmelin
root@vaz ross]# rpm --rebuild zm-1.19.5-2mdk.src.rpm
Installation de zm-1.19.5-2mdk.src.rpm
Exécution_de(%prep): /bin/sh -e /var/tmp/rpm-tmp.52932
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf zm-1.19.5
+ /usr/bin/gzip -dc /usr/src/RPM/SOURCES/zm-1.19.5.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd zm-1.19.5
+ echo 'Patch #1 (zm-1.19.5-config.1.patch):'
Patch #1 (zm-1.19.5-config.1.patch):
+ patch -p1 -b --suffix .config -s
+ echo 'Patch #2 (zm-1.19.5-init.patch):'
Patch #2 (zm-1.19.5-init.patch):
+ patch -p1 -b --suffix .init -s
+ exit 0
Exécution_de(%build): /bin/sh -e /var/tmp/rpm-tmp.52932
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd zm-1.19.5
+ aclocal
+ automake
automake: configure.in: required file `./config.guess' not found
automake: configure.in: required file `./config.sub' not found
erreur: Mauvais status de sortie pour /var/tmp/rpm-tmp.52932 (%build)
Could you help me how to deal with that problem ?
2) On the other hand, I’d like to change ZM_PATH_WEB="home/www/html/zm"
What can I do?
The best for me would be to start in /etc/zm.conf
Thanks
Ernesto
1) I also tried rebuilding on Mandrake 10.1 (fr) and got the same errors as rdmelin
root@vaz ross]# rpm --rebuild zm-1.19.5-2mdk.src.rpm
Installation de zm-1.19.5-2mdk.src.rpm
Exécution_de(%prep): /bin/sh -e /var/tmp/rpm-tmp.52932
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf zm-1.19.5
+ /usr/bin/gzip -dc /usr/src/RPM/SOURCES/zm-1.19.5.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd zm-1.19.5
+ echo 'Patch #1 (zm-1.19.5-config.1.patch):'
Patch #1 (zm-1.19.5-config.1.patch):
+ patch -p1 -b --suffix .config -s
+ echo 'Patch #2 (zm-1.19.5-init.patch):'
Patch #2 (zm-1.19.5-init.patch):
+ patch -p1 -b --suffix .init -s
+ exit 0
Exécution_de(%build): /bin/sh -e /var/tmp/rpm-tmp.52932
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd zm-1.19.5
+ aclocal
+ automake
automake: configure.in: required file `./config.guess' not found
automake: configure.in: required file `./config.sub' not found
erreur: Mauvais status de sortie pour /var/tmp/rpm-tmp.52932 (%build)
Could you help me how to deal with that problem ?
2) On the other hand, I’d like to change ZM_PATH_WEB="home/www/html/zm"
What can I do?
The best for me would be to start in /etc/zm.conf
Thanks
Ernesto
2) Contents of this directory are in /usr/lib/zm/html, during installation process create simlink to this directory: /var/www/html/zm->/usr/lib/zm/html (it is the standard for RedHat and FC). You can create this simlink in any other directory after installation, for this purpose it is not necessary to change value ZM_PATH_WEB. Change of the directory /usr/lib/zm/html will need change spec file.
rpm packages will be periodically updated and will be accessible in the directories http://oskin.ru/pub/linux/RedHat/MyRPMS ... e/3/SRPMS/ and http://oskin.ru/pub/linux/RedHat/MyRPMS ... re/3/RPMS/, search for them there by name zm-{version}-{release}.FC3.{platform}.rpm
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Hello,
I am looking for some input on what might be the best way to change a value in httpd.conf from the rpm install. I have a customized FC3 single cd (BTW Thankyou oskin for your contribution, I like it alot more than what I had going) with a zm.rpm and customized anaconda installer. I would like to leave the httpd.conf as is unless the zm package is selected. Any ideas?
547,1
# "/var/www/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/var/www/cgi-bin">
AllowOverride None
- Options None
+ Options FollowSymLinks
Order allow,deny
Allow from all
</Directory>
Thank you,
Cordel
I am looking for some input on what might be the best way to change a value in httpd.conf from the rpm install. I have a customized FC3 single cd (BTW Thankyou oskin for your contribution, I like it alot more than what I had going) with a zm.rpm and customized anaconda installer. I would like to leave the httpd.conf as is unless the zm package is selected. Any ideas?
547,1
# "/var/www/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/var/www/cgi-bin">
AllowOverride None
- Options None
+ Options FollowSymLinks
Order allow,deny
Allow from all
</Directory>
Thank you,
Cordel