X-Spam-Check-By: sourceware.org From: "David Christensen" To: "'cygwin'" 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 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/