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

Re: Fwd: gen-make.py fails unless --with-httpd is given (related to r24116)

From: Daniel <danielsh+svn-dev_at_fastmail.fm>
Date: 2007-04-02 15:00:43 CEST

----- Original Message -----
From: "Vlad Georgescu" <vgeorgescu@gmail.com>
To: "Daniel" <danielsh+svn-dev@fastmail.fm>
Cc: "svn-dev list" <dev@subversion.tigris.org>
Sent: Monday, April 02, 2007 3:30 PM
Subject: Re: Fwd: gen-make.py fails unless --with-httpd is given (related to
r24116)

> Daniel wrote:
>> Hello,
>>
>> the gen-make.py error was fixed in r24334, but I'm still getting the
>> error with win-tests.py -- could someone please have a look?
>>
>> Thanks,
>>
>> Daniel.
>>
>> On Sun, 01 Apr 2007 05:29:33 +0300, "Daniel"
>> <danielsh+svn-dev@fastmail.fm> said:
>>> Hello all,
>>>
>>> using current trunk (r24300), if I run gen-make.py without the --with-
>>> httpd argument, I get an error:
>>>
>>> =======================================================
>>> > python gen-make.py --release [--with
>>> apr,openssl,neon,sqlite,zlib,ml,vsnet-version=2003,-t=vcproj]
>>> ...
>>> Found neon version 0.26.1
>>> Traceback (most recent call last):
>>> File "gen-make.py", line 261, in ?
>>> main(conf, gentype, skip_depends=skip, other_options=rest.list)
>>> File "gen-make.py", line 40, in main
>>> generator.write()
>>> File "build\generator\gen_vcnet_vcproj.py", line 173, in write
>>> self.write_project(target, fname)
>>> File "build\generator\gen_vcnet_vcproj.py", line 61, in
>>> write_project
>>> configs = self.get_configs(target)
>>> File "build\generator\gen_win.py", line 400, in get_configs
>>> libdirs=self.get_win_lib_dirs(target, cfg),
>>> File "build\generator\gen_win.py", line 848, in get_win_lib_dirs
>>> fakelibdirs.append(self.apath(self.httpd_path, cfg))
>>> File "build\generator\gen_win.py", line 285, in apath
>>> if os.path.isabs(path):
>>> File "E:\Python\lib\ntpath.py", line 53, in isabs
>>> s = splitdrive(s)[1]
>>> File "E:\Python\lib\ntpath.py", line 119, in splitdrive
>>> if p[1:2] == ':':
>>> TypeError: unsubscriptable object
>>> =======================================================
>>>
>>> If I add the "--with-httpd" argument (even "--with-httpd=nul"), gen-
>>> make.py completes without error; however, doing so causes
>>> mod_dav_svn and mod_authz_svn to be needlessly added to the
>>> compilation targets list (needlessly, because any attempt to compile
>>> them will fail: httpd won't be found).
>>>
>>> Both symptoms (the gen-make.py error and mod_dav_svn and
>>> mod_authz_svn being added as targets) disappear if r24116 is
>>> reverted. Until r24115, I have always run gen-make.py without
>>> any --with-httpd switch, and never had either symptom.
>>>
>>> Lieven Govaerts (on IRC) reproduced this error.
>>>
>>> If I run win-tests.py, I get a similar error:
>>>
>>> =======================================================
>>> > python win-tests.py -r -v -c -f fsfs 2>&1
>>> Traceback (most recent call last):
>>> File "win-tests.py", line 451, in ?
>>> locate_libs()
>>> File "win-tests.py", line 214, in locate_libs
>>> partial_path = os.path.join(gen_obj.bdb_path, 'bin',
>>> gen_obj.bdb_lib)
>>> File "E:\Python\lib\ntpath.py", line 67, in join
>>> elif isabs(b):
>>> File "E:\Python\lib\ntpath.py", line 53, in isabs
>>> s = splitdrive(s)[1]
>>> File "E:\Python\lib\ntpath.py", line 119, in splitdrive
>>> if p[1:2] == ':':
>>> TypeError: unsubscriptable object
>>> =======================================================
>>>
>>> which also disappears if r24116 is reversed.
>>>
>>> I am using Python 2.4.3. I am not using BDB or the Apache modules.
>>>
>>> I hope this description is clear -- if it isn't, could you
>>> please point out which parts should be clarified.
>>>
>
> Should be fixed in r24336. Thanks!
>
> --
> Vlad
>

I updated to r24336 and I am no longer getting either error.

Thanks,

Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 2 15:01:56 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.