Re: [NOVICE] Re: Re: compilation error <segunda parte>

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Daniel A(dot) Melo" <daniel(at)codata(dot)com(dot)br>
Cc: "J(dot)H(dot)M(dot) Dassen (Ray)" <jdassen(at)cistron(dot)nl>, pgsql-general(at)postgresql(dot)org, pgsql-novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: [NOVICE] Re: Re: compilation error <segunda parte>
Date: 2001-03-14 18:18:35
Message-ID: 28370.984593915@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

"Daniel A. Melo" <daniel(at)codata(dot)com(dot)br> writes:
> Now my initdb has some problem:

> ERROR: Error: unknown type 'ame'.

Ah, you must be on one of the platforms that doesn't like those
extraneous backslashes in src/backend/catalog/genbki.sh. Apply
this patch:

*** pgsql/src/backend/catalog/genbki.sh 2000/10/28 22:14:14 1.18
--- pgsql/src/backend/catalog/genbki.sh 2001/01/16 22:48:34 1.19
***************
*** 161,170 ****
;g' | # we must run a new sed here to see the newlines we added
sed -e "s/;[ ]*$//g" \
-e "s/^[ ]*//" \
! -e "s/[ ]Oid/\ oid/g" \
! -e "s/[ ]NameData/\ name/g" \
-e "s/^Oid/oid/g" \
! -e "s/^NameData/\name/g" \
-e "s/(NameData/(name/g" \
-e "s/(Oid/(oid/g" \
-e "s/NAMEDATALEN/$NAMEDATALEN/g" \
--- 161,170 ----
;g' | # we must run a new sed here to see the newlines we added
sed -e "s/;[ ]*$//g" \
-e "s/^[ ]*//" \
! -e "s/[ ]Oid/ oid/g" \
! -e "s/[ ]NameData/ name/g" \
-e "s/^Oid/oid/g" \
! -e "s/^NameData/name/g" \
-e "s/(NameData/(name/g" \
-e "s/(Oid/(oid/g" \
-e "s/NAMEDATALEN/$NAMEDATALEN/g" \

then re-run 'make all' and 'make install' in src/backend.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-03-14 18:26:50 Re: pg_hba.conf "sameuser"
Previous Message will trillich 2001-03-14 18:01:24 Re: Fw: Please Help

Browse pgsql-novice by date

  From Date Subject
Next Message Jeff Daugherty 2001-03-14 18:34:05 Re: relation problem
Previous Message Louis Bertrand 2001-03-14 18:17:57 Re: relation problem