PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Bug #1530

header files not installed + dependencies

Details

#1530header files not installed + dependencies
Submitted2004-05-30 14:19 UTC
Frommatt at kynx dot org
StatusOpen
PHP Version5CVS-2004-05-30 (dev)
OSRedHat 9
Roadmaps(Not assigned)

Comments

[2004-05-30 14:19 UTC] matt at kynx dot org

Description:
------------
Seems that the header files (in particular php_pdo_driver.h) were not installed with the package. This caused installation of the drivers to fail.

Workaround was to manually copy the header files from the tar archive to:
/usr/local/include/php/ext/pdo.

Also pdo_mysql-1.0.tgz falsely reports "PHP version >= 5.0.0 is required" and had to be installed with --nodeps.

Can't wait to start using this!

Reproduce code:
---------------
pear install PDO-0.1.1.tgz
pear install --nodeps pdo_mysql-0.1.tgz

Expected result:
----------------
<snip>
Build process completed successfully
Installing 'pdo_mysql.so' at ext_dir (/usr/local/lib/php/20040412/pdo_mysql.so)
install ok: pdo_mysql 0.1

Actual result:
--------------
<snip>
configure: error: Cannot find php_pdo_driver.h.
`/tmp/tmpUfBBnG/pdo_mysql-0.1/configure' failed