configure: error: zm requires PHP::Serialization

Forum for questions and support relating to the 1.24.x releases only.
Locked
ksattic
Posts: 7
Joined: Mon Mar 24, 2008 2:17 pm

configure: error: zm requires PHP::Serialization

Post by ksattic »

Zoneminder really doesn't like Lucid.

I downloaded the latest version of ZM, ran ./configure, and was told:
configure: error: zm requires PHP::Serialization
I searched, and it told me to:
$ sudo perl -MCPAN -e shell
install PHP::Serialization
This gives the output:
CPAN: Storable loaded ok (v2.20)
CPAN: LWP::UserAgent loaded ok (v5.834)
CPAN: Time::HiRes loaded ok (v1.9719)
Fetching with LWP:
install PHP::Serialization/authors/01mailrc.txt.gz
LWP failed with code[400] message[URL must be absolute]
Warning: no success downloading '/home/simon2/.cpan/sources/authors/01mailrc.txt.gz.tmp24823'. Giving up on it. at /usr/share/perl/5.10/CPAN/Index.pm line 225
Warning: no success downloading '/home/simon2/.cpan/sources/authors/01mailrc.txt.gz.tmp24823'. Giving up on it. at /usr/share/perl/5.10/CPAN/Index.pm line 225

As a last resort we now switch to the external ftp command '/usr/bin/ftp'
to get '/home/simon2/.cpan/sources/authors/01mailrc.txt.gz.tmp24823'.

Doing so often leads to problems that are hard to diagnose.

If you're the victim of such problems, please consider unsetting the
ftp config variable with

o conf ftp ""
o conf commit

Client not fully configured, please proceed with configuring.

You have not configured a urllist and do not allow connections to the
internet to get a list of mirrors. If you wish to get a list of CPAN
mirrors to pick from, use this command

o conf init connect_to_internet_ok urllist

If you do not wish to get a list of mirrors and would prefer to set
your urllist manually, use just this command instead

o conf init urllist
At this point, I'm totally stuck. The "conf" commands it refers to are not recognised. I don't recall having to do this with Ubuntu 8.04. :(
Paranoid
Posts: 129
Joined: Thu Feb 05, 2009 10:40 pm

Post by Paranoid »

When running the CPAN conf commands you need the initial "o" so you should be typing "o conf init urllist" and not "conf init urllist".

If you need to use a proxy server to access the internet then you can use the following commands to set CPAN up to use a proxy server:

"o conf init http_proxy"
"o conf init proxy_pass"
"o conf init proxy_user"
Locked