Difference between revisions of "XMLTVexeBuild"
From XMLTV
(redoing instructions for xmltv.exe) |
|||
Line 1: | Line 1: | ||
− | |||
== How to build XMLTV.EXE == | == How to build XMLTV.EXE == | ||
− | + | Previously, xmltv.exe was built using Activestate's Perl Development Kit. (about $300). That has been discontinued, and I was able to build xmltv.exe using the free PAR::Packer module! | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
---- | ---- | ||
− | + | # Follow instructions in [XMLTVWindowsBuild] to get a working xmltv under windows. | |
− | + | # Install these modules | |
− | + | #: cpan Par::Packer | |
− | + | #: cpan App::PP::Autolink | |
− | + | # execute "gmake xmltv.exe" from your xmltv directory. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | That's it! | |
− | + | The first time XMLTV.EXE is executed, it will take a long time. For my XMLTV.EXE I add modified Par::Packer to add a warning | |
+ | # CPAN | ||
+ | # look Par::Packer | ||
+ | # edit myldr/boot.c | ||
+ | #: boot.c:188 | ||
+ | #: rc = my_mkdir(stmpdir, 0700); | ||
+ | #: // 2021-01-18 rmeden hack to print a message on first run | ||
+ | #: if ( rc == 0 ) fprintf(stderr,"Note: This will take a while on first run\n"); | ||
+ | #: // rmeden | ||
+ | #: if ( rc == -1 && errno != EEXIST) { | ||
+ | # perl Makefile.PL (PAR::Packer directory) | ||
+ | # gmake install | ||
+ | # now after build a new xmltv.exe it will print a warning on the first run. | ||
− | |||
− | |||
== Good Luck == | == Good Luck == |
Revision as of 19:37, 2 October 2021
How to build XMLTV.EXE
Previously, xmltv.exe was built using Activestate's Perl Development Kit. (about $300). That has been discontinued, and I was able to build xmltv.exe using the free PAR::Packer module!
- Follow instructions in [XMLTVWindowsBuild] to get a working xmltv under windows.
- Install these modules
- cpan Par::Packer
- cpan App::PP::Autolink
- execute "gmake xmltv.exe" from your xmltv directory.
That's it!
The first time XMLTV.EXE is executed, it will take a long time. For my XMLTV.EXE I add modified Par::Packer to add a warning
- CPAN
- look Par::Packer
- edit myldr/boot.c
- boot.c:188
- rc = my_mkdir(stmpdir, 0700);
- // 2021-01-18 rmeden hack to print a message on first run
- if ( rc == 0 ) fprintf(stderr,"Note: This will take a while on first run\n");
- // rmeden
- if ( rc == -1 && errno != EEXIST) {
- perl Makefile.PL (PAR::Packer directory)
- gmake install
- now after build a new xmltv.exe it will print a warning on the first run.