Configure error

Support and queries relating to all previous versions of ZoneMinder
Locked
mikesjays
Posts: 17
Joined: Thu Dec 21, 2006 11:36 am

Configure error

Post by mikesjays »

When I try to configure 1.23.2 I get this error and I'm not sure what it is looking for.

"configure: error: zm requires PHP::Serialization"

This is on a fedora 8 box.

Here the configure options I'm using
./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/wwwcgi-bin ZM_DB_HOST=loclhost ZM_DB_NAME=video ZM_DB_USER=video ZM_DB_PASS=MyPAssWordHere ZM_SSL_LIB=openssl CFLAGS="-g -O3 -march=pentium4" CXXFLAGS="-g -O3 -march=pentium4"
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

You need to install the Perl php serialization module from most likely the Fedora extras repo.
Otherwise you will have to use CPAN.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

It is possible that that module is not available via yum in which case you will have to do it manually. Just type

Code: Select all

perl -MCPAN -eshell
If it is your first time it will ask if you want to configure it. Say 'y' if you want to answer a bunch of questions or 'n' (easier) to just accepts defaults. Then type

Code: Select all

install PHP::Serialization
and then when it has finished

Code: Select all

quit
to exit.
Phil
mikesjays
Posts: 17
Joined: Thu Dec 21, 2006 11:36 am

Post by mikesjays »

Hey thanks, I tried to install the RPM and it did not work. When I type the first line I get the complaint
"perl -MCPAN -eshell
Can't locate CPAN.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .).
BEGIN failed--compilation aborted."

Any idea what I'm missing in perl?


zoneminder wrote:It is possible that that module is not available via yum in which case you will have to do it manually. Just type

Code: Select all

perl -MCPAN -eshell
If it is your first time it will ask if you want to configure it. Say 'y' if you want to answer a bunch of questions or 'n' (easier) to just accepts defaults. Then type

Code: Select all

install PHP::Serialization
and then when it has finished

Code: Select all

quit
to exit.
mikesjays
Posts: 17
Joined: Thu Dec 21, 2006 11:36 am

Post by mikesjays »

Ok I got it. I have to install CPAN
Locked