php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #22743 link error when building /win32/php4ts.dsw
Submitted: 2003-03-17 07:22 UTC Modified: 2003-03-27 04:48 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:2 (66.7%)
From: vbhackattack at hotmail dot com Assigned: sfox (profile)
Status: Closed Package: Documentation problem
PHP Version: 4.3.1 OS: Windows 2000
Private report: No CVE-ID: None
 [2003-03-17 07:22 UTC] vbhackattack at hotmail dot com
php.exe is not compilable using the instructions at /manual/en/install.windows.php#install.windows.build and the MS VC++ project file under /win32 for all 3 source versions:
- latest version complete source (php-4.3.1)
- PHP snapshots latest CVS (4.5.x-dev)
- PHP snapshots latest CVS (5.0.x-dev)

Symptom (on MS Windows 2000 using MS VC++ 6):
...
----Configuration: php4dllts - Win32 Release_TS----
...
Linking...
LINK : fatal error LNK1181: cannot open input file "zlib.lib"
Error executing link.exe.
php.exe - 1 error(s), 21 warning(s)

Reason: 
php4dllts.dsp in php4ts.dsw contains a link.exe command that links zlib.lib which is neither included in the source package nor accounted for in the instructions.

One possible resolution: update /extra/win32build.zip to include CVS [PHP] /zlib and update /manual/en/install.windows.php with instructions to build and manage zlib.lib

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-17 16:10 UTC] edink@php.net
Steph promissed to look into this. Assigning to her.
 [2003-03-26 09:17 UTC] kieran dot kennedy at esbi dot ie
Have ou any ideas yet how to solve this problem?
 [2003-03-26 12:36 UTC] sfox@php.net
I only just found out about this assignation!

It's the second thing on my TODO @ present, I have to complete current work first.  Please be patient.  (Until next week.)
 [2003-03-27 04:48 UTC] edink@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

An updated extra/win32build.zip will appear on the web site shortly.
 [2003-03-31 03:37 UTC] kieran dot kennedy at esbi dot ie
Hi,
 Could you please tell me if the correct zip file has been posted.
 Regards Kieran
 [2003-03-31 03:37 UTC] kieran dot kennedy at esbi dot ie
Hi,
 Could you please tell me if the correct zip file has been posted.
 Regards Kieran
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Jan 18 09:01:28 2021 UTC