[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Paparazzi-devel] make fails when a parent directory of paparazzi3 h
Re: [Paparazzi-devel] make fails when a parent directory of paparazzi3 has spaces in the name
Mon, 15 Sep 2008 16:11:12 -0400
Did this piss off Hector?
I noticed this in the CVS:
Revision 1.80 - (view) (download) (annotate) - [select for diffs]
Thu Jul 10 07:42:51 2008 UTC (2 months ago) by hecto
CVS Tags: HEAD
Changes since 1.79: +6 -2 lines
Diff to previous 1.79
Checking for fucking spaces in the directory name
And in the make file:
ifneq ($(findstring $(space),$(PAPARAZZI_SRC)),)
$(error No fucking spaces allowed in the current directory name)
That is better than most error message. But, I still wonder if
non-fucking spaces are allowed? ;)
On Thu, Jul 10, 2008 at 9:53 AM, cory barton <address@hidden> wrote:
> I thought it was something like that. Thanks!
> On Thu, Jul 10, 2008 at 3:46 AM, Pascal Brisset <address@hidden> wrote:
>> classical "quote" problem in script languages. It seems there is no good
>> solution to handle spaces in file names with make
>> (http://www.cmcrossroads.com/content/view/7859/268/) . So don't use them. We
>> have just patched the Makefile to produce a proper error message if a space
>> occurs in the path.
>> cory barton wrote:
>>> I didn't see this in my search for the mailing list. Kindly accept my
>>> apologies if this is a repost of a known issue.
>>> I noticed that make fails when the paparazzi3 directory has a parent
>>> directory with spaces in the name:
>>> For example:
>>> /home/cory/test fail/paparazzi3
>>> make says:
>>> address@hidden:~/test fail/paparazzi3$ make
>>> Makefile:104: warning: overriding commands for target `/home/cory/test'
>>> Makefile:97: warning: ignoring old commands for target `/home/cory/test'
>>> Makefile.ac:100: warning: ignoring old commands for target
>>> cd sw/lib/ocaml; make PAPARAZZI_SRC=/home/cory/test fail/paparazzi3
>>> PAPARAZZI_HOME=/home/cory/test fail/paparazzi3
>>> ocamldep *.ml* > .depend
>>> make: *** No rule to make target `fail/paparazzi3'. Stop.
>>> make: *** [lib] Error 2
>>> Hope this helps somebody.
>>> Paparazzi-devel mailing list
>> Paparazzi-devel mailing list
|[Prev in Thread]
||[Next in Thread]|
- Re: [Paparazzi-devel] make fails when a parent directory of paparazzi3 has spaces in the name,
cory barton <=