delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/05/04:27:14

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew Schulman <schulman DOT andrew AT epa DOT 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 AT desktop2>
Mime-Version: 1.0
X-Archive: encrypt
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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

- Raw text -


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