Comments (4)
Hi Jan! Generally, they should work. The config.w32 might be quite broken though. Looks like the right AC_DEFINE()'s are missing. Important is, tough, that only master or release branches are working together, and not e.g. one ext from master and one ext from R_*.
from ext-http.
If I use the 3 extensions from master, the configure fails with
C:\php-sdk\php70dev\configure.js(1443, 2) Microsoft JScript runtime error: Object doesn't support this property or method
I had to revert the config.w32's to more or less the previous state. The configure seems to stumble over the for loop with copy_and_subst.
With reverted config.w32's, the Windows build script seems to expect at least one *.c file in the root of the extension. Otherwise the linking at the end fails. I solved this by adding an empty php_propro.c in the root: https://github.com/Jan-E/ext-propro/commit/c5335b939463f059cc184fbac89926920579d2d5
And even with working config.w32's the cUrl support is broken. See the errors in the first message above.
Complete listing while building from master:
C:\php-sdk\php70dev\ext>git clone https://github.com/m6w6/ext-http http
Cloning into 'http'...
remote: Counting objects: 12537, done.
remote: Total 12537 (delta 0), reused 0 (delta 0), pack-reused 12537
Receiving objects: 100% (12537/12537), 3.00 MiB | 484.00 KiB/s, done.
Resolving deltas: 100% (9278/9278), done.
Checking connectivity... done.
C:\php-sdk\php70dev\ext>git clone https://github.com/m6w6/ext-raphf raphf
Cloning into 'raphf'...
remote: Counting objects: 772, done.
remote: Total 772 (delta 0), reused 0 (delta 0), pack-reused 772
Receiving objects: 100% (772/772), 557.85 KiB | 301.00 KiB/s, done.
Resolving deltas: 100% (436/436), done.
Checking connectivity... done.
C:\php-sdk\php70dev\ext>git clone https://github.com/m6w6/ext-propro propro
Cloning into 'propro'...
remote: Counting objects: 599, done.
remote: Total 599 (delta 0), reused 0 (delta 0), pack-reused 599
Receiving objects: 100% (599/599), 311.29 KiB | 367.00 KiB/s, done.
Resolving deltas: 100% (354/354), done.
Checking connectivity... done.
C:\php-sdk\php70dev\ext>cd ..
C:\php-sdk\php70dev>buildconf
Rebuilding configure.js
Now run 'configure --help'
C:\php-sdk\php70dev>cscript /nologo configure.js --with-curl --enable-propro --enable-raphf --enable-http
Saving configure options to config.nice.bat
Checking for cl.exe ... <in default path>
Detected compiler MSVC14 (Visual C++ 2015)
Detected 32-bit compiler
Checking for link.exe ... C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN
Checking for nmake.exe ... <in default path>
Checking for lib.exe ... <in default path>
Checking for bison.exe ... <in default path>
Checking for re2c.exe ... <in default path>
Detected re2c version 0.13.5
Checking for zip.exe ... <in default path>
Checking for lemon.exe ... <not found>
Checking for mc.exe ... C:\Program Files (x86)\Windows Kits\8.1\bin\x86
Checking for mt.exe ... C:\Program Files (x86)\Windows Kits\8.1\bin\x86
Enabling multi process build
Build dir: C:\php-sdk\php70dev\Release_TS
PHP Core: php7ts.dll and php7ts.lib
Checking for wspiapi.h ... <in default path>
Enabling IPv6 support
Enabling SAPI sapi\cgi
Enabling SAPI sapi\cli
Enabling extension ext\bcmath
Enabling extension ext\calendar
Checking for library oleaut32.lib ... <in LIB path> OleAut32.Lib
Enabling extension ext\com_dotnet
Checking for mscoree.h ... <in default path>
Enabling extension ext\ctype
Checking for library libcurl_a.lib;libcurl.lib ... ..\win32build\lib\libcurl_a.lib
Checking for curl/easy.h ... C:\php-sdk\win32build\include
Checking for library ssleay32.lib ... ..\win32build\lib\ssleay32.lib
Checking for library libeay32.lib ... ..\win32build\lib\libeay32.lib
Checking for library winmm.lib ... <in LIB path> WinMM.Lib
Checking for library wldap32.lib ... <in LIB path> Wldap32.Lib
Enabling extension ext\curl [shared]
Enabling extension ext\date
Enabling extension ext\filter
Enabling extension ext\ftp [shared]
Checking for openssl/ssl.h ... C:\php-sdk\win32build\include
Checking for library ssleay32.lib ... ..\win32build\lib\ssleay32.lib
Checking for library libeay32.lib ... ..\win32build\lib\libeay32.lib
Enabling SSL support for ext\ftp
Checking for library libjpeg_a.lib;libjpeg.lib ... ..\win32build\lib\libjpeg_a.lib
Checking for library freetype_a.lib;freetype.lib ... ..\win32build\lib\freetype_a.lib
Checking for ft2build.h ... C:\php-sdk\win32build\include
Checking for library libpng_a.lib;libpng.lib ... ..\win32build\lib\libpng_a.lib
Checking for gd.h ... ext\gd\libgd
Checking for png.h ... C:\php-sdk\win32build\include
Checking for library libiconv_a.lib;libiconv.lib ... ..\win32build\lib\libiconv_a.lib
Checking for iconv.h ... C:\php-sdk\win32build\include
Checking for library libXpm_a.lib ... ..\win32build\lib\libxpm_a.lib
Checking for xpm.h ... C:\php-sdk\win32build\include\X11
Checking for library libwebp_a.lib ... <not found>
Checking for library libwebp.lib ... ..\win32build\lib\libwebp.lib
Checking for decode.h ... C:\php-sdk\win32build\include\webp
Checking for encode.h ... C:\php-sdk\win32build\include\webp
Checking for library User32.lib ... <in LIB path> User32.Lib
Checking for library Gdi32.lib ... <in LIB path> Gdi32.Lib
Enabling extension ext\gd [shared]
Enabling extension ext\hash
Checking for library libiconv_a.lib ... ..\win32build\lib\libiconv_a.lib
Checking for iconv.h ... C:\php-sdk\win32build\include
Enabling extension ext\iconv
Enabling extension ext\json
Checking for library ws2_32.lib ... <in LIB path> WS2_32.Lib
Enabling extension ext\mysqlnd
Checking for zlib.h ... ..\zlib
Enabling extension ext\opcache [shared]
Enabling extension ext\pcre
Enabling extension ext\propro
C:\php-sdk\php70dev\configure.js(1443, 2) Microsoft JScript runtime error: Object doesn't support this property or method
from ext-http.
Hm... looks like AC_DEFINE("PHP_HTTP_HAVE_CLIENT", 1, "Have HTTP client support");
did unexpectedly vanish in config.w32.
Ad missing source file in root: the build system really should not depend on that; I think that's something for the Windows team to fix?
from ext-http.
Ad missing source file in root: the build system really should not depend on that; I think that's something for the Windows team to fix?
I will create a PR for the Windows build system to fix this
from ext-http.
Related Issues (20)
- Compilation Error HOT 1
- Build error with php 7.4.13 on master and v4.0.0beta1 HOT 1
- Parsing url with unicode characters HOT 2
- PHP 8.0 - Windows 10 x64 - Unable to load dynamic library 'http' HOT 1
- BROTLI lib version not displayed HOT 5
- PHP 8.1: Implement __serialize() and __unserialize() HOT 3
- Test failure since libcurl 7.77 HOT 2
- ext-http delays PHP startup by 5 seconds on macOS HOT 18
- Test failure with 8.1.0beta3
- HTTPS does not seem to work on Windows? HOT 17
- Segfault with libcurl 7.81 HOT 4
- Cookie tests fail for 3.2.5 on CentOS 7 with custom-built php/curl HOT 3
- Installing on FreeBSD after 4.2.1 HOT 3
- Can not install in PHP 8.2 Alpine docker image HOT 1
- Windows; extension loaded but offers no functions? HOT 5
- Test failing with libcurl 8.0 HOT 1
- .ddl for php 8.2 ? HOT 2
- Error using ssl array in options : Could not set option tlsauthtype (An unknown option was passed in to libcurl) HOT 10
- Windows TCP may cause issues when working with VMware Linux Guest on LAN, for specific payload length HOT 5
- Glitch in CURL_VERSION_TLSAUTH_SRP autoconf probe HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ext-http.