Help! Can't locate strict.pm after Cygwin update


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Help! Can't locate strict.pm after Cygwin update
# 1  
Old 08-01-2012
Help! Can't locate strict.pm after Cygwin update

I installed gcc4 today using setup.exe from cygwin. However, I cannot run any of my perl program after that. For example,

Code:
Run@Run-THINK /home
$ perl Process.pl
Can't locate strict.pm in @INC (@INC contains: /usr/lib/perl5/5.10/i686-cygwin /
usr/lib/perl5/5.10 /usr/lib/perl5/site_perl/5.10/i686-cygwin /usr/lib/perl5/site
_perl/5.10 /usr/lib/perl5/vendor_perl/5.10/i686-cygwin /usr/lib/perl5/vendor_per
l/5.10 /usr/lib/perl5/vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 /usr/lib/per
l5/vendor_perl/5.8 .) at Process.pl line 2.
BEGIN failed--compilation aborted at Process.pl line 2.

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"
Code:
"Your group is currently "mkgroup".  This indicates that neither
your gid nor your pgsid (primary group associated with your SID)
is in /etc/group.

The /etc/group (and possibly /etc/passwd) files should be rebuilt.
See the man pages for mkpasswd and mkgroup then, for example, run

mkpasswd -l [-d] > /etc/passwd
mkgroup  -l [-d] > /etc/group

Note that the -d switch is necessary for domain users.
"

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:
Mod Comment 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!
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Perl : Getopts and Strict -How to solve

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)
Discussion started by: popeye
3 Replies

2. UNIX for Advanced & Expert Users

Ssh disable strict checking

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)
Discussion started by: cokedude
4 Replies

3. Red Hat

Can't locate DBI.pm in @INC

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)
Discussion started by: jediwannabe
5 Replies

4. Shell Programming and Scripting

opening new instance of cygwin from withing cygwin

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)
Discussion started by: Validatorian
0 Replies

5. Shell Programming and Scripting

New PERL guru's help on strict.pm

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)
Discussion started by: jatanig
3 Replies

6. Linux

How to locate wwpn on Red Hat Enterprise Linux AS release 3 (Taroon Update 7)

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)
Discussion started by: gurasalak
6 Replies

7. Shell Programming and Scripting

Perl strict

What is the sake of using `use strict;` in perl codes? and how can avoid it?.TnX. (8 Replies)
Discussion started by: Zaxon
8 Replies

8. Shell Programming and Scripting

Strict Argument

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)
Discussion started by: oxoxo
3 Replies

9. UNIX for Dummies Questions & Answers

not able to locate SSH

In our unix environment I'm not able to locate where ssh is located. can any one guide me in finding the location of this tool. (5 Replies)
Discussion started by: bishweshwar
5 Replies
Login or Register to Ask a Question