Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jun 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    zoneminder perl environment

    have XAMPP - v 1.7.3a into lupu525 with the associated devx.sfs, and want to produce a perl environment for http://www.zoneminder.com/downloads/...-1.24.4.tar.gz

    these are the required perl modules:
    Code:
    checking for perl... perl
    checking for perl version greater than or equal to 5.6.0... ok
    checking for perl module Sys::Syslog... ok
    checking for perl module DBI... ok
    checking for perl module DBD::mysql... ok
    checking for perl module Getopt::Long... ok
    checking for perl module Time::HiRes... ok
    checking for perl module Date::Manip... ok
    checking for perl module LWP::UserAgent... ok
    checking for perl module Sys::Mmap... no
    the problem is getting all them to go in. is there some trick?
    am starting like this
    Code:
    perl -MCPAN -e shell
     install CPAN
      reload cpan
    then
    Code:
    install LWP::UserAgent
    etc then when getting to
    Code:
    install Bundle::DBD::mysql.
    it wont go in.

    if i do DBD::mysql first then .LWP::UserAgent or something else wont go in. is there an easier way .

    these are some of the fails from different attempts from scratch

    Code:
    at -e line 1
    make: *** [pure_site_install] Error 17
      GAAS/libwww-perl-6.02.tar.gz
      /usr/bin/make install  -- NOT OK
    Failed during this command:
     PMQS/IO-Compress-2.036.tar.gz                : install NO
     GAAS/HTTP-Message-6.02.tar.gz                : install NO
     GAAS/File-Listing-6.02.tar.gz                : install NO
     GAAS/Net-HTTP-6.01.tar.gz                    : install NO
     GAAS/HTTP-Cookies-6.00.tar.gz                : install NO
     GAAS/WWW-RobotRules-6.01.tar.gz              : install NO
     GAAS/libwww-perl-6.02.tar.gz                 : install NO
    
    cpan[2]>
    Code:
    ERROR: Can't create '/usr/local/share/perl/5.10.1/File'
    mkdir /usr/local/share/perl/5.10.1/File: File exists at /usr/share/perl/5.10/ExtUtils/Install.pm line 483
    Code:
     ./configure --with-webdir=/opt/lampp/htdocs/zm/ --with-cgidir=/opt/lampp/cgi-bin/ --with-mysql=/opt/lampp/lib/
     
    ..
    checking for perl... perl
    checking for perl version greater than or equal to 5.6.0... ok
    checking for perl module Sys::Syslog... ok
    checking for perl module DBI... ok
    checking for perl module DBD::mysql... ok
    checking for perl module Getopt::Long... ok
    checking for perl module Time::HiRes... ok
    checking for perl module Date::Manip... ok
    checking for perl module LWP::UserAgent... no
    configure: error: zm requires LWP::UserAgent
    
    #  perl -MCPAN -e 'install CPAN:: LWP::UserAgent'
    CPAN: Storable loaded ok (v2.20)
    Going to read '/root/.cpan/Metadata'
      Database was generated on Sun, 19 Jun 2011 09:27:09 GMT
    CPAN: Module::CoreList loaded ok (v2.18)
    CPAN is up to date (1.9600).
    LWP::UserAgent is up to date (6.02).
    #
    Last edited by stew.pid; 06-22-2011 at 03:12 PM.

  • #2
    New to the CF scene
    Join Date
    Jun 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    just to tell you that i am past this block.
    did these things but don't know if they were the solution or if a bad period of internet slowness was the cause.
    installed the latest sources from perl. make test of the new perl failed with 1 error. ignored it and proceeded. #perl -v still gives the original perl.
    now ready to make zoneminder. wish me luck.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •