Page 1 of 1
install problem - 'nothing provides perl-PHP-Serialization'
Posted: Sun May 22, 2011 5:33 am
by indieee
Hi, I'm trying to install ZM via RPM on a PC running OpenSuse 11.3 and getting this error.
From the searches I have done here, I then ran the following command:
perl -MCPAN -e 'install PHP::Serialization'
No errors have returned, and from YaST I can see the perl-php-Serialization Libraries are installed.
Still no go installing ZM, and I have tried the same on a box running 11.2 without any success. Weird thing is that I did install ZM on an identical box (same OS too) a couple of months ago and do not recall getting any errors like this.
I'm lost as to what I can check (any help appreciated) now as I have been trying to install ZM for a couple of weeks now :-9(
Cheers,
indieee
Re: install problem - 'nothing provides perl-PHP-Serializati
Posted: Sun May 22, 2011 7:13 pm
by zoneminder
I don't know a lot about OpenSUSE but it might be worth posting the section of config.log that fails looking for that module. It may give a clue.
Re: install problem - 'nothing provides perl-PHP-Serializati
Posted: Sun May 22, 2011 9:48 pm
by zoneminder
By the way, I am planning to ditch that module in favour of a JSON format if possible ASAP.
Re: install problem - 'nothing provides perl-PHP-Serializati
Posted: Sun May 22, 2011 11:03 pm
by indieee
Thanks for your reply, Phil.
Where should I typically find the config.log file?
Re: install problem - 'nothing provides perl-PHP-Serializati
Posted: Mon May 23, 2011 7:45 am
by zoneminder
It will be in your build directory, where you ran configure from.
Re: install problem - 'nothing provides perl-PHP-Serializati
Posted: Mon May 23, 2011 11:21 am
by indieee
Pls forgive my limited Linux knowledge in advance
,
But I haven't installed ZM that way. I have normally done it via instructions here:
http://www.zoneminder.com/wiki/index.ph ... s_for_SuSE
I have tried via YaST, YUM and command line RPM install and the messages indicate that perl-PHP-Serialization is a missing dependancy and is required by ZM - even though it is actually installed.
I have also try the required package listed in the
liquid-co.de repository (the forum is preventing me from listing another URL)
Re: install problem - 'nothing provides perl-PHP-Serializati
Posted: Mon May 23, 2011 3:54 pm
by zoneminder
Ah, ok. I don't know how the repositories are defined in that case. I am testing a version which doesn't have that dependency though.
With regard to posting links, that is just a temporary limitation. Once you have been a member for a certain amount of time (or posts) you can then post links.
Re: install problem - 'nothing provides perl-PHP-Serializati
Posted: Wed May 25, 2011 11:37 am
by indieee
Ok thanks for the info.
I'll try a couple of other things, as well as (another) fresh install of OpenSuse on the weekend, and will report back in case someone else has this same problem.
Re: install problem - 'nothing provides perl-PHP-Serializati
Posted: Fri Jun 10, 2011 1:05 am
by John Bowling
I did not have that problem using the repository with openSUSE 11.3.
I do have the problem with openSUSE 11.4. I tried downloading an RPM for RedHat and CentOS, the source version without distro specifics, and RPM would not handle it.
Also, the repo for 11.4 is not the latest ZoneMinder.
Looks like I have to abort the upgrade to 11.4 and reinstall 11.3.
Is there anyway of retaining camera setups and the database for events when both distro and ZM need updating?
Re: install problem - 'nothing provides perl-PHP-Serializati
Posted: Sat Jun 11, 2011 4:40 pm
by monex
Hi,
I forgot to mention that you need to the repository which provides perl-PHP-Serialization' look here:
http://software.opensuse.org/search?q=p ... debug=true
I recently changed this as I don't wanted to create the package myself
Sorry but I forgot to update the wiki page too about this change.
Hope this helps
Monex
Re: install problem - 'nothing provides perl-PHP-Serializati
Posted: Sat Jun 11, 2011 4:41 pm
by monex
Just to mention: the Version for 11.3 also requires the perl OBS repository.
Re: install problem - 'nothing provides perl-PHP-Serializati
Posted: Sat Jun 11, 2011 4:58 pm
by monex
John Bowling wrote:
Is there anyway of retaining camera setups and the database for events when both distro and ZM need updating?
If you don't want to loose your camera settings and the recorded events you have to make a backup of the events directory (/var/srv/www/htdocs/zm/events) the zoneminder database and the config located at /etc/zm.conf. The preferred way to make a database backup is mysqldump.
After distribution upgrade you you have to do the following steps:
- Install the RPM for the repository
- run zm_database_init to get the zm_admin user created.
- dump in mysql zm database backup
- copy events back to /var/srv/www/htdocs/zm/events
- copy the backed up zm.conf to /etc
- rerun zm_database_init (force the run with 'y') to update the database.
This should do the job.
Hope this helps
Monex
Re: install problem - 'nothing provides perl-PHP-Serializati
Posted: Sat Jun 11, 2011 6:01 pm
by John Bowling
Thanks
I will try that out
John
Re: install problem - 'nothing provides perl-PHP-Serializati
Posted: Mon Jun 13, 2011 12:02 pm
by indieee
Thanks John.
Using OpenSuse 11.4 and that repository for PHP Serialization everything installed and is working fine now.