Re: Re: SVN PHP extension
| From: | Anatol Belski | Date: | Thu, 06 Feb 2014 12:33:27 +0000 |
| Subject: | Re: Re: SVN PHP extension | ||
| References: | 1 2 3 4 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-11501@lists.php.net to get a copy of this message | ||
Hi Jan,
On Wed, February 5, 2014 14:45, Jan Ehrhardt wrote:
> "Anatol Belski" in php.pecl.dev (Wed, 5 Feb 2014 13:56:49 +0100):
>
>> Hi Jan,
>>
>>
>>> The DLL's are from
>>> http://sourceforge.net/projects/win32svn/files/
>>> You will have to put them in your path or in the directory of php.exe.
>>>
>>>
>>> I had to tweak the config.w32 a littke bit to make it compile,
>>> because nobody has libsvn_ra_dav-1.lib. So I removed the check for
>>> that lib.
>>>
>> I saw that bins as well. Just as on reads at the project page "These
>> binaries are built using Visual C++ 6.0", that's exactly what we should
>> avoid. As mixing CRT can lead to unexpected bugs and as a consequence
>> erroneous bug reports. Just cross the fingers and pray it's not the
>> case
>> :)
>>
>
> I missed the part about VC6, but you are right. Wandisco has VC9 DLL's,
> but no libs.
>
> http://www.wandisco.com/subversion/download#windows
>
>
if that DLLs are only what is needed, one could go a tricky way and
generate libs for them. It should be relatively easy using 'dumpbin
/exports' to create a def file and then 'lib /def:file.def /out:file.lib
/machine:x86' to create the lib. That could work for vc9 part, however the
care has to be taken about the correct headers. But that's just the way to
hose the destiny :)
Regards
Anatol