Re: [PECL-DEV] Compiling CURL staticaly into PHP on Windows

2013-10-22 Thread Pierre Joye
On Tue, Oct 22, 2013 at 9:20 PM, Kevin Ingwersen wrote: > Hello! > > Thank you all for your great support. I have just returned from a trip and > will try to change the config.w32 file. Let's see if that will work, > otherwise I dont mind compiling my own libcurl with the suggested method to >

Re: [PECL-DEV] Compiling CURL staticaly into PHP on Windows

2013-10-22 Thread Jan Ehrhardt
Kevin Ingwersen in php.pecl.dev (Tue, 22 Oct 2013 21:20:48 +0200): >On MacOS i know how to check if a file is static, and what it depends on. >(otool -L ). But not on windows. Maybe when I google some, I can >figure that out, and see how the libcurl in the deps folder is built - >hopefuly though :)

Re: [PECL-DEV] Compiling CURL staticaly into PHP on Windows

2013-10-22 Thread Kevin Ingwersen
Hello! Thank you all for your great support. I have just returned from a trip and will try to change the config.w32 file. Let's see if that will work, otherwise I dont mind compiling my own libcurl with the suggested method to get it fully static. On MacOS i know how to check if a file is stati

Re: [PECL-DEV] Compiling CURL staticaly into PHP on Windows

2013-10-22 Thread Jan Ehrhardt
Pierre Joye in php.pecl.dev (Tue, 22 Oct 2013 14:39:59 +0200): >I would never ever suggest to compile ssl statically. I do not want to be dependent on SSL DLL's with flaws in it. See this bug in the SSL 0.9.8 libraries: http://sourceforge.net/p/curl/bugs/1037/?page=3 That is why I patched SSL 0.9.

Re: [PECL-DEV] Compiling CURL staticaly into PHP on Windows

2013-10-22 Thread Jan Ehrhardt
Jan Ehrhardt in php.pecl.dev (Tue, 22 Oct 2013 14:18:26 +0200): >This will not work with the deps in >http://windows.php.net/downloads/php-sdk/ >because libcurl_a.lib, libssh2_a.lib, ssleay32_a.lib and libeay32_a.lib >in those deps all are dependent on libeay32.dll and/or ssleay32.dll. I checked a

Re: [PECL-DEV] Compiling CURL staticaly into PHP on Windows

2013-10-22 Thread Pierre Joye
On Tue, Oct 22, 2013 at 2:18 PM, Jan Ehrhardt wrote: > Pierre Joye in php.pecl.dev (Tue, 22 Oct 2013 09:47:03 +0200): >>hi, >> >>On Tue, Oct 22, 2013 at 9:28 AM, Jan Ehrhardt wrote: >>> Intriguing question by Kevin. I once made a curl.exe without any need >>> for external DLL's, not even libeay32

Re: [PECL-DEV] Compiling CURL staticaly into PHP on Windows

2013-10-22 Thread Jan Ehrhardt
Pierre Joye in php.pecl.dev (Tue, 22 Oct 2013 09:47:03 +0200): >hi, > >On Tue, Oct 22, 2013 at 9:28 AM, Jan Ehrhardt wrote: >> Intriguing question by Kevin. I once made a curl.exe without any need >> for external DLL's, not even libeay32.dll and the like. Only the >> standard Windows dll's and the

Re: [PECL-DEV] Compiling CURL staticaly into PHP on Windows

2013-10-22 Thread Pierre Joye
hi, On Tue, Oct 22, 2013 at 9:28 AM, Jan Ehrhardt wrote: > Johannes Schlüter in php.pecl.dev (Mon, 21 Oct 2013 16:00:50 +0200): >>On Mon, 2013-10-21 at 14:28 +0200, Kevin Ingwersen wrote: >>> Is there anything I could do? I thought about editing config.w32 - but I had >>> my doubts on that one. >

Re: [PECL-DEV] Compiling CURL staticaly into PHP on Windows

2013-10-22 Thread Jan Ehrhardt
Johannes Schlüter in php.pecl.dev (Mon, 21 Oct 2013 16:00:50 +0200): >On Mon, 2013-10-21 at 14:28 +0200, Kevin Ingwersen wrote: >> Is there anything I could do? I thought about editing config.w32 - but I had >> my doubts on that one. > >Why doubts? That file defines what s possible. > >In there one

Re: [PECL-DEV] Compiling CURL staticaly into PHP on Windows

2013-10-21 Thread Johannes Schlüter
On Mon, 2013-10-21 at 16:14 +0200, Kevin Ingwersen wrote: > So, making it look like: > EXTENSION("curl", "interface.c multi.c share.c curl_file.c", false); > instead may fix this? I am going to try. This forces static, remove the option to let the configure options decide. > I had my doubts becau

Re: [PECL-DEV] Compiling CURL staticaly into PHP on Windows

2013-10-21 Thread Kevin Ingwersen
So, making it look like: EXTENSION("curl", "interface.c multi.c share.c curl_file.c", false); instead may fix this? I am going to try. I had my doubts because it could be that the extension was made in a way that made a static compile impossible. Am 21.10.2013 um 16:00 schrieb Johannes Schlüter :

Re: [PECL-DEV] Compiling CURL staticaly into PHP on Windows

2013-10-21 Thread Johannes Schlüter
On Mon, 2013-10-21 at 14:28 +0200, Kevin Ingwersen wrote: > Is there anything I could do? I thought about editing config.w32 - but I had > my doubts on that one. Why doubts? That file defines what s possible. In there one can read EXTENSION("curl", "interface.c multi.c share.c curl_file.c", true