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

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] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!