install problem - 'nothing provides perl-PHP-Serialization'

Forum for questions and support relating to the 1.24.x releases only.
Post Reply
indieee
Posts: 5
Joined: Sun May 22, 2011 1:45 am

install problem - 'nothing provides perl-PHP-Serialization'

Post by indieee » Sun May 22, 2011 5:33 am

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

User avatar
zoneminder
Site Admin
Posts: 5220
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: install problem - 'nothing provides perl-PHP-Serializati

Post by zoneminder » Sun May 22, 2011 7:13 pm

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.
Phil

User avatar
zoneminder
Site Admin
Posts: 5220
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: install problem - 'nothing provides perl-PHP-Serializati

Post by zoneminder » Sun May 22, 2011 9:48 pm

By the way, I am planning to ditch that module in favour of a JSON format if possible ASAP.
Phil

indieee
Posts: 5
Joined: Sun May 22, 2011 1:45 am

Re: install problem - 'nothing provides perl-PHP-Serializati

Post by indieee » Sun May 22, 2011 11:03 pm

Thanks for your reply, Phil.

Where should I typically find the config.log file?

User avatar
zoneminder
Site Admin
Posts: 5220
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: install problem - 'nothing provides perl-PHP-Serializati

Post by zoneminder » Mon May 23, 2011 7:45 am

It will be in your build directory, where you ran configure from.
Phil

indieee
Posts: 5
Joined: Sun May 22, 2011 1:45 am

Re: install problem - 'nothing provides perl-PHP-Serializati

Post by indieee » Mon May 23, 2011 11:21 am

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)

User avatar
zoneminder
Site Admin
Posts: 5220
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: install problem - 'nothing provides perl-PHP-Serializati

Post by zoneminder » Mon May 23, 2011 3:54 pm

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.
Phil

indieee
Posts: 5
Joined: Sun May 22, 2011 1:45 am

Re: install problem - 'nothing provides perl-PHP-Serializati

Post by indieee » Wed May 25, 2011 11:37 am

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.

John Bowling
Posts: 15
Joined: Mon May 21, 2007 3:08 pm

Re: install problem - 'nothing provides perl-PHP-Serializati

Post by John Bowling » Fri Jun 10, 2011 1:05 am

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?

User avatar
monex
Posts: 169
Joined: Mon Jan 22, 2007 1:10 pm

Re: install problem - 'nothing provides perl-PHP-Serializati

Post by monex » Sat Jun 11, 2011 4:40 pm

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
Image

User avatar
monex
Posts: 169
Joined: Mon Jan 22, 2007 1:10 pm

Re: install problem - 'nothing provides perl-PHP-Serializati

Post by monex » Sat Jun 11, 2011 4:41 pm

Just to mention: the Version for 11.3 also requires the perl OBS repository.
Image

User avatar
monex
Posts: 169
Joined: Mon Jan 22, 2007 1:10 pm

Re: install problem - 'nothing provides perl-PHP-Serializati

Post by monex » Sat Jun 11, 2011 4:58 pm

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
Image

John Bowling
Posts: 15
Joined: Mon May 21, 2007 3:08 pm

Re: install problem - 'nothing provides perl-PHP-Serializati

Post by John Bowling » Sat Jun 11, 2011 6:01 pm

Thanks
I will try that out
John

indieee
Posts: 5
Joined: Sun May 22, 2011 1:45 am

Re: install problem - 'nothing provides perl-PHP-Serializati

Post by indieee » Mon Jun 13, 2011 12:02 pm

Thanks John.

Using OpenSuse 11.4 and that repository for PHP Serialization everything installed and is working fine now.

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests