Re: Bug in go-pear
| From: | Greg Beaver | Date: | Fri, 03 Dec 2004 20:37:52 +0000 |
| Subject: | Re: Bug in go-pear | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15995@lists.php.net to get a copy of this message | ||
Phil Gyford wrote:
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!Would you please give it another try at about 4:30PM EST? I just committed a fix for these problems. Nice sleuthing, made the fixing a piece of cake. Greg