Обсуждение: tcl error

Поиск
Список
Период
Сортировка

tcl error

От
"帅猛"
Дата:
dear  all
i tried using tcl with ./configure --with-tcl.
errors appear when make:
make[4]: Entering directory `/home/sm/pgsql7.4/src/pl/plpgsql/src'
bison -y -d  gram.y
NONE:0: /usr/bin/m4: ERROR: EOF in string
sed -e 's/yy/plpgsql_yy/g' -e 's/YY/PLPGSQL_YY/g' < y.tab.c > ./pl_gram.c
/bin/sh: line 1: y.tab.c: No such file or directory
make[4]: *** [pl.tab.h] Error 1
make[4]: Leaving directory `/home/sm/pgsql7.4/src/pl/plpgsql/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/sm/pgsql7.4/src/pl/plpgsql'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/sm/pgsql7.4/src/pl'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/sm/pgsql7.4/src'
make: *** [all] Error 2

what's wrong with it?


        致
礼!                

        帅猛
        shuaimeng@db.pku.edu.cn
          2004-04-28

Re: tcl error

От
Tom Lane
Дата:
"帅猛" <shuaimeng@db.pku.edu.cn> writes:
> make[4]: Entering directory `/home/sm/pgsql7.4/src/pl/plpgsql/src'
> bison -y -d  gram.y
> NONE:0: /usr/bin/m4: ERROR: EOF in string

I'd say you have a broken bison installation; or possibly bison is okay
but m4 isn't (recent bisons depend on m4, and I think require it to be
reasonably late-model gnu m4).
        regards, tom lane