Edit report at https://bugs.php.net/bug.php?id=56081&edit=1

 ID:               56081
 Updated by:       [email protected]
 Reported by:      matt at kynx dot org
 Summary:          header files not installed + dependencies
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          *General Issues
 Operating System: RedHat 9
 PHP Version:      5CVS-2004-05-30 (dev)

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


Previous Comments:
------------------------------------------------------------------------
[2011-12-26 09:52:49] matt at kynx dot org

Can't remember having this problem in the last seven-odd years of using PDO ;)

Think it's safe to close. 

Happy hols.

------------------------------------------------------------------------
[2011-12-24 06:25:20] [email protected]

Please try using this snapshot:

  http://snaps.php.net/php5.4-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/



------------------------------------------------------------------------
[2004-05-30 10:19:59] 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



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=56081&edit=1

Reply via email to