Opened 10 years ago

Closed 7 years ago

#355 closed enhancement (not relevant)

Padre does not rebuild wxPerl automatically if it was not built by unicode support

Reported by: coke Owned by:
Priority: major Milestone:
Component: External dependency Version: 0.35
Keywords: cpan build Cc: alexchorny@…


Inspired by, 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 Going to build J/JQ/JQUELIN/Padre-0.35.tar.gz

Found locale    English_United States.1252
Found wxWidgets 2.8.8
Found     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]
  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, 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.


Change History (5)

comment:1 Changed 10 years ago by tsee

Please note that I said something like "I see a new CPAN distribution 'Alien::wxWidgets::WithUnicode?'!". What I meant was "There should be a new CPAN distribution ... which manages to install an Alien::wxWidgets with unicode enabled (by default or even FORCED).

Sorry about that.

comment:2 Changed 10 years ago by szabgab

the typo was fixed.

I am not sure how easy or difficult it would be to make the unicode thing conditional in Padre
and if wouldn't backfire? If we allow the installation without Unicode support and then the person wants to have the unicode he will be quite mad that it requires the reinstallation of the whole IDE...

comment:3 Changed 10 years ago by szabgab

  • Priority changed from blocker to major
  • Summary changed from can't install padre 0.35 with defaults from CPAN to Padre does not rebuild wxPerl automatically if it was not built by unicode support

comment:4 Changed 10 years ago by chorny

  • Cc alexchorny@… added

Is it possible to recompile Alien::wxWidgets only, and leave Wx not recompiled?

comment:5 Changed 7 years ago by bowtie

  • Resolution set to not relevant
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.