Re: Problems compiling 7.1 with TCL support on Solaris 7

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Problems compiling 7.1 with TCL support on Solaris 7
Дата
Msg-id 23848.988896442@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Problems compiling 7.1 with TCL support on Solaris 7  (Andy Howarth <andy@is3-design.com>)
Список pgsql-novice
Andy Howarth <andy@is3-design.com> writes:
> However when I try to add TCL support, the following happens during
> 'make':

> make[3]: Entering directory
> `/export/home/andy/postgresql-7.1/src/pl/tcl'
> cc -O -KPIC -I../../../src/include  -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1
> -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1
> -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1
> -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
> -DHAVE_TZNAME=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1
> -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -DNEED_MATHERR=1 -DRETSIGTYPE=void
> -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1   -c -o
> pltcl.o pltcl.c
> make[3]: cc: Command not found
> make[3]: *** [pltcl.o] Error 127

You have a broken Tcl installation.

pltcl tries to use the compiler and switches specified in Tcl's
tclConfig.sh file.  Evidently the copy of that file that you have
has nothing to do with your system.

I suggest reinstalling Tcl from source, to make sure that its recorded
build configuration has something to do with reality...

            regards, tom lane

В списке pgsql-novice по дате отправления:

Предыдущее
От: Chris Ryan
Дата:
Сообщение: Re: psql with PHP question
Следующее
От: Andy Howarth
Дата:
Сообщение: Re: Problems compiling 7.1 with TCL support on Solaris 7