Date: Fri, 03 Jan 2003 00:32:06 +0100 From: Palle Girgensohn <girgen@pingpong.net> To: Pete Fritchman <petef@absolutbsd.org>, Fernan Aguero <fernan@iib.unsam.edu.ar> Cc: freebsd-ports@FreeBSD.org Subject: Re: ports/44097: posgresql-723 fails to compile (4.7 RC0) Message-ID: <283140000.1041550326@palle.girgensohn.se> In-Reply-To: <20030102224237.GC46582@absolutbsd.org> References: <200301022240.h02Me20K032381@freefall.freebsd.org> <20030102224237.GC46582@absolutbsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--On torsdag, januari 02, 2003 14.42.37 -0800 Pete Fritchman <petef@absolutbsd.org> wrote: > ++ 02/01/03 14:40 -0800 - Palle Girgensohn: >| gmake[4]: Entering directory >| `/usr/ports/databases/postgresql7/work/postgresql-7.2.3/src/backend/uti >| ls' CPP='cc -E' AWK='nawk' /bin/sh Gen_fmgrtab.sh > ^^^^^^^ >| ../../../src/include/catalog/pg_proc.h >| cc -E: not found >| >| Somehow, /bin/sh is failing, and tries to run a program called "cc -E" >| instead of running the program "cc" with the argument "-E". I've never > > Right, because it has 'cc -E' (notice the quotes), and somehow > Gen_fmgrtab.sh is trying to execute it with the quotes. For example: > > $ ls -l > total 0 > -rw-r--r-- 1 petef petef 0 Jan 2 14:39 foo > $ 'ls -l' > ls -l: not found > $ > > I think you really want CPP="cc -E" AWK="nawk" (double quotes instead of > single quotes). Yes, this might be it, but it shouldn't include the single quotes. Only one out 100 bsd installations act this way. Why? Does this patch help? --- src/backend/utils/Makefile~ Tue Sep 3 23:45:42 2002 +++ src/backend/utils/Makefile Fri Jan 3 00:06:05 2003 @@ -24,7 +24,7 @@ $(MAKE) -C $(subst -recursive,,$@) SUBSYS.o fmgroids.h fmgrtab.c: Gen_fmgrtab.sh $(top_srcdir)/src/include/catalog/pg_proc.h - CPP='$(CPP)' AWK='$(AWK)' $(SHELL) $< $(top_srcdir)/src/include/catalog/pg_proc.h + CPP="$(CPP)" AWK="$(AWK)" $(SHELL) $< $(top_srcdir)/src/include/catalog/pg_proc.h clean: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?283140000.1041550326>