Thread: path with spaces in config.pl
Hi, I would like report an observations regarding compilation with msvc++ I was trying to compile with nls=>'C:\Program Files\GnuWin32\' (of course with GetText installed and everything) The build process breaks on link with missing "Program.obj" error. When I changed nls='C:\prog\pgsql\depend\gettext' everything compiled just fine. Perhaps we should document this. Regards, Gevik.
On Tue, Feb 05, 2008 at 11:11:42AM +0100, Gevik Babakhani wrote: > Hi, > > I would like report an observations regarding compilation with msvc++ > I was trying to compile with nls=>'C:\Program Files\GnuWin32\' (of course > with GetText installed and everything) > The build process breaks on link with missing "Program.obj" error. When I > changed nls='C:\prog\pgsql\depend\gettext' everything compiled just fine. > > Perhaps we should document this. Or we should fix it, if we can figure out why. Is it the fact that it only works with what happens to be the directory layout I use, or is it the space in the filename that's breaking something? Can you test a third case to figure that out? //Magnus
> Or we should fix it, if we can figure out why. Is it the fact > that it only works with what happens to be the directory > layout I use, or is it the space in the filename that's > breaking something? Can you test a third case to figure that out? > I think it is the darn msbuild which accepts spaces in "include" but not in "lib" Attached is a quick patch that fixed the link error on my machine. Regards, Gevik Babakhani ------------------------------------------------ PostgreSQL NL http://www.postgresql.nl TrueSoftware BV http://www.truesoftware.nl ------------------------------------------------
On Tue, Feb 05, 2008 at 01:55:40PM +0100, Gevik Babakhani wrote: > > Or we should fix it, if we can figure out why. Is it the fact > > that it only works with what happens to be the directory > > layout I use, or is it the space in the filename that's > > breaking something? Can you test a third case to figure that out? > > > > I think it is the darn msbuild which accepts spaces in "include" but not in > "lib" > Attached is a quick patch that fixed the link error on my machine. Looks good to me, applied, thanks! //Magnus