« Return to Thread: 2.0.1 issue: complains about missing gtkhtml.3.0.dll

Re: Re: 2.0.1 Dependency Hell, was:2.0.1 issue: complains about missing gtkhtml.3.0.dll

by André Jansen-3 :: Rate this Message:

Reply to Author | View in Thread

On 28 May 2008 at 20:40, Elizabeth M Smith wrote:

> André Jansen wrote:
> >
> > I used Sysinternals' Process Explorer and Process Monitor to try to
> > figure out what was happening, and I noticed that php-win.exe was
> > loading quite some gtk stuff from another, older gtk runtime (gnope,
> > methinks) that happened to be in my path. Just to make sure, I removed
> > it from my path and tried again. There were *lots* of loud complaints
> > about missing DLLs.
> >
>
> Actually, did you restart after removing them from your PATH?  No-one has
> had any issues with the stock PHP-GTK2 2.0.1 (no php-gtk extensions) using
> the supplied libraries - on a virgin system.  The issue is changing the
> Windows PATH without restarting is ...flakey at best.  I usually tell
> people to PLEASE make sure they don't have gnope installed or have any
> other PHP or GTK in their PATH environment variables.  It just turns using
> any version of GTK into dll hell (as you've seen). Instead if you leave
> the gtk libraries in the same directory as php.exe (or php-win.exe) they
> will be found and loaded.  The problem is that windows searches PATH first
> - hence the issues.
>
Of course I did restart, since I know that changing just about anything
in Windows without following up with a reboot is likely to produce flaky
results. Experience gained from god knows how many win2k and winxp
desktop machine rebuilds...

I'll be trying 2.0.1 on one of my spare win2k machines... they never had
gnope or GIMP (another possible source of gtk runtime in path), though
both have php-gtk 2.0 beta. I'll just replace the 2.0 beta with the 2.0.1
and see what happens and let you know. Might be a few days before I get
back. I need gd2, mbstring, and mysqli so I might run into some issues.

Cheers,
--
André
===========================================================
Black Holes were created when God divided by zero.


--
PHP-GTK General Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

 « Return to Thread: 2.0.1 issue: complains about missing gtkhtml.3.0.dll