Bug in go-pear
| From: | Phil Gyford | Date: | Fri, 03 Dec 2004 15:12:27 +0000 |
| Subject: | Bug in go-pear | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-15991@lists.php.net to get a copy of this message | ||
Hi,
I've just tried using http://pear.php.net/go-pear for
the first time,
and I think I've found a little bug... After configuration I get:
Error
System's Tempdir failed, trying to use $prefix/tmp ...mkdir failed: /
mkdir /tmp ... failed
Looking at the code it looks like line 1104 should include $prefix as
a global. After adding this I get:
Error
System's Tempdir failed, trying to use $prefix/tmp ...
chdir ... failed
Which looks like it comes from line 1162 ("// This should not happen,
really ;)", heh). I'm guessing this is because $ptmp has no value,
because tmp_dir() is called before $ptmp is set (up around line 400).
If this is better reported elsewhere I'm happy to do so - I just
wasn't sure where. Do point me in the right direction!
PHP 4.3.6 on Linux susie 2.4.21.
Cheers,
Phil