delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/23/14:10:15

X-Spam-Check-By: sourceware.org
From: "David Christensen" <dpchrist AT holgerdanske DOT com>
To: "'cygwin'" <cygwin AT cygwin DOT com>
Subject: RE: Perl Device::SerialPort problem
Date: Thu, 23 Nov 2006 11:10:01 -0800
Message-ID: <008001c70f32$f9d7f650$0a00a8c0@s3000p>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <ek44to$t40$1@sea.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

aliko is having troubles with Cygwin, HOME, Perl, and/or CPAN.


When you start a Cygwin Bash shell for the first time, there are at
least two possibilities:

1.  Your HOME environment is not set, Cygwin creates the directory
C:\cygwin\home\USERNAME, and copies in .bashrc, .bash_profile, etc..
This is how I set up my machines, and everything works as I expect
(including Perl, although I've run into problems with CPAN and try to
avoid it; manually installing packages is safest).

2.  Your HOME environment variable is set, and Cygwin goes off down the
garden path.  I don't run my systems this way.


It would appear you have the later case.  To get to the former, go to
Start -> Settings -> Control Panel -> System -> Advanced -> Environment
Variables and take a look at your User and System variables.  If HOME is
set and you didn't set it manually, something else did.  So, removing
HOME may fix Cygwin and break something else.


HTH,

David


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019