Re: Building Alien::wxWidgets on OSX, perl 5.20.0
Karl Williamson <[email protected]>
| Newsgroups | gmane.comp.lang.perl.wxperl |
|---|---|
| Message-ID | <[email protected]> |
On 09/16/2014 06:41 AM, Steve Cookson wrote: > Hi Gabor, > > On 12/09/14 22:19, Gabor Szabo wrote: >> After Neither of these worked perl Build > Did you ever sort all this out? > > If not I have a few suggestions for you to try. > > 1) use cpan -i Wx (or whatever engine you use) and let cpan sort out the > dependencies. > > 2) What version of wxWidgets are you trying to install? I don't imagine > the problem is perlbrew as it is quite popular and must have been tested > before now. I have difficulty installing 2.8.11 with the current > download so I use an earlier baseline (#3418), like this: > > cd ~ > rm -rf Alien-wxWidgets > svn co https://svn.code.sf.net/p/wxperl/code/Alien-wxWidgets/trunk@3418 > Alien-wxWidgets > cd ~/Alien-wxWidgets > perl Build.PL --wxWidgets-extraflags="--enable-graphics_ctx > --disable-compat26 --enable-mediactrl --with-libjpeg=builtin > --with-libpng=builtin --with-regex=builtin --with-libtiff=builtin > --with-zlib=builtin --with-expat=builtin --with-libxpm=builtin > --with-gnome-print --with-gnomeprintui" --wxWidgets-build='yes' > --wxWidgets-source='tar.gz' --wxWidgets-unicode=1 --wx-unicode='yes' > --wxWidgets-build-opengl=0 --wxWidgets-version=2.8.11 > > perl Build # Download and compile wxWidgets. > perl Build install > ldconfig > cd .. > > cd ~ > rm -rf wxPerl > svn co https://svn.code.sf.net/p/wxperl/code/wxPerl/trunk@3418 wxPerl > cd ~/wxPerl > perl Makefile.PL > make > make install > cd ~ > > Good luck, > > Steve. > Note that there are incompatibilities between Wx and Perl v5.20.0. Use v5.20.1 instead. But these happen further along than you have gotten so far. There are already a couple of (unanswered) bug reports on not being able to compile this module on OS X: https://rt.cpan.org/Public/Bug/Display.html?id=96504 https://rt.cpan.org/Public/Bug/Display.html?id=88101 Plus this one that the requestor managed to finally install https://rt.cpan.org/Public/Bug/Display.html?id=66723