You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by David James <ja...@gmail.com> on 2005/08/29 19:43:55 UTC

[PATCH] Fix gen-make.py to run on Windows without SWIG. (Was: Re: svn trunk r15946: FAIL (win32 ra_local))

On 8/28/05, David James <ja...@gmail.com> wrote:
> On 8/28/05, Branko Čibej <br...@xbc.nu> wrote:
> > D.J. Heap wrote:
> >
> > >If swig.exe is not in the path and not specified on the commandline
> > >then I get this exception:
> > >
> > >D:\Projects\Subversion>python.exe .\gen-make.py -t vcproj
> > >--vsnet-version=2005 --with-httpd=d:\projects\apache\httpd
> > >--with-zlib=D:\Projects\Apache\zlib122
> > >--with-openssl=D:\Projects\Apache\httpd\srclib\openssl --enable-nls
> > >
> > >Generating for VS.NET 2005
> > >Found libdb42.lib in db4-win32\lib
> > >Found installed perl version number.
> > >  Perl bindings will be linked with perl58.lib
> > >Could not find installed SWIG, assuming version 1.3.25
> > >Could not find ML, ZLib build will not use ASM sources
> > >'swig.exe' is not recognized as an internal or external command,
> > >operable program or batch file.
> > >
> > >
> > Ho hum. I suppose the SWIG generator should notice that it can't run
> > swig, and just not generate any bindings code. This might be a
> > Windows-only bug, though.
> 
> Thanks for the bug report! I've attached a patch to fix this issue.
> 
> [[[
> 
> Allow users to build Subversion on Windows without having SWIG.
> 
> * build/generator/gen_win.py
>   (GeneratorWin.__init__): Update to allow building without SWIG.
>   Report a warning if SWIG is not installed
> 
> ]]]
[snip]

On 8/28/05, D.J. Heap <dj...@gmail.com> wrote:
> Yes, that worked, thanks!

Thanks DJ! I'm now officially posting my patch to the list (with a few
tweaks), so that we can consider it for inclusion in the official
trunk build.

[[[

Fix gen-make.py to run on Windows without SWIG.

* build/generator/gen_win.py
 (GeneratorWin.__init__): Update to allow building without SWIG.
 Report a warning if SWIG is not installed

]]]

Cheers,

David

Re: [PATCH] Fix gen-make.py to run on Windows without SWIG. (Was: Re: svn trunk r15946: FAIL (win32 ra_local))

Posted by David James <ja...@gmail.com>.
On 8/29/05, Branko Čibej <br...@xbc.nu> wrote:> David James wrote:> > >On 8/28/05, D.J. Heap <dj...@gmail.com> wrote:> >> >> >>Yes, that worked, thanks!> >>> >>> >> >Thanks DJ! I'm now officially posting my patch to the list (with a few> >tweaks), so that we can consider it for inclusion in the official> >trunk build.> >> >> Well, go and commit it then. :)Thanks Brane!
Committed in r15972.
Cheers,
David
-- David James -- http://www.cs.toronto.edu/~james

Re: [PATCH] Fix gen-make.py to run on Windows without SWIG. (Was: Re: svn trunk r15946: FAIL (win32 ra_local))

Posted by Branko Čibej <br...@xbc.nu>.
David James wrote:

>On 8/28/05, D.J. Heap <dj...@gmail.com> wrote:
>  
>
>>Yes, that worked, thanks!
>>    
>>
>
>Thanks DJ! I'm now officially posting my patch to the list (with a few
>tweaks), so that we can consider it for inclusion in the official
>trunk build.
>  
>
Well, go and commit it then. :)

-- Brane


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org