id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc
355,Padre does not rebuild wxPerl automatically if it was not built by unicode support,coke,,"Inspired by http://use.perl.org/~Alias/journal/38970, I thought I'd check out padre-latest, so I tried to install it like so:

{{{
D:\>cpan Padre
Database was generated on Wed, 13 May 2009 18:50:50 GMT
Running install for module 'Padre'
Running make for J/JQ/JQUELIN/Padre-0.35.tar.gz
Checksum for C:\strawberry\cpan\sources\authors\id\J\JQ\JQUELIN\Padre-0.35.tar.g
z ok

  CPAN.pm: Going to build J/JQ/JQUELIN/Padre-0.35.tar.gz

Found locale    English_United States.1252
Found wxWidgets 2.8.8
Found Wx.pm     0.89
Padre needs wxWidgest to be compile with Unicode support (--enable-unicode)
Warning: No success on command[C:\strawberry\perl\bin\perl.exe Makefile.PL]
  JQUELIN/Padre-0.35.tar.gz
  C:\strawberry\perl\bin\perl.exe Makefile.PL -- NOT OK
Running make test
  Make had some problems, won't test
Running make install
  Make had some problems, won't install

D:\>cpan -v
C:\strawberry\perl\bin/cpan script version 1.9, CPAN.pm version 1.9304
}}}

As tsee explained to me on #padre, this is because a dependency is installed, but was compiled sans the listed option. (Note: there's a typo in the error message there.)

It would be nice if there was a module (tsee referenced Alien::wxWidgets::WithUnicode but I don't see that on CPAN) that forced a build of the dependency with the desired options, and then Padre could depend on that.

Alternatively, if Padre can run with or without the setting (using latin/ascii or unicode depending on what's available.), that would also be spiffy.

Regards.
",enhancement,closed,major,,External dependency,0.35,not relevant,cpan build,alexchorny@…
