Re: Alien::Wx : where is the 3.0

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

On 08/10/14 20:54, herbert breunung wrote:
> but my problem is rather than I don't see a way to get Wxwidgets 3.0 even the
> newest alien should provide it kinda automagically after new alien is
> installed. sound i have to do further steps, but which please?
Yes, it will be downloaded during the "perl Build" line, but do you want 
3.0 or 3.0.1?

You have to specify which version you want here:

perl Build.PL --wxWidgets-version=2.8.11

If you don't specify which one you want it will either download the 
default (usually the latest, although not always) or it will ask you.

Each version of Alien can only ask you about the ones it knows about at 
publication date, so an old Alien will not know about a newer wxWidgets 
release.  You cannot enter:

--wxWidgets-version=3.4.1

... yet, for instance, because it has not been released and it would 
fail.  Each version of Alien has the available wxWidgets releases 
hard-coded into it.

So the sequence of events is:

1) Download the latest Alien package with svn or git (excluding 
wxWidgets, because you haven't told it which version).

2) run "perl Build.PL", with all the flags telling it what to do. This 
is very quick.

3) run "perl Build" which downloads the version of wxWidgets that you 
asked and compiles it.

4) run "sudo perl Build install" which puts the executables into your 
/usr directory.

5) Download the latest wxPerl package with svn or git.  This needs to be 
the same svn version number as your version of wxWidgets.  You can't use 
a new Alien and an old wxPerl, for instance.

6) run "perl Makefile.PL".

7) run "make" to compile wxPerl.

8) run "sudo make install" which puts the executables into your /usr 
directory.

cpan -i Wx::Demo should do all the above automatically for its latest 
version, I don't know which it is, 3.0.0 or 3.0.1.

I hope that clarifies things.

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.