Re: Need help installing wxWidgets 2.9.4
by syphilis (Archbishop) on May 01, 2013 at 03:07 UTC
|
but I don't know how to install from a PPM repository (is there a utility for it?)
If you don't already have the PPM utility, you can use PAR-Dist-InstallPPD. However, if there are any post-install scripts to be run as part of the PPM installation, then PAR::Dist::InstallPPD won't run them - you'll have to download them and run them yourself. If you download the ppd files, they will contain the name and location of any post-install scripts that need to be run. Look for any 'INSTALL EXEC' entries. (I just took a look at http://www.wxperl.co.uk/repo29/Wx.ppd and there were no such entries for it.)
There's a version of PPM on CPAN that's probably not worth messing with. Strawberry Perl ships with a PPM utility that's generally quite serviceable, but the "up-to-date" version of PPM is proprietary and ships only with ActivePerl.
Cheers, Rob | [reply] |
|
| [reply] |
|
| [reply] |
Re: Need help installing wxWidgets 2.9.4
by Khen1950fx (Canon) on May 01, 2013 at 05:56 UTC
|
perl Build.PL --wxWidgets-version=2.9.4
./Build
./Build test
./Build install
That's all, believe it or not:-). | [reply] [d/l] |
|
Thank you, Khen1950fx. This sounds cool. I'll try it in a couple of hours and report back.BTW, do I have to uninstall anything before doing the builds? Also, when I go: perl Build.PL --wxWidgets-version=2.9.4 does it pull it from CPAN repositories over the NET, or to I have to point it to a local tarball? Many TIA - Helen UPDATE: when I go: perl Build.PL it complains it can't find the script "Build.PL". I notice that ...\Perl\lib\Module\Build.pm and ...\Perl\lib\CPANPLUS\Dist\Build.pm do exist. What to do?
| [reply] [d/l] [select] |
|
You have to install it manually. Download the tarball from CPAN, put it in a directory of its own, untar it, and then run
the install process. Everything you need will be in the file that you untarred, so you're not going through CPAN for this.
Also, you're not building a customized wxWidgets, so there's no linking involved. Get it a try. If you have any problems,
come back here.
| [reply] |
|
|
|
Thank you, Khen1950fx. This sounds cool. You really shouldn't listen to Khen1950fx :) but if you want this waste-of-time-approach start with cpanp -z Alien::wxWidgets
| [reply] |
|
|
|
|
|
Re: Need help installing wxWidgets 2.9.4
by Anonymous Monk on May 01, 2013 at 07:04 UTC
|
(This post is in follow-up to: www.perlmonks.org/?node_id=1030940)
How so?
You received instructions how to remove/uninstall existing Wx module
You received instructions how to install the latest Wx version
What went wrong?
| [reply] |
|
AM: thank you for your investment of time and energy.Now, are you referring to your response in: www.perlmonks.org/?node_id=1030954 ? If so, then some instructions there are unclear: Like I said, I am reluctant to install another Perl installation (citrus); considering that, are all statements in your post, commands that I should enter at the command line?
pm-uninstall -f -v Wx Alien::wxWidgets is that a command I should enter? For 2.9.4 builds add : http://www.wxperl.co.uk/repo29 What do you mean by "add"? where do I have to add it? ppm remove Wx Alien-wxWidgets
ppm install http://www.wxperl.co.uk/repo29/Wx.ppd
are these commands that I should use with the StrawberryPerl PPM utility, or did you assume I was running ActivePerl?
| [reply] |
|
are all statements in your post, commands that I should enter at the command line? I forget, I think they're links you can click and read and decide what you want to do, or try them out
What do you mean by "add"? where do I have to add it? I don't know, sorry, it would certainly be in the documentation -- although you don't have to, given that you can install by giving a full url
are these commands that I should use with the StrawberryPerl PPM utility, or did you assume I was running ActivePerl?
I don't know; I gave you some choices, I know you've used ppm before, and at some point you have to try and figure it out
If so, then some instructions there are unclear
Yup, I see that now, links as instrunctions doesn't seem to work :/
| [reply] |