pg.ddx.io pgsql-php@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Andy Howarth <andy@is3-design.com>
To: pgsql-novice@postgresql.org
Subject: Problems compiling 7.1 with TCL support on Solaris 7
Date: Thu, 03 May 2001 12:35:24 +0100
Message-ID: <3AF1427C.B4E85A45@is3-design.com> (raw )
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.
view thread (3+ messages) latest in thread
Message-ID: <3AF1427C.B4E85A45@is3-design.com>
Permalink: ../3AF1427C.B4E85A45@is3-design.com/
Also on: postgresql.org/message-id/3AF1427C.B4E85A45@is3-design.com
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: andy@is3-design.com, pgsql-novice@postgresql.org
Subject: Re: Problems compiling 7.1 with TCL support on Solaris 7
In-Reply-To: <3AF1427C.B4E85A45@is3-design.com>
References: <3AF1427C.B4E85A45@is3-design.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox