From: | Andy Howarth <andy(at)is3-design(dot)com> |
---|---|
To: | pgsql-novice(at)postgresql(dot)org |
Subject: | Problems compiling 7.1 with TCL support on Solaris 7 |
Date: | 2001-05-03 11:35:24 |
Message-ID: | 3AF1427C.B4E85A45@is3-design.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-novice pgsql-php |
I did a first installation without TCL support, that compiled, installed
and appeared to work ok.
However when I try to add TCL support, the following happens during
'make':
[snipped]
.
.
.
make[3]: Entering directory
`/export/home/andy/postgresql-7.1/src/pl/tcl'
/bin/sh mkMakefile.tcldefs.sh '/usr/local/lib/tclConfig.sh'
'Makefile.tcldefs'
make[3]: Leaving directory `/export/home/andy/postgresql-7.1/src/pl/tcl'
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
make[3]: Leaving directory `/export/home/andy/postgresql-7.1/src/pl/tcl'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/export/home/andy/postgresql-7.1/src/pl'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/export/home/andy/postgresql-7.1/src'
make: *** [all] Error 2
Er, WHAT? > make[3]: cc: Command not found
So, suddenly we want cc. Hmm, ok novice brute force to make it use gcc:
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
cc: unrecognized option `-KPIC'
/usr/ccs/bin/ld -G -z text -o pltcl.so pltcl.o -L/usr/local/lib -ltcl8.2
-ldl -lsocket -lnsl -lm -lc
Text relocation remains referenced
against symbol offset in file
<unknown> 0x4 pltcl.o
<unknown> 0x8 pltcl.o
<unknown> 0xbc0 pltcl.o
<unknown> 0x20 pltcl.o
<unknown> 0x2c pltcl.o
<unknown> 0xbd4 pltcl.o
<unknown> 0x27ec pltcl.o
<unknown> 0x980 pltcl.o
<unknown> 0x40 pltcl.o
.
[snipped loads of this]
.
<unknown> 0x2f20 pltcl.o
<unknown> 0x217c pltcl.o
<unknown> 0x2180 pltcl.o
ld: fatal: relocations remain against allocatable but non-writable
sections
make[3]: *** [pltcl.so] Error 1
make[3]: Leaving directory `/export/home/andy/postgresql-7.1/src/pl/tcl'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/export/home/andy/postgresql-7.1/src/pl'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/export/home/andy/postgresql-7.1/src'
make: *** [all] Error 2
Does anybody know why this happens? (We have TCL/Tk version 8.2
installed)
Thanks,
Andy.
From | Date | Subject | |
---|---|---|---|
Next Message | Jason | 2001-05-03 12:06:25 | psql with PHP question |
Previous Message | Einar Karttunen | 2001-05-03 11:16:20 | Re: Time to insert |
From | Date | Subject | |
---|---|---|---|
Next Message | Jason | 2001-05-03 12:06:25 | psql with PHP question |
Previous Message | Lukas Ertl | 2001-05-03 07:21:48 | Re: Strange INSERT phenomenon with key constraints |
From | Date | Subject | |
---|---|---|---|
Next Message | Jason | 2001-05-03 12:06:25 | psql with PHP question |
Previous Message | Gyozo Papp | 2001-05-03 11:33:38 | Re: Unixtime function?... |