Re: Problems compiling 7.1 with TCL support on Solaris 7

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andy Howarth <andy(at)is3-design(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Problems compiling 7.1 with TCL support on Solaris 7
Date: 2001-05-03 13:27:22
Message-ID: 23848.988896442@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice pgsql-php

Andy Howarth <andy(at)is3-design(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vladislav Breus 2001-05-03 13:28:02 BLOB type
Previous Message Adam Lang 2001-05-03 13:05:38 Re: psql with PHP question

Browse pgsql-novice by date

  From Date Subject
Next Message Jason 2001-05-03 13:43:44 Re: psql with PHP question
Previous Message Adam Lang 2001-05-03 13:05:38 Re: psql with PHP question

Browse pgsql-php by date

  From Date Subject
Next Message Jason 2001-05-03 13:43:44 Re: psql with PHP question
Previous Message Adam Lang 2001-05-03 13:05:38 Re: psql with PHP question