Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-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

pgsql-novice by date

Next:From: Jeff DaughertyDate: 2001-03-14 18:34:05
Subject: Re: relation problem
Previous:From: Louis BertrandDate: 2001-03-14 18:17:57
Subject: Re: relation problem

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group