Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Communication between Windows and Linux via Perl

by B-Man (Acolyte)
on Apr 10, 2013 at 16:57 UTC ( #1028013=note: print w/ replies, xml ) Need Help??


in reply to Re: Communication between Windows and Linux via Perl
in thread Communication between Windows and Linux via Perl

I think there's an nmake.exe. The thing is, I think mine came with my Visual Studio software. In fact, you might not even be able to get a standalone version of it anymore.

If you do have Visual Studio and nmake (or even somehow just nmake), you can copy nmake.exe to the folder where you want to do your make. Here's Microsoft's instructions on how to run the tool.

You don't have a Perl Package Manager you can use to install Math::Pari? That's how I get my packages. It even notes any dependencies you need for packages you want to install and automatically installs those as well, preventing problems like this.

Perl Package Manager comes with ActivePerl, and makes package management much simpler than the way you're describing it. It looks like you can get PPM from CPAN!


Comment on Re^2: Communication between Windows and Linux via Perl
Re^3: Communication between Windows and Linux via Perl
by marto (Chancellor) on Apr 10, 2013 at 20:04 UTC

    "You don't have a Perl Package Manager you can use to install Math::Pari? That's how I get my packages. It even notes any dependencies you need for packages you want to install and automatically installs those as well, preventing problems like this."

    Both ActiveState and Strawberry Perl have shipped with PPM and cpan for several years now. ActiveState doesn't ship with a C compiler or build tools, though they can be installed via ppm MinGW though currently only for the 32bit platform (note OP is using a 64bit perl), if you want to work with ActiveState 64bit you have to install this yourself.

    With a little effort installing modules and their dependencies via cpan is reasonably straightforward. IMHO any automated system for module installation is going to have it's short comings, and for cpan that (again, IMHO) is the level of verbose output you get on failure. It seems simply to confuse those who aren't used to software compilation. In other words those who are new, and this can be very discouraging. Perhaps we can work on that.

    Some of the popular PPM repos have been reported to me as 'out of date' or 'behind the times' recently. Part of that is perhaps due to them being run by individuals. I'm currently drafting a module installation tutorial covering modern module installation methods, and a FAQ on the subject. This will be posted for critique in the usual place before it makes it to tutorials.

      hi,

      Thank you so much and the tutorials is so good :)

      I use Active Perl to compile and execute perl script. Active Perl has pre-insall the PPM, but there is no Net::SSH::Perl module in PPM.

      I download the Net::SSH::Perl from CPAN and install it on my Windows platform. But I don't know I should install Math::Pari module. Thank you for you reminder :). I'll install this module and try again.

      Br, Wei
Re^3: Communication between Windows and Linux via Perl
by zhonghua (Novice) on Apr 11, 2013 at 14:31 UTC

    Hi,

    thank you :). I try to download a nmake application, but to my surprise, I didn't find it from Micorsoft Website, while I didn't use Visual Studio. Fortunately, I found the dmake application and it can be used to install the perl module.

    according to so many warm-hearted friends' advise, I found I didn't install the Net::SSH::Perl module correctly. I'm planning to re-install this module.

    Thank you so much

    Br, Wei

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1028013]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2014-08-30 21:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls