Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jan 2003 14:42:37 -0800
From:      Pete Fritchman <petef@absolutbsd.org>
To:        Palle Girgensohn <girgen@pingpong.net>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/44097: posgresql-723 fails to compile (4.7 RC0)
Message-ID:  <20030102224237.GC46582@absolutbsd.org>
In-Reply-To: <200301022240.h02Me20K032381@freefall.freebsd.org>
References:  <200301022240.h02Me20K032381@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
++ 02/01/03 14:40 -0800 - Palle Girgensohn:
|  gmake[4]: Entering directory 
|  `/usr/ports/databases/postgresql7/work/postgresql-7.2.3/src/backend/utils'
|    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).

--pete


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?20030102224237.GC46582>