[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: php-pdo won't configure on OS X
this is now fixed, a patch in databases/php-pdo was inadvertely removed
when databases/php-pdo was upgraded to use modules shipped with
You need to update lang/php5 to get new patches/patch-as. Once that file
is in place, you do make clean in databases/php-pdo and then rebuild
I've checked that the package now compiles and works, at least to
the extend that PHP is able to load the extension on Mac OS X
properly. I did not test actual functionality, but I hope that it
would work okay.
On Mon, Jun 22, 2009 at 05:26:54PM -0400, Louis Guillaume wrote:
> Just tried to build databases/php-pdo from pkgsrc-2009Q1 and came up with
> the following failure during the configure stage:
> checking whether to enable PDO support... yes, shared
> configure: error:
> Due to the way that loadable modules work on OSX/Darwin, you need to
> compile the PDO package statically into the PHP core.
> Please follow the instructions at: http://netevil.org/node.php?nid=202
> for more detail on this issue.
> *** Error code 1
> bmake: stopped in /usr/pkgsrc/databases/php-pdo
> *** Error code 1
> ... I believe I was able to build the php-pdo pkgsrc package before (but
> that could have been on NetBSD or Linux).
> I'd really rather not compile PDO into the php core but if that's what I
> have to do, I'll do it. So the question is:
> How can I choose to compile-in PDO as I build lang/php5?
> The pkgsrc Makefile.php has `--without-pdo'. So the PLIST would probably be
> hosed if I un-did that. It would be great if this was handled as an option,
> at least for Darwin/OSX.
> Any help would be great. Thanks,
Jaromir Dolecek <jdolecek%NetBSD.org@localhost> http://www.NetBSD.cz/
-=- We can walk our road together if our goals are all the same; -=-
-=- We can run alone and free if we pursue a different aim. -=-
Main Index |
Thread Index |