A few more things, I need to install Math-BigInt-GMP, its not located on ppm. I went to CPAN and downloaded Math-BigInt-GMP-1.24, went to dos and ran "perl Makefile.pl".
I'm getting errors
Then when i run the the command "nmake", i get the following:
Whats going on here?
Also,
In CPAN
i ran the following
And i recieved the following error:
Can someone help me on installing Math::BigInt::GMP.
The short of it is that the system you are running the script on does not support getpwuid. I don't know what you can do about it though.
My system is Windows XP, surly i can run a connection script to a unix box on that.
I'm having these errors now, with these scripts, maybe this will help in me getting an answe. I'm using this script to create a connection.
With this error:
Another Example:
With this error:
Final Example, this time the dos command promt hangs, i'm still waiting to see if anything happens.
The Result is that the command prompt hangs, i'm gracefully waiting and hoping for a connection, at this point i will be happy with any connection even a slow one.!!
Just want to say to Mods, my post are for updates on where i am with this problem and are not to bump my posts.
UPDATE:
I commented out the lines
On "C:\perl\site\net\ssh\perl.pm"
Now the program seems to connect to my server, But its not executing the commands. Is there a way of debugging or seening what's happening here?
Why aren't my commands executing?
Is there a work around for this?
UPDATE:
Using adding the addition on the line
I can see the following debug information:
It seems to freeze on this line, does anyone know whats happening here?
UPDATE 3:
Ok, i have gotten the commands to exectured in the program by sending the output to a file.
Here is the command
When i use this line the program doesn't hang. If i replace it with
The program hangs!!
Why is this?
Is there a way around this, or will i have to do an ftp to grab the file and read its contents.
Please Help!
Last edited by Phi01; 03-02-2009 at 01:15 PM..
Reason: Update
There is really no way to know why your program hangs. All anyone could do is make suggestions to try his-or-that, but you actually seem to be doing an excellent job yourself finding answers to your questions. I have lno experience with what you are doing so I have no personal history I can recall and offer salient suggestions, maybe another user will. If not, you can alwyas take this over to perlmonks.com where the users are all perl users and have lots of experience outside of perl as well.
I took the copy of the production module to the home directory and executing the module.
one of the test prdmsk.pm module is present in the home directory ctskk. would like to know whether the below syntax is correct.
use strict;
use lib "/home/ssprod/ctskk";
use lib::Prdmsk;
... (0 Replies)
I am recieiving an out of memory issue in my perl module while updating the records in the oracle table. Let me know what are the check or troubleshoot steps need to be done from my end to fix the issue. (1 Reply)
I'm trying to create a perl script that will do 1 SSH session, but be able to write multiple commands to the session and receive multiple outputs. I know there are modules out there like Net:SSH::Perl, but I'm not allowed to use it. I was thinking of doing something like an open3 on an ssh... (4 Replies)
All,
Is it possible to call a subroutine from the perl expect module after logging to a system that is within the same program. My situation is I need to run a logic inside a machine that I'm logging in using the expect module, the logic is also available in the same expect program.
Thanks,... (5 Replies)
Hi,
I need to read an excel binary file and write the data to a text file. Is it possible using Spreadsheet-ParseExcel-0.58 ? If not, is there any module available in CPAN to do this?
Thanks,
Js (1 Reply)
Hi
i have written a perl script which was then converted to perl module by me. it works as expected. but i have to put it on many servers so i want to build a package for it. i dont know how to do that. just to check i copied perl module in "lib" directory which is working. ( directly copied... (1 Reply)
I dont know if this is a dumb question, but I am unable to move ahead and need help -
There is a perl module called Header.pm which was written by someone else. I am trying to write a simple perl script which uses a function provided by the module. The function has been exported by the module... (9 Replies)
Hi All,
I am using a perl module Win32::AdminMisc in my perl script.
When i running in activestate perl v5.10.0 it shows folling error ---
Can't locate loadable object for module Win32::AdminMisc in @INC (@INC contains: C:/Perl/site/lib C:/Perl/lib .) at example.pl
Please reply.
... (7 Replies)
Couple questions on perl module..
1)where is the best place on web where it tells you what modules can do?
For example,
use Text::Autoformat
Where is the best place on line or via command line to find the exact capability of autoformat?
2)Is there already a perl module to read *.cap... (1 Reply)
I want to replace a Perl module name in all my Perl Scripts in the cgi-bin directory. How is it possible?
I have the following statement in my scripts
use myUtil;
I want to change it to
use myUtil777;
Regards,
Rahul (2 Replies)