I went through this on XP a number of months ago, and just today on Windows 7. With XP, this is what I had to do:
- Installed ActivePerl 5.10.x (could not get it working with 5.8.x) - Used Perl Package Manager (PPM) to install Time-Format package (to get Date::Format) - I think XMLSimple and DateParse were already there, I don't recall. Should be available through PPM if not. - Tk doesn't come pre-installed with AP5.10, so I had to install that package. To do THAT, using the Perl Package Manager, I had to enable an additional repository (http://www.bribes.org/perl/ppm), and then TK was available as a package in PPM to install.
Now today, under Windows 7 64-bit, I had an easier time of it (maybe the ActivePerl package has been updated since I did it months back). I installed ActivePerl as above, but all the packages I needed to add were available by default (I didn't have to add other repositories).
I did have to add these packages (maybe only one of the Time* packages was needed, but I put them both on, no harm in doing so): Tk TimeDate Time-Format
Once those were added, I downloaded the latest yal.pl and hgdata.xml (from that github link above), and it ran with no problem.
If you don't have any luck with that route, I can try to compile the .pl into an .exe and send that to you.
Post by MurphysLawAgain on Jan 10, 2010 14:37:36 GMT
Dirk, there are a number of people who would appreciate the .exe file if you can compile it. I could get the 30 day version working (from ActivePerl) but not the freeware options. I also installed ActivePerl and the packages to get a current version working but a "just works" exe version would be preferable. I am sure that we can host it somewhere if you can produce it.
I just followed dirk instructions and was able to get it running for the first time since the new updates started. Here are the exact details of the installed packages.
Using free, ActivePerl version 126.96.36.1996 PPM version 4.06
Edit –> Preferences -> Repositories -> add the Bribes repository, should be in the list automatically.
Add Time-Format Time-Format_XS (prob not needed, but might make it run faster) TimeDate – released 2009-12-12 TK – Author Slaven Rezic – released 2007-12-18 XML-Simple (version 2.18) DateTime-Format-DateParse (version 0.04, also installs 3 requisite packages)
The yal.pl and hgdata.xml both need to be in the same directory, with the log files.
Let me know if you are not able to get it working.
I've followed your instructions gand, but getting an error on line 8 .. Unterminated <> operator. I'm using the version linked by dirk a few posts up. I attempted to fix it and ended up with page after page of errors. Bright side is that now the old perl version I have is now working which means I can play around with the HTML output, which is actually the only thing I personally think needs tweaking.
Storm - I think I figured out the problem you had. I saw the same issue, but then looked at the .pl and .xml files that I had downloaded from dirk's site. I must have downloaded them incorrectly, because they were not what should have been there. I had right-clicked the links to the files, and used "Save As...".
This time, I clicked them, then clicked "Raw", highlighted the whole thing, copied it, created a file on my drive by the same name, and pasted the contents in there, and saved it. I did this for both files. It now works perfectly, after adding the 3 libraries I didn't have from the original YAL.
just gave compiling this a go, and i keep getting this out of the compiler no matter what i try: C:\Users\Tim\Documents\Downloads\perl2exe>perl2exe yal.pl Perl2Exe V9.110 Copyright (c) 1997-2009 IndigoSTAR Software
This is an evaluation version of Perl2Exe, which may be used for 30 days. For more information see the attached pxman.htm file, or visit http://www.indigostar.com
Converting 'yal.pl' to yal.exe
C:\Users\Tim\Documents\Downloads\perl2exe>yal.exe Undefined subroutine &Encode::FB_QUIET called at PERL2EXE_STORAGE/Tk.pm line 23.
Compilation failed in require at C:\Users\Tim\Documents\Downloads\perl2exe\yal.exe line 29. BEGIN failed--compilation aborted at C:\Users\Tim\Documents\Downloads\perl2exe\yal.exe line 29.