Can't install on MAMP

233 views
Skip to first unread message

Chris Curnow

unread,
Aug 11, 2012, 7:25:13 AM8/11/12
to pdo...@googlegroups.com
This really looks like it is going to be more trouble than it's worth. I've spent several hours trying to install PDO_4D.

I think I've solved everything I can solve by searching on Google.

I have all the paths set up correctly and can now issue the command:

sudo pecl install channel://pecl.php.net/PDO_4D-0.3

However,

The last lines of the response read:

In file included from /private/tmp/pear/install/pdo_4d/pdo_4d.c:28:
/private/tmp/pear/install/pdo_4d/php_pdo_4d_int.h:29:10: fatal error: 'fourd.h' file not found
#include <fourd.h>
         ^
1 error generated.
make: *** [pdo_4d.lo] Error 1
ERROR: `make' failed

Any ideas anyone?

regards

Chris

sco...@artic.edu

unread,
Jan 3, 2013, 6:42:51 PM1/3/13
to pdo...@googlegroups.com
Add -I./lib4d_sql to the INCLUDES list in the Makefile and compile manually. 
It would be nice to include a patch in the PECL package.

bhgpscsu...@gmail.com

unread,
Mar 13, 2017, 10:41:50 PM3/13/17
to PDO_4D
I found this article describing how to avoid this error:

http://eosrei.net/articles/2013/06/compiling-pdo4d-extension-recent-versions-php5
Reply all
Reply to author
Forward
0 new messages