RESOLVED FIXED 76936
Tests that require PHP will fail under NRWT on a new Cygwin install for Apple's Windows port
https://bugs.webkit.org/show_bug.cgi?id=76936
Summary Tests that require PHP will fail under NRWT on a new Cygwin install for Apple...
Adam Roben (:aroben)
Reported 2012-01-24 13:01:19 PST
Tests that require PHP will fail under NRWT on a new Cygwin install for Apple's Windows port. This is because NRWT doesn't know how to install libphp4.dll like httpd.pm does.
Attachments
patch (1.14 KB, patch)
2012-08-28 18:28 PDT, Roger Fong
thorton: review+
Radar WebKit Bug Importer
Comment 1 2012-01-24 13:03:39 PST
Dirk Pranke
Comment 2 2012-07-17 18:39:28 PDT
okay, with a built and (mostly sort of) working apple win machine, I've copied the file to /usr/lib/apache/libphp4.dll with the following permissions: -rwxr-xr-x 1 dpranke Domain Users 3363586 Jul 11 16:35 libphp4.dll* and yet run-webkit-httpd fails with : % run-webkit-httpd Starting httpd on <http://127.0.0.1:8000/>... Press Ctrl+C to stop it. Syntax error on line 237 of /cygdrive/c/src/wksvn/LayoutTests/http/conf//cygwin-httpd.conf: Cannot load /usr/lib/apache/libphp4.dll into server: No such file or directory Any ideas?
Mark Salisbury
Comment 3 2012-08-27 14:02:09 PDT
I just ran into this same error, but I was attempting to use the old dump render tree. I noticed that libphp4.dll will be copied automatically by run-webkit-tests from LayoutTests/http/conf to /usr/lib/apache/libphp4.dll, but even after this is done it doesn't run. I ran depends.exe against libphp4.dll. There is one library that is missing: minires. Apparently minires is now obsolete: http://cygwin.com/cgi-bin2/package-cat.cgi?file=minires%2Fminires-1.02-1&grep=cygminires.dll If I run the cygwin installer (cygwin-setup), and uncheck 'hide obsolete packages' I can install minires, and run http tests requiring php successfully. In an attempt to see if I could remove this dependency, I tried building php4 from source using archived source tarballs. I can't get php4 to build in cygwin... Anyway, I think the solution to this problem may be installing minires automatically. (thought it is bothering that it's considered obsolete).
Roger Fong
Comment 4 2012-08-28 18:28:14 PDT
Created attachment 161110 [details] patch I was also running into same problem when running http tests with old run webkit tests on Windows. Here's a patch that simply adds the minires package to the list of required packages in the cygwin downloader. Although the executable file download (http://www.webkit.org/building/tools.html) will need to be updated.
Tim Horton
Comment 5 2012-08-28 18:31:21 PDT
Roger says that he's tested to make sure that cygwin still grabs minires despite it being obsolete.
Roger Fong
Comment 6 2012-08-29 12:46:50 PDT
Note You need to log in before you can comment on or make changes to this bug.