[PATCH] Re: Win32 neon build error (Spaces in path)
From: Jon Foster <jon_at_jon-foster.co.uk>
Date: 2004-05-26 22:08:55 CEST
Hi,
My Neon fixes were included in Neon 0.24.6; here are the corresponding
Log message:
--- Fix Win32 build when there are spaces in the path. Neon versions prior to 0.24.6 would not allow us to quote EXPAT_FLAGS correctly, so paths with spaces would not work. Although we could now quote this correctly, it's better to use the new EXPAT_INC flag (also introduced in Neon 0.24.6). Setting EXPAT_FLAGS requires too much knowledge of Neon build-system internals. * build_neon.ezt: Set EXPAT_INC rather than EXPAT_FLAGS. --- My mailer is known to break inline patches, so I'm sending it as an attachment. This patch is against the trunk. Kind regards, Jon Jon Foster wrote: > Hi, > > D.J. Heap wrote: > >> Jon Foster wrote: >> >>> Hi all, >>> >>> I've just built the Subversion trunk under Windows 2000, with MS Visual >>> Studio .NET 2002. When building neon, the VS project runs >>> build_neon.bat. >>> This gave the error message: >>> >>> > Performing Makefile project actions >>> > nmake /f neon.mak ALL EXPAT_FLAGS="/I >>> >>> D:\My >>> Documents\Jon\Prog\Subversion\Work\Subversion\apr-util/xml/expat/lib >>> >>> /D HAVE_EXPAT /D HAVE_EXPAT_H" DEBUG_BUILD=Aye >>> > NMAKE : fatal error U1073: don't know how to make 'D:\My' >>> > Stop. >>> >>> The problem seems to be the space in the path; editing build_neon.bat >>> to change "My Documents" to "MyDocu~1" fixes this. >>> >>> Is this a known bug? >>> >>> I can think of at least four ways to fix this: >>> 1) Document "don't do that". >>> 2) Come up with a way of quoting this properly. >>> 3) Fix the python script that generates build_neon.bat to use the >>> short file name. >>> 4) Change Neon to allow the paths to be specified in some other way. >>> (Would require changes to Neon as well as SVN). >> >> [snip] >> >> Can you try fixing it with quoting and posting a patch? >> >> DJ > > I tried, but I now believe it's impossible. The Neon makefile is > just too broken. I just posted a couple of patches to the Neon > list; if they get accepted then I'll provide the corresponding > fixes to Subversion. > > Kind regards, > > Jon Foster >
Index: Subversion/build/generator/build_neon.ezt
---------------------------------------------------------------------
|
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.