From: Gary S. <mhn...@dg...> - 2014-03-10 03:27:17
|
I should have dug a little deeper before hitting the "Send" key. With a few hours of Googling I was able to find a repository that had DB_File for ActiveState Perl 5.8. (Couldn't find any for later Perl versions though.) It installed with no difficulties, and MH no longer crashes when the phone rings. Gary Sanders On 3/9/2014 4:04 PM, Gary Sanders wrote: > I know this thread is about two years old, but I wonder if anything has > changed with respect to DB_File? > > My Windows 7 PC died a few days ago, which was running MH 2.105 with > Active State Perl 5.8. > > Luckily, I back up everything daily with Windows Home Server 2011, so I > retrieved the MH related directories and restored them to a new Win7 > box. The old box is toast. > > I had a saved a copy of Active State Perl 5.8, and installed that. > > I reinstalled all the required Perl modules I could, but of course > DB_File is unobtanium. > > Everything on MH runs well, except for the win32 registry module related > stuff (which doesn't seem to hurt anything - the old machine had that > same problem), and one other problem that kind of ruins my day - every > time the phone rings in the house, MH crashes! > > This is caused by the caller ID being dependent on DB_File. > > So, a couple of questions: > > 1) Is there still no availability of DB_File for Active State Perl? I > couldn't find it. > > 2) Is compiling it myself still the only option? I saw the referenced > method Michael used while updating to Perl 5.12, but frankly, it sounds > above my skill set. While reading it, I was completely thrown by the > reference to applying a patch, and the diff file, which is well beyond me. > > 3) As I mentioned earlier, I have a complete file-by-file backup of the > old PC. Is there any way I could retrieve the necessary files from it to > get DB_File to work on the new machine? I know - long shot. > > Any help or advice would be most welcome, > > Gary Sanders > > > On 3/5/2012 12:27 AM, Michael Stovenour wrote: >> Greg, >> >> These look like some of the same issues I had running under Perl 5.12: >> http://misterhouse.wikispaces.com/WindowsPerl5.12 >> >> For DB_File I’m afraid you will need to compile it yourself. That’s an >> awful thing to ask of non-developers, but DB_File has been hijacked by >> commercial interests and can no longer be distributed by the regular >> package repositories. I have instructions above that might work for >> Perl 5.8. You can probably ignore this one unless you enable a module >> that actually tries to use it. In that case you will get more errors so >> the issue will be obvious. >> >> I see that you are using Perl 5.8. I recently moved Win32::Registry >> from the site library folder to version specific folders. It looks like >> the versions distributed with MH are too old; it might be as easy as >> deleting those files from the lib/site_win58 directory and including >> them from your Perl repository. In that case Perl will look in your >> Perl distribution for the files. I’ll try to help fix these if you can >> answer a couple of questions for me: >> >> 1)How did you install Misterhouse?with >> >> 2)What does perl -v report? >> >> 3)What is the output if you open a command prompt and run the following >> command? >> >> perl -e "use Win32::Registry; print $Win32::Registry::VERSION" >> >> I would try this myself but I don’t have a way to install a clean Perl >> 5.8 on Windows since ActiveState doesn’t support it any more. >> >> Sincerely, >> Michael >> >> *From:*Greg Doyle [mailto:as4...@gm...] >> *Sent:* Saturday, March 03, 2012 8:32 PM >> *To:* mis...@li... >> *Subject:* [mh] errors when loading MH >> >> Hello, >> >> I've had mister house running in the most basic way for a while, just >> having the chimes and appointment notifications playing on a speaker. >> Now I want to set up some home automation for real. >> >> I have had some errors that have always come up during start up, as seen >> in the log below. I've tried to understand what's going wrong and how >> to repair it but have not had any luck. >> >> I would greatly appreciate any help you can give me. >> >> Thanks! >> >> Greg Doyle >> >> >> * >> Error in loading module=Win32::Registry: >> Win32::Registry object version 0.10 does not match >> $Win32::Registry::VERSION 0.07 at C:/Perl/lib/DynaLoader.pm line 225*. >> Compilation failed in require at (eval 31) line 2. >> BEGIN failed--compilation aborted at (eval 31) line 2. >> >> - See install.html for instructions on how to install perl module >> Win32::Registry >> >> >> *Error in loading module=Win32::Setupsup: >> Attempt to reload Win32/Registry.pm aborted.* >> Compilation failed in require at >> C:\misterhouse\mh\bin/../lib/site_win58/Win32/Setupsup.pm line 29. >> BEGIN failed--compilation aborted at >> C:\misterhouse\mh\bin/../lib/site_win58/Win32/Setupsup.pm line 29. >> Compilation failed in require at (eval 32) line 2. >> BEGIN failed--compilation aborted at (eval 32) line 2. >> >> Loading Tk modules Version 804.028 >> Loading other modules >> Starting setup >> - using simple Text distance function >> >> *Error in loading module=DB_File:* >> Can't locate DB_File.pm in @INC (@INC contains: ./../code/test >> ./../code/common C:\misterhouse\mh\bin/../lib >> C:\misterhouse\mh\bin/../lib/site . C:/Perl/site/lib C:/Perl/lib . >> C:\misterhouse\mh\bin/../lib/site_win58) at (eval 102) line 2. >> >> BEGIN failed--compilation aborted at (eval 102) line 2. >> >> - See install.html for instructions on how to install perl module DB_File --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com |