[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: failed on zlib when build svn on Windows

From: Gavin Baumanis <gavinb_at_thespidernet.com>
Date: Mon, 28 Mar 2011 11:47:09 +1100

Hi Justin,

Everyone within the development "team" is really busy at the moment with finishing off tasks required for the 1.7 release.
So your mail not get the immediate attention you're after.

I am not an SVN developer - so unfortunately I am unable to assist you.

It's not meant personally towards you at all;
But you're not being able to compile SVN from source code - isn't that high on the priority list : In comparison, at least, to all the other work going on right at THIS time.
If anyone has the spare time to help you out, believe me, they would.

Might I suggest that you resend your mail to the @users mailing list - and see if you can get a reply there? Many users compile the binaries for themselves.
Also, do a search within the @dev and @users mailing lists for compiling on windows.

You're certainly not the first person to have issues with compiling SVN and all the required dependencies.

Gavin 'Beau' Baumanis.

On 26/03/2011, at 8:53 PM, Justin Peng wrote:

> Hi, everyone.
>
> Now I have been in trouble with building SVN on windows. After hours
> work, I'v found there are some out-of-date part in the current install
> and it's not easy a new comer to build it on Windows. Now I'm
> perplexed by "msdev subversion_msvc.dsw /USEENV /MAKE "__ALL_TESTS__ -
> Win32 Release"".
>
> With the zlib-1.2.3, I got:
> "
>
> D:\SVN\src-trunk>msdev subversion_msvc.dsw /USEENV /MAKE "__ALL_TESTS__ - Win32
> Release"
> --------------------Configuration: zlib - Win32 Release--------------------
> nmake /f win32\Makefile.msc STATICLIB=zlibstat.lib zlibstat.lib
> cl -c -nologo -MD -O2 adler32.c
> adler32.c
> zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such
> file or directory
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
> Stop.
> --------------------Configuration: libsvn_subr_dll - Win32 Release--------------
> ------
> Build : warning : failed to (or don't know how to) build 'D:\SVN\zlib\zlibstat.l
> ib'
>
> Linking...
> LINK : fatal error LNK1181: cannot open input file "zlibstat.lib"
> Error executing link.exe.
>
> __ALL_TESTS__ - 3 error(s), 1 warning(s)"
>
>
> It seems zlibstat.lib hasn't built successfully when zlib-1.2.3 is
> used. When use zlib-1.2.5 instead, I got errors below:
> "D:\SVN\src-trunk>msdev subversion_msvc.dsw /USEENV /MAKE "__ALL_TESTS__ - Win32
> Release"
> --------------------Configuration: zlib - Win32 Release--------------------
> nmake /f win32\Makefile.msc STATICLIB=zlibstat.lib zlibstat.lib
> 'zlibstat.lib' is up-to-date
> --------------------Configuration: libsvn_subr_dll - Win32 Release--------------
> ------
> Linking...
> .\libsvn_subr.def : warning LNK4087: CONSTANT keyword is obsolete; use DATA
> Creating library ..\..\..\Release\subversion\libsvn_subr/libsvn_subr-1.lib an
> d object ..\..\..\Release\subversion\libsvn_subr/libsvn_subr-1.exp
> zlibstat.lib(inflate.obj) : error LNK2001: unresolved external symbol _inflate_f
> ast
> ..\..\..\Release\subversion\libsvn_subr\libsvn_subr-1.dll : fatal error LNK1120:
> 1 unresolved externals
> Error executing link.exe.
>
> __ALL_TESTS__ - 2 error(s), 1 warning(s)
>
> D:\SVN\src-trunk>"
>
> Link erorrs occur on zlib-1.2.5.
>
> I have spent 3 hours on it, but can not make progress. Could anyone
> give me some help, please? Thanks very much!
>
>
> Regards
>
> --
> Justin Peng
Received on 2011-03-28 02:47:45 CEST

This is an archived mail posted to the Subversion Dev mailing list.