Re: Alien::Wx : where is the 3.0

Steve Cookson - gmail <[email protected]>
Newsgroups gmane.comp.lang.perl.wxperl
Message-ID <[email protected]>
Hi Herbert,

On 06/10/14 22:16, herbert breunung wrote:
> excuse me was just late but its still same main machine :)
>
> Linux 3.13 Mint 17 Cinamon 64 Bit
>
> but error message i cant provider i just use Wx and its:
>
> WxPerl 0.9923 wxWidgets 2.8.12
>
> but i have installed alien 0.65 or have i there basic misunderstanding what
> alien::wx does?
Well, I don't remember why I did this, but I use different scripts for 
2.8 and 3.0.

For 3.0 or 3.0.1 I use the one I posted earlier and I suggest you do too.

For 2.8, I'm using an older baselined version from SVN trunk@3418, like 
this:

# Download and install Alien-wxWidgets, which downloads and compiles 
wxWidgets
apt-get -y install libglu1-mesa-dev freeglut3-dev mesa-common-dev 
libsdl1.2-dev         # Install OpenGL
apt-get -y install libwxgtk2.8-dev

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-build='yes' \
     --wxWidgets-graphicscontext \
     --wxWidgets-build-opengl='no' \
     --wxWidgets-unicode=1 \
     --wx-unicode=1 \
     --wxWidgets-source='tar.gz'  \
     --wxWidgets-version=2.8.11 \
     --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"

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 ~

cpan -i Wx::GLCanvas
cpan -i Text::Patch
cpan -i Wx::PdfDocument
cpan -i Wx::Demo

I hope that works for you,

Regards

Steve.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.