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.
In reply to strawberry perl in wine? by bcrowell2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |