You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "D.J. Heap" <dj...@gmail.com> on 2005/08/28 18:33:34 UTC
Re: svn trunk r15946: FAIL (win32 ra_local)
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.
Traceback (most recent call last):
File ".\gen-make.py", line 225, in ?
main(conf, gentype, skip_depends=skip, other_options=rest.list)
File ".\gen-make.py", line 32, in main
generator = gen_module.Generator(fname, verfname, other_options)
File "build\generator\gen_vcnet_vcproj.py", line 19, in __init__
'vcnet-vcproj')
File "build\generator\gen_win.py", line 206, in __init__
runtime.write()
File "build\generator\swig\external_runtime.py", line 76, in write
self.write_external_runtime()
File "build\generator\swig\external_runtime.py", line 27, in
write_external_runtime
self.checkout(".","swigrun.swg")
File "build\generator\swig\__init__.py", line 58, in checkout
_exec.run("%s -o %s -co %s/%s" % (self.swig_path, out, dir, file))
File "build\generator\util\executable.py", line 50, in run
assert(not exit_code)
AssertionError
Is swig required now, with the bindings changes?
DJ
On 8/28/05, svn-builder@shadyvale.net <sv...@shadyvale.net> wrote:
> Last 100 lines of the build log (full log attached):
>
> ECHO is off.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
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
[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/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: svn trunk r15946: FAIL (win32 ra_local)
Posted by "D.J. Heap" <dj...@gmail.com>.
On 8/28/05, David James <ja...@gmail.com> wrote:
[snip]
> > File "C:\Python24\lib\fileinput.py", line 320, in readline
> > self._file = open(self._filename, "r")
> > IOError: [Errno 2] No such file or directory:
> > 'subversion\\bindings\\swig\\proxy\\swigrun.swg'
> Can you try removing the subversion\bindings\swig\proxy directory and
> refreshing it from trunk? I wasn't able to reproduce this problem on
> Windows or Linux.
>
Yes, that worked, thanks!
DJ
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: svn trunk r15946: FAIL (win32 ra_local)
Posted by David James <ja...@gmail.com>.
On 8/28/05, D.J. Heap <dj...@gmail.com> wrote:
> Thanks...using the patch I get this now:
>
> D:\Projects\Subversion>python.exe .\gen-make.py -t vcproj
> --vsnet-version=2005 --with-httpd=d:\projects\apache\httpd --w
> ith-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.
> swig.exe not found; skipping SWIG file generation...
> Traceback (most recent call last):
> File ".\gen-make.py", line 225, in ?
> main(conf, gentype, skip_depends=skip, other_options=rest.list)
> File ".\gen-make.py", line 35, in main
> generator.compute_hdr_deps()
> File "build\generator\gen_base.py", line 148, in compute_hdr_deps
> include_deps = IncludeDependencyInfo(self.compute_hdrs())
> File "build\generator\gen_base.py", line 876, in __init__
> self._deps[fname] = self._scan_for_includes(fname)
> File "build\generator\gen_base.py", line 917, in _scan_for_includes
> for line in fileinput.input(fname):
> File "C:\Python24\lib\fileinput.py", line 231, in next
> line = self.readline()
> File "C:\Python24\lib\fileinput.py", line 320, in readline
> self._file = open(self._filename, "r")
> IOError: [Errno 2] No such file or directory:
> 'subversion\\bindings\\swig\\proxy\\swigrun.swg'
Can you try removing the subversion\bindings\swig\proxy directory and
refreshing it from trunk? I wasn't able to reproduce this problem on
Windows or Linux.
> I can look at it a little closer myself in a day or two, but just
> don't have time right now, sorry.
Sure, no problem!
Cheers,
David
--
David James -- http://www.cs.toronto.edu/~james
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: svn trunk r15946: FAIL (win32 ra_local)
Posted by "D.J. Heap" <dj...@gmail.com>.
Thanks...using the patch I get this now:
D:\Projects\Subversion>python.exe .\gen-make.py -t vcproj
--vsnet-version=2005 --with-httpd=d:\projects\apache\httpd --w
ith-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.
swig.exe not found; skipping SWIG file generation...
Traceback (most recent call last):
File ".\gen-make.py", line 225, in ?
main(conf, gentype, skip_depends=skip, other_options=rest.list)
File ".\gen-make.py", line 35, in main
generator.compute_hdr_deps()
File "build\generator\gen_base.py", line 148, in compute_hdr_deps
include_deps = IncludeDependencyInfo(self.compute_hdrs())
File "build\generator\gen_base.py", line 876, in __init__
self._deps[fname] = self._scan_for_includes(fname)
File "build\generator\gen_base.py", line 917, in _scan_for_includes
for line in fileinput.input(fname):
File "C:\Python24\lib\fileinput.py", line 231, in next
line = self.readline()
File "C:\Python24\lib\fileinput.py", line 320, in readline
self._file = open(self._filename, "r")
IOError: [Errno 2] No such file or directory:
'subversion\\bindings\\swig\\proxy\\swigrun.swg'
I can look at it a little closer myself in a day or two, but just
don't have time right now, sorry.
DJ
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: svn trunk r15946: FAIL (win32 ra_local)
Posted by David James <ja...@gmail.com>.
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
]]]
Cheers,
David
--
David James -- http://www.cs.toronto.edu/~james
Re: svn trunk r15946: FAIL (win32 ra_local)
Posted by Branko Čibej <br...@xbc.nu>.
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.
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org