Re: Enchant packaging issue.
| From: | Pierre Joye | Date: | Thu, 15 Oct 2009 12:28:07 +0000 |
| Subject: | Re: Enchant packaging issue. | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-29640@lists.php.net to get a copy of this message | ||
hi,
Remove all enchant and glib related modules. Fetch:
http://pecl2.php.net/downloads/php-windows-builds/php-libs/VC9/x86/glib-2.22.0-vc9-x86.zip
http://pecl2.php.net/downloads/php-windows-builds/php-libs/VC9/x86/libenchant-1.5.0-vc9-x86.zip
and put the dll (in the bin directory) in c:\php (or where you have
your php install.
Then try:
cd php
php -d extension_dir=ext -d extension=php_enchant.dll -m
it should work as expected.
Cheers,
On Thu, Oct 15, 2009 at 12:23 PM, Richard Quadling
<rquadling@googlemail.com> wrote:
> Hi.
>
> Has this extension been changed to use differently named external libraries.
>
> Previously in V5.3.2-dev, php_enchant.dll was working with ...
>
> libglib-2.0.0-0.dll
> libgmodule-2.0-0.dll
>
> This is no longer the case.
>
> I've had to copy (not rename - see below) these to
>
> glib-2.dll
> gmodule-2.dll
>
> to get enchant to work again.
>
> What is odd, in looking through my dependency viewer...
>
> C:\PHP5\ext\PHP_ENCHANT.DLL requires C:\PHP5\PHP5.DLL and C:\PHP5\LIBENCHANT.DLL
>
> Nothing wrong so far.
>
> C:\PHP5\LIBENCHANT.DLL requires C:\PHP5\GLIB-2.DLL and C:\PHP5\GMODULE-2.DLL
>
> This is where the change has happened.
>
> BUT...
>
> C:\PHP5\GMODULE-2.DLL requires C:\PHP5\LIBGLIB-2.0-0.DLL
>
> So I've now got 2 identical versions of LIBGLIB-2.0-0.DLL loaded (via
> different names).
>
> As I'm on windows, I can't have a unix style link for the name.
>
>
> Renaming C:\PHP5\LIBGLIB-2.0-0.DLL to C:\PHP5\LIBGLIB-2.0-0.DLLORG
> generates the usual error regarding missing libraries.
>
> See
> http://pearl.slingfile.com/dl/78ce6dbf23973ba2c40a794a3e30f8b5/4ad6e20c/hd1/sf/uploads/image/223787/LibEnchant%20Issue.png
> for screenshot
>
>
> Regards,
>
> Richard.
>
> --
> -----
> Richard Quadling
> "Standing on the shoulders of some very clever giants!"
> EE : http://www.experts-exchange.com/M_248814.html
> Zend Certified Engineer :
> http://zend.com/zce.php?c=ZEND002498&r=213474731
> ZOPA : http://uk.zopa.com/member/RQuadling
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Pierre
http://blog.thepimp.net | http://www.libgd.org