Re: make fails if path has spaces

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
Cc: pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: make fails if path has spaces
Date: 2004-08-13 03:53:54
Message-ID: 200408130353.i7D3rsC11449@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32 pgsql-patches

Andreas Pflug wrote:
> Bruce Momjian wrote:
> > Andreas Pflug wrote:
> >
> >>Bruce Momjian wrote:
> >>
> >>
> >>>Yes, the executable has to be quoted. Where is it being referenced
> >>>unquoted?
> >>
> >>In this case, $(PERL) is referenced for building psql's doc. PERL is set
> >>in Makefile.global unquoted, as all paths.
> >>
> >>For others, the same problem might arise with bison or flex.
> >
> >
> > Is the problem the assignment in Makefile.global or the use of the
> > variable in psql/Makefile?
> >
>
> It could be fixed in both places, but the more general fix would be to
> qoute in Makefile.global, i.e. fixing configure.

What if you change this:

PERL = @PERL@

to this:

PERL = "@PERL@"

Does it help?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Tom Lane 2004-08-13 04:55:19 Re: [GENERAL] error moving table to tablespace
Previous Message Bruce Momjian 2004-08-13 03:49:11 Re: [PATCHES] Win32 Event log

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-08-13 03:58:16 Re: Minor BEFORE DELETE trigger fix
Previous Message Oliver Jowett 2004-08-13 03:38:55 Add GUC_REPORT to server_encoding, integer_datetimes