bcrowell2 has asked for the wisdom of the Perl Monks concerning the following question:
O Monks,
I have a Perl/Tk app that I designed to be multiplatform, and that used to run fine on both Linux and Windows. However, it got to be a hassle supporting Windows users, since I didn't have a Windows box for testing, so I switched to only supporting Linux. Recently it occurred to me that it might be fun to see if I could get it running in Wine.
Has anyone tried running strawberry perl (SP) inside wine? I ran the installer, and was able to run hello_world.pl from inside wine. However, I'm stymied so far by how to install CPAN modules. SP installs a CPAN item in the Start Menu, and the strings command reports that this seems to be a link to C:\strawberry\perl\bin\cpan.bat. To run a .bat file in wine, googling shows lots of stuff about wcmd, but I don't seem to have anything called wcmd on my wine install. Apparently there is also something called wineconsole which emulates a DOS console. I did "wineconsole cmd," which gave me a DOS prompt, and then when I typed cpan, I got "Cannot open $CONOUT for write at ...CPAN.pm line 248", where line 248 is $term = Term::ReadLine->new('CPAN Monitor');.
Anyone have any suggestions?
TIA!
Update: I tried writing a perl script that did "use CPAN; install 'Tk'". The result was that it tried to connect to cpan.strawberryperl.com via ftp, but failed because it couldn't find an ftp program.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: strawberry perl in wine?
by marto (Cardinal) on Jan 03, 2009 at 10:45 UTC | |
by bcrowell2 (Friar) on Jan 03, 2009 at 20:25 UTC | |
by marto (Cardinal) on Jan 04, 2009 at 17:14 UTC | |
|
Re: strawberry perl in wine?
by zentara (Cardinal) on Jan 03, 2009 at 14:13 UTC | |
by bcrowell2 (Friar) on Jan 03, 2009 at 20:40 UTC | |
by zentara (Cardinal) on Jan 04, 2009 at 14:25 UTC | |
by bcrowell2 (Friar) on Jan 04, 2009 at 20:37 UTC | |
by zentara (Cardinal) on Jan 05, 2009 at 14:45 UTC |