Re: date time support for win32
Rick Measham wrote: I'm a windows no-nothing. But can't we 'make ppm' from the distros? If so, I can easily automate that. I'll set a script to download each modules that's uploaded and make ppm on each of them. However I'm betting it's not really that easy huh? It´s pretty straight forward, perl Makefile.PL nmake nmake test nmake ppd tar -cf DateTime-VERSION.tar blib gzip --best DateTime-Version.tar perl -pi.bak -e s|HREF=\\|HREF=\DateTime.tar.gz\| DateTime.ppd A better approach would probably be, PPM::Make. http://search.cpan.org/~rkobes/PPM-Make/ It seems that ActiveState is already tries to build ppm´s for the DateTime suit but fails on prerequisites. http://ppm.activestate.com/BuildStatus/5.8-D.html - Christian
RE: date time support for win32
On Fri, 30 Jan 2004, Hill, Ronald wrote: And for the modules that use module build we would need perl Makefile.pl perl build perl build test perl build dist perl build ppd This all works (now!!) I was having major problems creating the archive. It seems that Archive-tar-1.08 did the trick :) What about the versions of perl? 5.004, 5.6.1, 5.8.0, 5.8.3 ? But doesn't ActiveState already do this for a number of modules, for multiple Perl versions? Why isn't DateTime included? I think it had something to do with Params::Validate not compiling for them? I can't remember. -dave /*=== House Absolute Consulting www.houseabsolute.com ===*/
RE: date time support for win32
On Fri, 30 Jan 2004, Hill, Ronald wrote: I check the build results for the current perl version for DateTime failed building DateTime prerequisite DateTime-Locale aborting build of DateTime: failed prerequisites Checked results for DateTime-locale failed building DateTime-Locale prerequisite YAML aborting build of DateTime-Locale: failed prerequisites DT::Locale doesn't need YAML! WTF?! It includes a META.yml file, courtesy of Module::Build, but so do many other modules. I checked the Module::Build status and it is listed as fail. (no reason why) This may be the real problem. I also noticed that some of the modules in DateTime use module-build and others use the MakeMaker method. Which one should we use? Is there a standard? Well, I think Module::Build is definitely the way to go, but I don't want to force anyone to use it. I've used it for most of my modules on CPAN, with the exception of DateTime.pm and older ones I've not yet converted. I've been meaning to convert DateTime.pm as well, though I may wait til the XS compilation pieces of Module::Build are known to work on Win32. -dave /*=== House Absolute Consulting www.houseabsolute.com ===*/
RE: date time support for win32
Dave Rolsky wrote: On Fri, 30 Jan 2004, Hill, Ronald wrote: [snipped] This all works (now!!) I was having major problems creating the archive. It seems that Archive-tar-1.08 did the trick :) What about the versions of perl? 5.004, 5.6.1, 5.8.0, 5.8.3 ? But doesn't ActiveState already do this for a number of modules, for multiple Perl versions? Yes they do 5.6.0 and the current perl version Why isn't DateTime included? It is, and they all fail to build I think it had something to do with Params::Validate not compiling for them? I check the build results for the current perl version for DateTime failed building DateTime prerequisite DateTime-Locale aborting build of DateTime: failed prerequisites Checked results for DateTime-locale failed building DateTime-Locale prerequisite YAML aborting build of DateTime-Locale: failed prerequisites checking YAML and found That is passed ! YAML 0.35 PASS PASS PASS PASS PASS PASS PASS Hmn! This does not make sence. I checked the Module::Build status and it is listed as fail. (no reason why) I don't know why Activestate is having problems building DateTime. I was able to do it. I also noticed that some of the modules in DateTime use module-build and others use the MakeMaker method. Which one should we use? Is there a standard? Ron
RE: date time support for win32
Dave Rolsky wrote: On Fri, 30 Jan 2004, Hill, Ronald wrote: [snipped] failed building DateTime-Locale prerequisite YAML aborting build of DateTime-Locale: failed prerequisites DT::Locale doesn't need YAML! WTF?! Don't ask me :) It includes a META.yml file, courtesy of Module::Build, but so do many other modules. I checked the Module::Build status and it is listed as fail. (no reason why) This may be the real problem. I got this module to build for me :) I did have a problem building ExtUtils-ParseXS on 5.6.1 5.8.0 (if I remember correctly) But this was fixed when 5.8.1 was released. This was the reason I never generated PPM's for perl 5.6.1 As it stands right now I can build DateTime for perl 5.8.3 without problems. Does this mean the the modules will run on 5.8.0? I really don't know what to do about 5.6.1 I also noticed that some of the modules in DateTime use module-build and others use the MakeMaker method. Which one should we use? Is there a standard? Well, I think Module::Build is definitely the way to go, but I don't want to force anyone to use it. I've used it for most of my modules on CPAN, I think it is time that we do come up with a standard way of shipping out modules. ( Module-Build or makemaker)It sure would make installing DateTime modules much simpler. I personally don't care which one we use as long as everyone agrees. with the exception of DateTime.pm and older ones I've not yet converted. I've been meaning to convert DateTime.pm as well, though I may wait til the XS compilation pieces of Module::Build are known to work on Win32. I think it does work. I am currently using it (see above) Thanks Ron
RE: date time support for win32
On Fri, 30 Jan 2004, Hill, Ronald wrote: I think it is time that we do come up with a standard way of shipping out modules. ( Module-Build or makemaker)It sure would make installing DateTime modules much simpler. It would? Why? As long as the Module::Build using distros provide a passthrough Makefile.PL, CPAN or CPANPLUS will work no matter what. The real problem seems to be PPMs. Does standardizing on one M::B vs EU::MM make a difference for PPMs? -dave /*=== House Absolute Consulting www.houseabsolute.com ===*/
RE: date time support for win32
Dave Rolsky wrote: On Fri, 30 Jan 2004, Hill, Ronald wrote: I think it is time that we do come up with a standard way of shipping out modules. ( Module-Build or makemaker)It sure would make installing DateTime modules much simpler. It would? Why? As long as the Module::Build using distros provide a passthrough Makefile.PL, CPAN or CPANPLUS will work no matter what. Actually, I was refering to the person/script that would be building the PPM's If everyone used say Module-build would'nt be easier to write a script to build everything? (maybe/maybe not) CPAN does not work on Windows (At least I could not get it to work) I have not tried CPANPLUS The real problem seems to be PPMs. Does standardizing on one M::B vs EU::MM make a difference for PPMs? I don't think so, I have build ppm's for DateTime-Timezone using Module-Build and it works :)