php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #50920 missing arpa\nameser.h
Submitted: 2010-02-03 01:22 UTC Modified: 2010-02-04 08:20 UTC
From: paul at ensigma dot com dot au Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.2.12 OS: Windows XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: paul at ensigma dot com dot au
New email:
PHP Version: OS:

 

 [2010-02-03 01:22 UTC] paul at ensigma dot com dot au
Description:
------------
1. read build/install notes for windows
2. ran:

  > cscript /nologo configure.js --with-sqlite --with-pdo-sqlite

3. Got:

Checking for mt.exe ...  C:\Program Files\\Microsoft SDKs\Windows\v6.0A\bin
Checking for arpa\nameser.h ...  <not found>
Checking for arpa\nameser.h ...  <not found>
ERROR: We really need that arpa\nameser.h file - it is part of the win32build package

Reproduce code:
---------------
run:

cscript /nologo configure.js --with-sqlite --with-pdo-sqlite

Expected result:
----------------
successful generation of build scripts.

Actual result:
--------------
failure to generate build scripts due to missing file arpa\nameser.h

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-02-03 02:31 UTC] pajoye@php.net
5.2 does not support this SDK.

If you like to compile PHP yourself easily, please use 5.3 and follow these instructions:

http://wiki.php.net/internals/windows/stepbystepbuild
 [2010-02-03 02:31 UTC] pajoye@php.net
5.2 does not support this SDK.

If you like to compile PHP yourself easily, please use 5.3 and follow these instructions:

http://wiki.php.net/internals/windows/stepbystepbuild
 [2010-02-03 03:16 UTC] paul at ensigma dot com dot au
The decision to use 5.2.12 was a conscious one - I have reasons not to want 5.3. Why is the bug bogus? I followed the instructions that were in the tarball and got any error due to a missing file. When you say "does not support this SDK", what SDK are you referring to? Given what you have said this still seems to be a bug in the build environment or a bug in the documentation.
 [2010-02-03 10:21 UTC] pajoye@php.net
I closed it as it is not bug, you miss the header/lib which are not part of the SDK.

For 5.2, you need:
- Visual C++ 6 (SP6 only)
- SDK 2003/02, see http://wiki.php.net/internals/windows/windowssdk

And the header you miss is part of the bindlib, find the VC6 version here:
http://pecl2.php.net/downloads/php-windows-builds/php-libs/VC6/x86/

As explained in the wiki.
 [2010-02-04 01:51 UTC] paul at ensigma dot com dot au
Thanks for the extra details. The README.WIN32-BUILD-SYSTEM is a lot less clear than the wiki entry on building 5.3. I can now see where I went wrong and the error message is actually very informative,... Mea Culpa,.. apologies for the spurious report.

For those who follow,... if you read this bug report you almost certainly want to check out:

   http://www.php.net/extra/win32build.zip
 [2010-02-04 08:20 UTC] pajoye@php.net
I wonder how to say that without repeating myself.

No, you don't want this outdated file, and no, the README is not correct.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 23:01:34 2024 UTC