On 8/28/05, David James <james82@gmail.com> wrote:
> On 8/28/05, Branko Èibej <brane@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 <djheap@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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 29 21:44:37 2005