Bug #75165 [Csd]: libzip package on windows.php.net doesn't include DLLs

From: Date: Thu, 07 Sep 2017 10:54:56 +0000
Subject: Bug #75165 [Csd]: libzip package on windows.php.net doesn't include DLLs
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-210990@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75165&edit=1 ID: 75165 Updated by: ab@php.net Reported by: dktapps at pmmp dot io Summary: libzip package on windows.php.net doesn't include DLLs Status: Closed Type: Bug Package: Compile Failure Operating System: Windows 10 PHP Version: 7.2.0RC1 Assigned To: ab Block user comment: N Private report: N New Comment: Yeah, usually you can omit this if using --enable-snapshot-build as the default configuration will find the correct options. ext/bz2 is shared by default, not sure you'd want to have it static. Thanks. Previous Comments: ------------------------------------------------------------------------ [2017-09-07 10:51:46] ab@php.net Thanks for the additional info. I see what went wrong now. Of course RC1 is not prepared for libzip-1.3.0 but it was marked stable. I've just reverted the stable series to use libzip-1.2.0, so with that it should be fine. Alternatively you can use http://git.php.net/?p=php-src.git;a=commitdiff;h=b9710873540f98bff8be25ac240d106c15d6b784 to be able to build RC1 with the upgraded libzip. There might be still an issue when building shared, but that should be another matter for another ticket. For now the fix is in place, libzip-1.3.0 will be marked stable after the RC2. Thanks. ------------------------------------------------------------------------ [2017-09-07 10:48:45] dktapps at pmmp dot io I missed --enable-zlib from the configure in the last comment. It compiles correctly with configure --disable-all --enable-cli --enable-zip --enable-zlib --with-bz2, however --with-bz2 was not previously necessary. ------------------------------------------------------------------------ [2017-09-07 10:37:16] dktapps at pmmp dot io My build system deletes and recreates the environment for every build, so buildconf is always run and the dependencies are always freshly downloaded. buildconf has been run immediately after installing dependencies using the Windows SDK. My configure command is: configure --disable-all --enable-cli --enable-zip ------------------------------------------------------------------------ [2017-09-07 10:25:21] ab@php.net I see you link libzip_a.lib, so in that case please check you've rerun buildconf, too. Thanks. ------------------------------------------------------------------------ [2017-09-07 10:24:23] ab@php.net Thanks for the report. What is your configure command? The reason for no DLLs is because the 1.3.0's cmake scripts now produce projects for static build only. I'm not sure about the reasons and as ext/zip is compiled statically for the standard build, seemed ok for me. Lets check further. Thanks. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=75165 -- Edit this bug report at https://bugs.php.net/bug.php?id=75165&edit=1

« previous php.bugs (#210990) next »