| From: | Paul Stavrides <pstav123(at)adelie(dot)net> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Initdb failure with PG 7.1.3 on RH 7.1... |
| Date: | 2001-11-30 18:54:24 |
| Message-ID: | 3C07D5E0.6030408@adelie.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Tom Lane wrote:
>Paul Stavrides <pstav123(at)adelie(dot)net> writes:
>
>>No, looks like this is the cause. My $prefix/share/global.bki is only
>>17 bytes long and has only the header line:
>>
>
>> # PostgreSQL 7.1
>>
>
>Ah-hah. We've seen some prior reports of portability problems in the
>sed commands used by src/backend/catalog/genbki.sh, which is the script
>that builds those files. But the last fix in that area was pre-7.1
>release. Maybe you have a broken sed or awk installed?
>
> regards, tom lane
>
Tom,
Hmmm, checked the sed and awk and they are up to date.... I'm not an
expert, but it looks like the Makefile in ../src/backend/catalog/ isn't
reporting sed's exit status up the chain. So I lied about there being
no build errors.... to whit:
/usr/bin/ld -r -o SUBSYS.o catalog.o heap.o index.o indexing.o aclchk.o
pg_aggregate.o pg_largeobject.o pg_operator.o pg_proc.o pg_type.o
CPP='gcc -E' AWK='gawk' /bin/sh genbki.sh -o global
-I../../../src/include ../../../src/include/catalog/pg_database.h
../../../src/include/catalog/pg_variable.
h ../../../src/include/catalog/pg_shadow.h
../../../src/include/catalog/pg_group.h
../../../src/include/catalog/pg_log.h --set-version=7.1.3
sed: -e expression #9, char 25: Unterminated `s' command
CPP='gcc -E' AWK='gawk' ....{snip}...
set-version=7.1.3
sed: -e expression #9, char 25: Unterminated `s' command
The build still proceeds, even with these errors. They go by in a flash
and the executable is still created. I have to see what I did to make
sed go nuts.
Thanks for your time. I will report what I find out to finish the thread...
Cheers,
-paul
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Paul Stavrides | 2001-11-30 19:16:57 | Re: Initdb failure with PG 7.1.3 on RH 7.1... |
| Previous Message | Paul Stavrides | 2001-11-30 18:32:48 | Re: Initdb failure with PG 7.1.3 on RH 7.1... |