X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Andrew Schulman <schulman.andrew@epa.gov>
Subject:  Re: Perl documentation inaccessible via 'perldoc'.
Date:  Thu, 05 Jul 2007 04:26:17 -0400
Lines: 16
Message-ID:  <2kap83p6s5819lu66sr6kmrem6o5iqm180@4ax.com>
References:  <7634A226C4C245868140309A0F3A952F@desktop2>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7bit
X-Archive: encrypt
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

> Rob@desktop2 /cygdrive/c/_32/working/math-gmpz/Math-GMPz-0.22
> $ perldoc ExtUtils::MakeMaker
> Error in tempfile() using ./XXXXXXXXXX: Parent directory (./) is not 
> writable
>  at /usr/lib/perl5/5.8/Pod/Perldoc.pm line 1483

tempfile() is trying to create the tempfile in the current directory,
rather than a standard temporary directory such as /tmp.  'perldoc
File::Temp' says that if you don't specify a tempfile directory, tempfile()
puts it in the location returned by File::Spec::tempdir().  Normally that
should be /tmp.  I wonder, do you have TMPDIR set?  Try setting it, e.g.

export TMPDIR=/tmp/Rob

and see if that solves the problem.
A.


--
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/

