(Fwd) pear install broken in PHP 5?
| From: | Stefan Neufeind | Date: | Sun, 06 Jun 2004 23:31:04 +0000 |
| Subject: | (Fwd) pear install broken in PHP 5? | ||
| Groups: | php.pear.core | ||
| Request: | Send a blank email to pear-core+get-373@lists.php.net to get a copy of this message | ||
Did somebody already have time for a look at this? Might be good to
fix by someone with deeper knowledge of the installer (Pierre?)
before the next php5-release.
Stefan
------- Forwarded message follows -------
From: "Wez Furlong" <wez@thebrainroom.com>
To: <pear-core@lists.php.net>
Date sent: Sun, 30 May 2004 16:42:41 +0100
Organization: The Brain Room Ltd.
Subject: [PEAR-CORE] pear install broken in PHP 5?
[ Double-click this line for list subscription options ]
I would appreciate it if one of you could investigate this.
Steps to reproduce:
Get PHP 5 head
% ./configure --prefix=/usr/local/php5
% make install
% PATH="/usr/local/php5/bin:$PATH"
% pear -vvv install -f PDO
...
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).
pdo.so copied to /tmp/tmpDZHXxZ/PDO-0.1.1/pdo.so
Build process completed successfully
Installing 'pdo.so' at ext_dir
(/usr/local/php5/lib/php/extensions/debug-non-zts-20040412/pdo.so)
+ cp /tmp/tmpDZHXxZ/PDO-0.1.1/pdo.so ext_dir
(/usr/local/php5/lib/php/extensions/debug-non-zts-20040412/pdo.so)
rolling back 12 file operations
+ rm /usr/local/php5/lib/php/doc/PDO/.tmpREADME
+ rm /usr/local/php5/lib/php/doc/PDO/.tmpTODO
+ rm /usr/local/php5/lib/php/doc/PDO/.tmppdo.php
+ rm /usr/local/php5/lib/php/doc/PDO/.tmpCREDITS
failed to copy pdo.so to
/usr/local/php5/lib/php/extensions/debug-non-zts-20040412/pdo.so
Digging around shows that the debug-non-zts-20040412 dir does not exist.
I don't know if it is pear's responsibility or that of php "make install" to
create that directory, so I'm checking here.
Manually creating the dir will allow PDO to install.
Now, for the next question... PDO modifies the "install" target so that it can
install its headers for use by the other other PDO modules. It appears as
though "pear install" ignores the install target.
This works fine:
% phpize
% make
% make install
But the pear install doesn't; how can I persuade it to install the headers?
Thanks,
--Wez.
--
PEAR Core List Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
------- End of forwarded message -------