2.0.1 Dependency Hell, was:2.0.1 issue: complains about missing gtkhtml.3.0.dll
[email protected] ("André Jansen") Thu, 29 May 2008 01:51:10 +0200
| Newsgroups | php.gtk.general |
|---|---|
| Message-ID | <[email protected]> |
On 28 May 2008 at 15:04, Elizabeth M Smith wrote: > > You can try renaming the libgtkhtml-3.1.4.dll or whatever it is to the > expected filename. It appears that the libraries I used to build gtkhtml > were messed up - you can get it to run after the rename. The missing DLL that php-win.exe complained about was called gtkhtml- 3.0.dll, so I made a copy of libgtkhtml-3.14-18 and renamed it. No luck, it loaded successfully BUT then there was a complaint about an entry point that could not be found :-(. 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. So I went to take a look at the php-gtk install that I had actually been using up till now, which was the 2.0 beta (which is *not* in my path) and all of the DLLs subject of the complaints were included in this install, but actually missing from 2.0.1 I then proceeded to simply copy over the missing DLLs from the 2.0 beta install, and it seems to work, the complaints stopped. But I probably ended up with an inconsistent gtk runtime. The "can't find entry point in gtkhtml-3.0.dll" complaint however persisted. While I was at it, I replaced php_gtk_html2.dll with the older version from 2.0 beta, and libgtkhtml-3.14-18 with the older 3.8-15 version, also from the 2.0 beta. This appears to have solved the GtkHtml problem, at least now the GtkHtml class is visible in the inspector, including its methods and properties. Note, replacing only libgtkhtml does not work. I wonder if I was the only one to run into this problem. I do suspect that many others who have tried 2.0.1 might have an existing, older gtk runtime in their path (Gnope!) and got fooled like I did initially. > > For the record you can find the libraries I used at > ftp://ftp.gnome.org/pub/gnome/binaries/win32/ - including any additional > dependencies I might have missed. GtkHTML is very dependency heavy, and I > might have missed some. Hmm... trying to work out any dependencies that might exist between all that stuff is going to involve some serious tinkering. Cheers, -- André =========================================================== Black Holes were created when God divided by zero.