Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.16

Bug #1615 "pear build" doesn't create the ext_dir prior to copy
Submitted: 2004-06-11 12:00 UTC
From: cox at idecnet dot com Assigned: cellog
Status: Closed Package: PEAR
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2004-06-11 12:00 UTC] cox at idecnet dot com
Description: ------------ As reported by Wez time ago. Note this bug is *critical* as noone with a new php is avaible to install PECL extensions. # pear build sqlite [..] Build process completed successfully Installing 'radius.so' at ext_dir (/usr/lib/php/extensions/no-debug-non-zts-20020429/radius.so) failed to copy radius.so to /usr/lib/php/extensions/no-debug-non-zts-20020429/radius.so # Here is a patch for Installer.php arround 807 (sorry still no cvs for me): - $dest = $this->config->get('ext_dir') . DIRECTORY_SEPARATOR . $bn; + $ext_dir = $this->config->get('ext_dir'); + $this->log(3, "+ mkdir -p $ext_dir"); + if (!@is_dir($ext_dir) && !System::mkdir(array('-p', $ext_dir))) { + return $this->raiseError("failed to create extension dir '$ext_dir'"); + } + $dest = $ext_dir . DIRECTORY_SEPARATOR . $bn; Tomas V.V.Cox

Comments

 [2004-06-12 05:38 UTC] cellog
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.