[jifty-devel] Patches for Win32

Brian Phillips bpphillips+ml at gmail.com
Wed May 10 13:22:14 EDT 2006


Evidentally I have the tuits :-)

First, I'm not sure how relevent this is to Jifty development since it's
more a commentary on the difficulty of install Perl modules on Win32 (which
I'm only just getting a taste of now).  So, if this is indeed out of scope
for Jifty developers to address, please ignore.

I did an "install Jifty" in the cpan shell on a fresh CamelPack ActivePerl
5.8.8 install.  I installed DateTime manually first in a dos shell (it
doesn't recognise gcc availability).  I wasn't able to keep track of all the
errors as they flew by on the console but running an "install Jifty" again
to see what dependencies are still missing yields:

- App::CLI                       ...missing. (would need 0.03)
- Cache::Cache                   ...loaded. (1.04)
- Calendar::Simple               ...loaded. (1.13)
- Class::Accessor                ...loaded. (0.25)
- Class::Container               ...loaded. ( 0.12)
- Clone                          ...loaded. (0.20)
- Compress::Zlib                 ...loaded. (1.41)
- DBD::SQLite                    ...missing. (would need 1.11)
- Data::Page                     ...loaded. (2.00)
- DateTime                       ...loaded. (0.30)
- Date::Manip                    ...loaded. (5.44)
- Email::Folder                  ...loaded. (0.85)
- Email::LocalDelivery           ...loaded. ( 0.09)
- Email::Send                    ...loaded. (2.05 >= 1.99_01)
- Email::Simple                  ...loaded. (1.92)
- Email::Simple::Creator         ...missing.
- File::Find::Rule               ...loaded. (0.28)
- File::MMagic                   ...loaded. (1.26)
- File::ShareDir                 ...loaded. (0.04)
- HTML::Entities                 ...loaded. (1.32)
- HTML::Mason                    ...missing. (would need 1.3101)
- HTML::Mason::Plugin            ...missing.
- HTTP::Cookies                  ...loaded. (1.39)
- HTTP::Date                     ...loaded. (1.47)
- HTTP::Server::Simple           ...missing. (would need 0.10)
- HTTP::Server::Simple::Recorder ...missing.
- Hash::Merge                    ...loaded. (0.07)
- Hook::LexWrap                  ...loaded. (0.20)
- Jifty::DBI                     ...missing. (would need 0.16)
- Locale::Maketext::Extract      ...loaded. (0.21 >= 0.20)
- Locale::Maketext::Lexicon      ...loaded. (0.61 >= 0.60)
- Log::Log4perl                  ...loaded. (1.04)
- LWP::UserAgent                 ...loaded. (2.033)
- MIME::Types                    ...loaded. (1.16)
- Module::CoreList               ...loaded. (2.04)
- Module::Install::Admin         ...loaded. (0.62 >= 0.50)
- Module::Pluggable              ...loaded. ( 2.97 >= 2.95)
- Module::Refresh                ...missing. (would need 0.09)
- Params::Validate               ...loaded. (0.82)
- Pod::Simple                    ...loaded. ( 3.04)
- String::Koremutake             ...loaded. (0.30)
- Test::Base                     ...missing. (would need 0.44)
- Test::HTML::Lint               ...loaded. (2.02)
- Test::HTTP::Server::Simple     ...missing. (would need 0.02)
- Test::More                     ...loaded. (0.62 >= 0.62)
- Test::Pod::Coverage            ...missing.
- Test::WWW::Mechanize           ...missing.
- UNIVERSAL::require             ...loaded. ( 0.10)
- URI                            ...loaded. (1.35)
- WWW::Mechanize                 ...loaded. (1.18 >= 1.12)
- XML::Writer                    ...loaded. (0.600)
- XML::XPath                     ...loaded. (1.13)
- version                        ...missing.
- YAML::Syck                     ...loaded. (0.44 >= 0.44)
- JSON::Syck                     ...loaded. (0.12 >= 0.12)

Here are the items I've resolved:
- DBD::SQLite                    ...had to manually copy a bunch of DBI .h
files into the build directory for it to install
- Email::Simple::Creator         ...had to install Time::Piece using ppm
before it would install
- HTML::Mason                    ...failed one test relating to static
source file test, I just forced the install
- HTML::Mason::Plugin            ...came along with HTML::Mason
- HTTP::Server::Simple           ...had to install using ppm
- Jifty::DBI                     ...see notes on dependent modules below
    - Cache::Simple::TimedExpiry ...installed via ppm
    - Class::ReturnValue         ...installed via ppm
    - DateTime::Format::Builder  ...had to patch a .t file that didn't like
windows path seperators
- Test::Base                     ...installed via ppm
- Test::Pod::Coverage            ...had to install Pod::Coverage via ppm
- version                        ...had to install via ppm

Items that remain unresolved:
- App::CLI                       ...fails 'make' in cpan, not available  in
ppm
- HTTP::Server::Simple::Recorder ...fails 'make' in cpan, not available  in
ppm
 - Module::Refresh                ...fails 'make' in cpan, not available  in
ppm
- Test::WWW::Mechanize           ...tests all fail in cpan, not available in
ppm
- Test::HTTP::Server::Simple     ...relies on the SIGUSR1 signal that
ActiveState doesn't support

Many of the modules I had to install using ppm and those I've listed as
failing 'make' in cpan are a result of the following error:
Undefined subroutine &ActivePerl::Config::find_prog called at
C:/Perl/site/lib/ActivePerl/Config.pm line 70.
Compilation failed in require at C:/Perl/lib/ExtUtils/MakeMaker.pm line 7.
BEGIN failed--compilation aborted at C:/Perl/lib/ExtUtils/MakeMaker.pm line
7.
Compilation failed in require at inc/Module/Install/Can.pm -
/Library/Perl/5.8.6/Module/Install/Can.pm line 10.
BEGIN failed--compilation aborted at inc/Module/Install/Can.pm -
/Library/Perl/5.8.6/Module/Install/Can.pm line 10.
Compilation failed in require at
/Users/clkao/work/clkao-modules/App-CLI/inc/Module/Install.pm -
/Library/Perl/5.8.6/Module/Install.pm line 183.
Global symbol "$Verbose" requires explicit package name at
C:/Perl/lib/ExtUtils/MM_Any.pm line 1267.
Global symbol "$Verbose" requires explicit package name at
C:/Perl/lib/ExtUtils/MM_Any.pm line 1277.
Compilation failed in require at C:/Perl/lib/ExtUtils/MM_Unix.pm line 25.
Compilation failed in require at inc/Module/Install/Metadata.pm -
/Library/Perl/5.8.6/Module/Install/Metadata.pm line 212.
Running make test
  Make had some problems, maybe interrupted? Won't test
Running make install
  Make had some problems, maybe interrupted? Won't install

I'm not sure what to make of this -- it's new to the 5.8.8 version of Perl
(at least I don't recall seeing this under 5.8.7) :-(

Anyone have any advice/thoughts?  I'm content to wait until I have access to
a *NIX box to play around with Jifty if necessary but it appears there's
some interest in making this work on Win32 as well...

Brian

On 5/10/06, John Peacock < jpeacock at rowman.com> wrote:
>
> Jesse Vincent wrote:
> > Ok. So we have two reports of "fails on ActivePerl 5.8.7" and one report
> > of "Works on ActivePerl 5.8.8".
>
> I suspect you might want to confirm that the "fails on ActivePerl 5.8.7"
> isn't equivalent to "fails on ActivePerl 5.8.7 installed via CamelPack"
> since those two are not logically equivalent.
>
> Although CamelPack tries real hard to be 100% compatible with ActivePerl
> (built with M$loth's own compiler), gcc under Windows is *not* the same
> as VC++.  It is very possible that some subtle Win32 failure mode is
> being triggered that wouldn't happen when using VC++.  Based on the
> CamelPack page, a candidate with sufficient tuits could build a
> CamelPack with 5.8.8 for comparison purposes.
>
> John
>
> --
> John Peacock
> Director of Information Research and Technology
> Rowman & Littlefield Publishing Group
> 4501 Forbes Boulevard
> Suite H
> Lanham, MD  20706
> 301-459-3366 x.5010
> fax 301-429-5748
> _______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bestpractical.com/pipermail/jifty-devel/attachments/20060510/dba148bc/attachment-0001.htm


More information about the jifty-devel mailing list