<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>76936</bug_id>
          
          <creation_ts>2012-01-24 13:01:19 -0800</creation_ts>
          <short_desc>Tests that require PHP will fail under NRWT on a new Cygwin install for Apple&apos;s Windows port</short_desc>
          <delta_ts>2012-08-29 13:31:52 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 7</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, NRWT, PlatformOnly</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>38756</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Adam Roben (:aroben)">aroben</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dpranke</cc>
    
    <cc>eric</cc>
    
    <cc>jberlin</cc>
    
    <cc>jhoneycutt</cc>
    
    <cc>lforschler</cc>
    
    <cc>mark.salisbury</cc>
    
    <cc>roger_fong</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wsiegrist</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>541588</commentid>
    <comment_count>0</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2012-01-24 13:01:19 -0800</bug_when>
    <thetext>Tests that require PHP will fail under NRWT on a new Cygwin install for Apple&apos;s Windows port. This is because NRWT doesn&apos;t know how to install libphp4.dll like httpd.pm does.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>541591</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2012-01-24 13:03:39 -0800</bug_when>
    <thetext>&lt;rdar://problem/10747608&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>671861</commentid>
    <comment_count>2</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2012-07-17 18:39:28 -0700</bug_when>
    <thetext>okay, with a built and (mostly sort of) working apple win machine, I&apos;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 &lt;http://127.0.0.1:8000/&gt;...
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?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>705649</commentid>
    <comment_count>3</comment_count>
    <who name="Mark Salisbury">mark.salisbury</who>
    <bug_when>2012-08-27 14:02:09 -0700</bug_when>
    <thetext>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&apos;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&amp;grep=cygminires.dll

If I run the cygwin installer (cygwin-setup), and uncheck &apos;hide obsolete packages&apos; 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&apos;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&apos;s considered obsolete).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>706970</commentid>
    <comment_count>4</comment_count>
      <attachid>161110</attachid>
    <who name="Roger Fong">roger_fong</who>
    <bug_when>2012-08-28 18:28:14 -0700</bug_when>
    <thetext>Created attachment 161110
patch

I was also running into same problem when running http tests with old run webkit tests on Windows.
Here&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>706974</commentid>
    <comment_count>5</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2012-08-28 18:31:21 -0700</bug_when>
    <thetext>Roger says that he&apos;s tested to make sure that cygwin still grabs minires despite it being obsolete.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>707758</commentid>
    <comment_count>6</comment_count>
    <who name="Roger Fong">roger_fong</who>
    <bug_when>2012-08-29 12:46:50 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/126948</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>161110</attachid>
            <date>2012-08-28 18:28:14 -0700</date>
            <delta_ts>2012-08-28 18:30:08 -0700</delta_ts>
            <desc>patch</desc>
            <filename>76936_patch.txt</filename>
            <type>text/plain</type>
            <size>1171</size>
            <attacher name="Roger Fong">roger_fong</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDEyNjk0NykKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDEyIEBACisyMDEyLTA4LTI4ICBSb2dlciBGb25nICA8cm9nZXJfZm9uZ0BhcHBsZS5jb20+
CisKKyAgICAgICAgQWRkIG1pbmlyZXMgdG8gbGlzdCBvZiByZXF1aXJlZCBjeWd3aW4gaW5zdGFs
bCBwYWNrYWdlcy4KKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dp
P2lkPTc2OTM2CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAg
ICAgKiBDeWd3aW5Eb3dubG9hZGVyL2N5Z3dpbi1kb3dubG9hZGVyLnB5OgorCiAyMDEyLTA4LTI4
ICBYaWFuemh1IFdhbmcgIDx3YW5neGlhbnpodUBjaHJvbWl1bS5vcmc+CiAKICAgICAgICAgW0No
cm9taXVtLUFuZHJvaWRdIFVwc3RyZWFtIGxheW91dCB0ZXN0IGV4cGVjdGF0aW9ucyAoUGFydCAy
KQpJbmRleDogVG9vbHMvQ3lnd2luRG93bmxvYWRlci9jeWd3aW4tZG93bmxvYWRlci5weQo9PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09Ci0tLSBUb29scy9DeWd3aW5Eb3dubG9hZGVyL2N5Z3dpbi1kb3dubG9hZGVyLnB5CShy
ZXZpc2lvbiAxMjY5MzMpCisrKyBUb29scy9DeWd3aW5Eb3dubG9hZGVyL2N5Z3dpbi1kb3dubG9h
ZGVyLnB5CSh3b3JraW5nIGNvcHkpCkBAIC01Niw2ICs1Niw3IEBAIHJlcXVpcmVkX3BhY2thZ2Vz
ID0gZnJvemVuc2V0KFsiYXBhY2hlIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAi
Z3BlcmYiLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJrZXljaGFpbiIsCiAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgIm1ha2UiLAorICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICJtaW5pcmVzIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAibmFu
byIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIm9wZW5zc2giLAogICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICJwYXRjaCIsCg==
</data>
<flag name="review"
          id="171802"
          type_id="1"
          status="+"
          setter="thorton"
    />
          </attachment>
      

    </bug>

</bugzilla>