in reply to Re^2: Unable to install Wx
in thread Unable to install Wx

I had similar problems a couple years back when I was trying to run the most up-to-date version of Padre on Mac OS X. I made this post about it Getting a working Padre and Wx on Mac OS X (Snow Leopard) with Perl 5.14.0. Basically, I resorted to compiling a threaded 32-bit perl with perlbrew, and then installed Alien::wxWidgets, Wx, and finally Padre. I would hope that a similar approach would work on Linux.

UPDATE: I seem to recall that wx 2.8 did not play nice with 64-bit, and that 2.9 was required for 64-bit. So, you may be able to stay completely 64-bit if you install the most recent version of wxWidgets with the Alien::wxWidgets module (i.e. 2.9 or later, I believe the most current is 2.9.4).

Replies are listed 'Best First'.
Re^4: Unable to install Wx
by Specus (Novice) on Feb 20, 2014 at 02:30 UTC

    Thanks for the suggestions. Using wx 2.9 seemed to be an important part of the process. Once I installed Alien::wxWidgets by hand and specified wxWidgets 2.9.4, I was able to go a lot further (and solved my initial problem).

    Unfortunately, I still couldn't install Padre 1.01 from SVN (some error about a character in META.yml not mapping to Unicode), so I tried to install 1.00 from cpan and got the following error:

    # Failed test 'undef isa 'Padre::Browser::Document'' # at t/50_browser.t line 47. # undef isn't defined Can't call method "mimetype" on an undefined value at t/50_browser.t l +ine 48.

    I'm almost ready to completely blow away my ~/perl5 directory and start over from scratch (now that I have a good understanding of the steps required).

      I'm happy the suggestions are helping. I am using Mac OS X Mavericks. I have a threaded, 64-bit installation of perl 5.18.1. I get a different error when trying to install Padre 1.00 from CPAN.

      Versions:

      • Alien::wxWidgets, 0.64 with wxWidgets compiled from 2.9.4 source
      • Wx, 0.9922

      During installation I get these test failures:
      t/15_locale.t .............. Failed 5/7 subtests
      During configuration, this is the locale that is given:
      Configuring Padre-1.00 ... Found locale en_US.UTF-8

      The t/50_browser.t test passes for me. I force installed Padre, and it launches and seems to work...but I'm not sure if some features are broken due to the failing tests.

      UPDATE: I also tried the version from SVN and I got a couple other test failures. I force installed and the app launches. Again, I'm unsure of what may be broken.

        I've forced an install and things mostly work. The browser failure causes problems with the plugin manager. It doesn't crash, but the info pane on the right only shows an error.

        Unfortunately, I now have the same browser problem on Padre version 0.96 that was installed against the system Perl. Something got updated that Padre doesn't like.

        Since my generic Perl problems have been solved, I'm going to check in on the Padre web site and see if I can get any useful information there.

        Thanks.