I installed gcc4 today using setup.exe from cygwin. However, I cannot run any of my perl program after that. For example,
I installed several packages including OLE-Storage_Lite-0.11(The installation asks using: perl makefile.pl, make, make test , make install and make clean. Does "make clean" do some damage?)
BTW, after I clicked "cygwin bash shell", it went to "home/Run" instead of "home". There are also a note as the following"
I tried to reinstall perl and gcc4. Doesn't work.
So I was wondering if you would kindly to let me know what happened and what's the solution. Thank you very much!
littledeer
Moderator's Comments:
Code tags for code, please.
Last edited by Corona688; 08-01-2012 at 07:08 PM..
Reason: More detail on my title makes it easier to get help.Thank you!
How do I get past the error when using strict and GetOpts ?
#!/usr/bin/perl
use strict;
use Getopt::Std;
# Process the command line options
die "Usage: $0 -r <router> -u <username> -p <password> -e <enable password>\n" if (@ARGV < 6);
exit if (!getopts('r:u:p:e:'));
my... (3 Replies)
What are the different ways to disable ssh strict checking? I've seen this mentioned a few times but it doesn't seem to be working.
$ ssh -o 'StrictHostKeyChecking no' admin@hostnamehttp://docs.oracle.com/cd/E35328_01/E35336/html/vmcli-ssh.html
Is there a file somewhere in /etc that I could... (4 Replies)
my os details as follow
bash-3.2$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
I run the following and encounter the following error
bash-3.2$ mysqlhotcopy -?
Can't locate DBI.pm in @INC (@INC contains:... (5 Replies)
I'm using cygwin on win7, What I would like to do is something like this:
cygstart cygwin tail -f /foo/test.log | perl -pe 's/error/\e
I know I can start a new instance using either of these:
mintty -e ...
cygstart tail ...
But neither of those open in ANSI mode, so I can't do... (0 Replies)
I opened strict.pm and found some not understandable stuff, please let me know if you have any Idea on the same.
1) Line 23 => $bits |= (what is $= here how it affect the statement)
2) Line 36 => $^H (what is that I haven't found any statement on this in google)
3) Line 41 =>... (3 Replies)
I am trying to find out the wwpn on a linux server. I tried using the the commands `datapath query wwpn` and `pcmpath query essmap`. Both of them didnt give me any output. Please check below.
# pcmpath query essmap
-bash: pcmpath: command not found
# datapath query wwpn
-bash: datapath:... (6 Replies)
Im trying to write a bash script that has an if statment that when the user enters ONLY that exact argument, will echo what follows that conditon.
For example:
for file in $1
do
if
then
Var1=$(cat hello | egrep "that pattern" | awk '{ print $NF }')
cat $Var1
fi
done
Basically,... (3 Replies)