Re: Installation Cookbook

herbert breunung <[email protected]>
Newsgroups gmane.comp.lang.perl.wxperl
Message-ID <[email protected]>
OMG, abandonded too ? not really

thing is that I started to study (2 completely different subjects)
but my thesis will be bases on a WxPerl program thats why mainly I'm back on
track since 2 month or so.

Since Wx is huge there are lot of details to try out before I ca write ebout
them and i also have to carefully check my 11 part WxPerl tutorial where I
found already bugs in the code.

if you have some chapters about something to drop please send me stuff or just
check lichtkind on bitbucket where i have a repo for the book
but also the kephra/proto/function/bin in the cp branch of Kephra
which not only serve this project also as upcoming demo programs for the book.
(I'm currently wrestling with toolbars)

So in short I pretend that I can do it but help will make it faster :)

best

Herbert

> Hi James:
> 
> On 01/10/14 15:32, James Lynes wrote:
>> I saw a few recent posts concerning an Installation Cookbook and was
>> wondering if any more work has been done on this topic. I'd like to install
>> the newest wxWidgets and wxPerl packages. My system Perl is v5.18.2.
> I'll leave Herbert to give you an update on the Cookbook.
> 
> Regarding Citrus, I don't use it myself, however I do believe it now comes
> with wxWidgets 3.0.0, while the latest is wxWidgets 3.0.1. Maybe Johan or Mark
> can give you a better
> 
> 3.0.1 does have a few bugs ironed out, but there is no formal script for
> installing it.
> 
> As we stand, I believe the status is as follows.
> 
> cpan -i Wx will give you 3.0.0, but I've never tested it.
> 
> My main system is on 2.8.11, but I use 3.0.1 for development, which I install
> with a custom script.
> 
> The script I use for installing wxWidgets 3.0.1 on a 64 bit multiprocessor
> architecture running Kubuntu 14.04LTS follows this email.
> 
> I just keep it in a file, logon to sudo with 'sudo -s' and type 'sh filename.sh'.
> 
> Regards,
> 
> Steve.
> 
> #!/bin/bash
> 
> cd ~
> 
> # Restart in case of crash.
> 
> dpkg --configure -a
> apt-get -y update
> apt-get -y upgrade
> 
> #
> #    Install dependencies first.
> #
> 
> #Development environment.
> apt-get -y install make                 # Needed for cpan
> apt-get -y install g++
> apt-get -y install gcc
> apt-get -y install subversion        # Needed for proper Alien-wxWidgets and
> wxPerl
> apt-get -y install git                     # Needed for custom install
> Alien-wxWidgets and wxPerl
> 
> apt-get -y install libgconf2-dev libgtk-3-dev        # Needed as wxMediaCtrl
> dependency
> apt-get -y install libexpat1-dev libtiff4-dev libpng12-dev libjpeg-dev
> libcairo2-dev libxmu-dev libwebkitgtk-dev
> 
> #Video enviroment (wxMediaCtrl dependencies)
> apt-get -y install libgstreamer0.10-dev             # Needed for
> Alien-wxWidgets and wxPerl
> apt-get -y install libgstreamer-plugins-base0.10-dev      # Needed for
> Alien-wxWidgets and wxPerl
> 
> apt-get -y install cups-pdf                                  # Printing
> apt-get -y install apparmor-utils
> aa-complain cupsd
> 
> # Perl modules
> 
> cpan -i ExtUtils::XSpp             # Needed by wxPerl/Alien install
> cpan -i ExtUtils::ParseXS        # Needed by wxPerl Makefile.PL
> cpan -i XSLoader                      # Needed by wxPerl/Alien install
> cpan -i Encode                        # Needed for utf-8
> cpan -i Test::Pod
> cpan -i ExtUtils::MakeMaker
> cpan -i Pod::Coverage
> cpan -i Test::Pod::Coverage
> 
> apt-get -y install libglu1-mesa-dev freeglut3-dev mesa-common-dev
> libsdl1.2-dev # Install OpenGL
> apt-get -y remove libwxgtk2.8-dev
> apt-get -y install libwxgtk3.0-dev
> apt-get autoremove
> cpan -i OpenGL
> 
> # Download and install Alien-wxWidgets, which downloads and compiles wxWidgets
> 
> git clone https://github.com/SteveBz/Alien-wxWidgets
> cd ~/Alien-wxWidgets
> perl Build.PL \
>     --wxWidgets-build=1 \
>     --wxWidgets-graphicscontext \
>     --wxWidgets-build-opengl=1 \
>     --wxWidgets-version=3.0.1 \
>     --wxWidgets-source=tar.bz2 \
>     --wxWidgets-unicode=1 \
>     --wx-unicode='yes' \
>     --wxWidgets-build-opengl=1 \
>     --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-gtk=2\
>                         --with-gtkprint"
> 
> perl Build  # Download and compile wxWidgets.
> # Baseline Alien-wxWidgets on git.
> git init
> git add *
> git commit -am "Adding Alien-wxWidgets baseline"
> perl Build install
> ldconfig
> cd ..
> 
> cd ~
> git clone https://github.com/SteveBz/wxPerl
> cd ~/wxPerl
> perl Makefile.PL
> make
> # Baseline wxPerl on git.
> git init
> git add ~/wxPerl
> git commit -am "Adding wxPerl baseline"
> make install
> cd ~
> 
> # Install predecessor for Wx::PdfDocuments
> cpan -i Wx::GLCanvas
> cpan -i Text::Patch
> cpan -i Wx::PdfDocument
> 
> # apt-get -y install python-wxglade
> # apt-get -y install padre
> #Perl environment
> cpan -i Wx::Demo # Padre # Need to press enter
> 
> 
> 
>
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.