Page 1 of 1
Configure error
Posted: Wed Mar 19, 2008 12:38 am
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"
Posted: Wed Mar 19, 2008 6:00 am
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.
Posted: Wed Mar 19, 2008 10:20 pm
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
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
and then when it has finished
to exit.
Posted: Mon Mar 24, 2008 11:02 pm
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
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
and then when it has finished
to exit.
Posted: Tue Mar 25, 2008 12:10 am
by mikesjays
Ok I got it. I have to install CPAN