delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de> |
Newsgroups: | comp.lang.perl.misc,comp.os.msdos.djgpp |
Subject: | Re: Perldoc error: "Could not create temp file" |
Date: | Thu, 17 Apr 2008 19:10:22 -0700 (PDT) |
Organization: | http://groups.google.com |
Lines: | 48 |
Message-ID: | <bf17d639-4daf-4568-9016-b2e9d3a64603@26g2000hsk.googlegroups.com> |
References: | <zd6dnbRZ8J5AdJvVnZ2dnUVZ_rignZ2d AT giganews DOT com> |
<Xns9A8321CB0C79asu1cornelledu AT 127 DOT 0 DOT 0 DOT 1> <YNqdnXMJMcgtkJrVnZ2dnUVZ_qOknZ2d AT giganews DOT com> | |
<Xns9A836B4AECDF7asu1cornelledu AT 127 DOT 0 DOT 0 DOT 1> <CuSdnZLhluU2BZrVnZ2dnUVZ_oaonZ2d AT giganews DOT com> | |
<Xns9A83A037AEAF7asu1cornelledu AT 127 DOT 0 DOT 0 DOT 1> <jbednbQ7qIihcJrVnZ2dnUVZ_i2dnZ2d AT giganews DOT com> | |
NNTP-Posting-Host: | 88.68.35.218 |
Mime-Version: | 1.0 |
X-Trace: | posting.google.com 1208484623 9894 127.0.0.1 (18 Apr 2008 02:10:23 GMT) |
X-Complaints-To: | groups-abuse AT google DOT com |
NNTP-Posting-Date: | Fri, 18 Apr 2008 02:10:23 +0000 (UTC) |
Complaints-To: | groups-abuse AT google DOT com |
Injection-Info: | 26g2000hsk.googlegroups.com; posting-host=88.68.35.218; |
posting-account=OsAajgoAAADdKJnkJkmhzqP0jo6I_P_0 | |
User-Agent: | G2/1.0 |
X-HTTP-UserAgent: | Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) |
AppleWebKit/48 (like Gecko) Safari/48,gzip(gfe),gzip(gfe) | |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Robbie Hatley schrieb: [snip] > I'm curious: Have any of the others in these two groups had > problems running perldoc on DJGPP on Win2K? Or more to the > point, can anyone here SUCCESSFULLY run DJGPP perldoc on > Win2K? I'm wondering if this is a widespread bug, or just > some fluke of setup of the 2 machines I'm seeing it on. Perl 5.8.8 compiled with djdev203 runs flawlessly on my Win98SE box and perl 5.8.8 compiled with djdev204 runs flawlessly on my WinXP box too. I can not reproduce the error you are reporting in any way. Even if I let point TMPDIR to a non-existing directory, Perl continues working without any problem. The rule that Perl uses to create temporary files is as follows: 1) Evaluate TMPDIR, TMP and TEMP in that order and determinate if that directory exists *and* is writable. If not descard the pointer and try the next environment variable. 2) If non of them worked the try /tmp. This means that it assumes that the current partition has a /tmp directory. If this is proven untrue The it defaults to /. It creats the temporary file in the root directory of the current partition. It must be noticed that Perl always checks for existance and for write rights of the directory before trying to create the file. The length of the temporary name has no influence; you use a LFN system. > I know that djgpp perldoc USED to work on Win2k. But after > a hard-disk crash a few months ago, I recreated my djgpp folder > with all the lastest stuff, almost certainly newer versions; > so I'm suspecting this may be a bug in the 5.8.8 version > of djgpp Perl. > > Is anyone here running DJGPP and Perl 5.8.8 on Win2K? If so, > please try this: Run Bash, then at Bash prompt type > "perldoc perl". Do you get "invalid argument in perldoc.pm > line 1483"? Or does it work fine? No, it always works on all OS I have tried on different computers. I am afraid that something is really brocken in your installation. For some reason the opening of the temporary file is not possible on your system. Regards, Juan M. Guerrero
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |