pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedinstallation of 7.1.2 with tcl/tk
3+ messages / 2 participants
[nested] [flat]
* installation of 7.1.2 with tcl/tk
@ 2001-06-04 23:55 Jie Liang <jliang@ipinc.com>
2001-06-05 01:23 ` Re: installation of 7.1.2 with tcl/tk Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 3+ messages in thread
From: Jie Liang @ 2001-06-04 23:55 UTC (permalink / raw)
To: pgsql-admin
Hi, all,
I need your help.
If I config without tcl, compile seems fine.
However, when I config with tcl/tk, I always got some
error, similar case occurs when I tried to install it
via ports.
my OS is FreeBSD4.3 and postgresql-7.1.2, any idea??
I couldn't find tcl.h
I got following when installing:
./configure --with-perl --with-tcl --with-tk --with-CXX
--with-setproctitle --with-tclconfig=/usr/local/lib/tcl8.3/
--with-tkconfig=/usr/local/lib/tk8.3/
gmake
gmake[3]: Leaving directory
`/usr/local/postgresql-7.1.2/src/interfaces/libpq++'
gmake[3]: Entering directory
`/usr/local/postgresql-7.1.2/src/interfaces/libpgtcl'
/usr/local/bin/gmake -C ../../../src/interfaces/libpq all
gmake[4]: Entering directory
`/usr/local/postgresql-7.1.2/src/interfaces/libpq'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory
`/usr/local/postgresql-7.1.2/src/interfaces/libpq'
gcc -pipe -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -fpic
-DPIC -I../../../src/interfaces/libpq -I../../../src/include -c -o
pgtcl.o pgtcl.c
In file included from pgtcl.c:19:
libpgtcl.h:19: tcl.h: No such file or directory
In file included from pgtcl.c:20:
pgtclCmds.h:17: tcl.h: No such file or directory
In file included from pgtcl.c:19:
libpgtcl.h:21: syntax error before `*'
libpgtcl.h:22: syntax error before `*'
In file included from pgtcl.c:20:
pgtclCmds.h:44: syntax error before `Tcl_Interp'
pgtclCmds.h:80: syntax error before `cData'
pgtclCmds.h:82: syntax error before `cData'
pgtclCmds.h:84: syntax error before `cData'
pgtclCmds.h:86: syntax error before `cData'
pgtclCmds.h:88: syntax error before `cData'
pgtclCmds.h:90: syntax error before `cData'
pgtclCmds.h:92: syntax error before `cData'
pgtclCmds.h:94: syntax error before `cData'
pgtclCmds.h:96: syntax error before `cData'
pgtclCmds.h:108: syntax error before `cData'
pgtclCmds.h:110: syntax error before `cData'
pgtclCmds.h:114: syntax error before `cData'
pgtclCmds.h:116: syntax error before `cData'
pgtclCmds.h:118: syntax error before `cData'
pgtclCmds.h:120: syntax error before `cData'
pgtclCmds.h:122: syntax error before `cData'
pgtclCmds.h:124: syntax error before `cData'
pgtclCmds.h:126: syntax error before `cData'
In file included from pgtcl.c:21:
pgtclId.h:18: syntax error before `*'
pgtclId.h:37: syntax error before `*'
pgtclId.h:39: syntax error before `cData'
pgtclId.h:40: syntax error before `cData'
pgtclId.h:41: syntax error before `cData'
pgtclId.h:42: syntax error before `*'
pgtclId.h:43: syntax error before `*'
pgtclId.h:44: syntax error before `*'
pgtclId.h:45: syntax error before `*'
pgtclId.h:49: syntax error before `clientData'
pgtclId.h:63: syntax error before `Pg_ConnType'
pgtclId.h:43: syntax error before `*'
pgtclId.h:44: syntax error before `*'
pgtclId.h:45: syntax error before `*'
pgtclId.h:49: syntax error before `clientData'
pgtclId.h:63: syntax error before `Pg_ConnType'
pgtclId.h:63: warning: type defaults to `int' in declaration of
`Pg_ConnType'
pgtclId.h:63: warning: data definition has no type or storage class
pgtcl.c:30: syntax error before `*'
pgtcl.c:31: warning: no previous prototype for `Pgtcl_Init'
pgtcl.c: In function `Pgtcl_Init':
pgtcl.c:43: warning: implicit declaration of function `Tcl_CreateCommand'
pgtcl.c:43: `interp' undeclared (first use in this function)
pgtcl.c:43: (Each undeclared identifier is reported only once
pgtcl.c:43: for each function it appears in.)
pgtcl.c:46: `ClientData' undeclared (first use in this function)
pgtcl.c:46: syntax error before `0'
pgtcl.c:51: syntax error before `0'
pgtcl.c:56: syntax error before `0'
pgtcl.c:61: syntax error before `0'
pgtcl.c:66: syntax error before `0'
pgtcl.c:71: syntax error before `0'
pgtcl.c:76: syntax error before `0'
pgtcl.c:81: syntax error before `0'
pgtcl.c:86: syntax error before `0'
pgtcl.c:102: syntax error before `0'
pgtcl.c:107: syntax error before `0'
pgtcl.c:113: syntax error before `0'
pgtcl.c:118: syntax error before `0'
pgtcl.c:123: syntax error before `0'
pgtcl.c:128: syntax error before `0'
pgtcl.c:133: syntax error before `0'
pgtcl.c:138: syntax error before `0'
pgtcl.c:143: syntax error before `0'
pgtcl.c:145: warning: implicit declaration of function `Tcl_PkgProvide'
pgtcl.c:147: `TCL_OK' undeclared (first use in this function)
pgtcl.c:148: warning: control reaches end of non-void function
pgtcl.c: At top level:
pgtcl.c:152: syntax error before `*'
pgtcl.c:153: warning: no previous prototype for `Pgtcl_SafeInit'
pgtcl.c: In function `Pgtcl_SafeInit':
pgtcl.c:154: `interp' undeclared (first use in this function)
gmake[3]: *** [pgtcl.o] Error 1
gmake[3]: Leaving directory
`/usr/local/postgresql-7.1.2/src/interfaces/libpgtcl'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/local/postgresql-7.1.2/src/interfaces'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/local/postgresql-7.1.2/src'
gmake: *** [all] Error 2
*** Error code 2
Jie LIANG
St. Bernard Software
10350 Science Center Drive
Suite 100, San Diego, CA 92121
Office:(858)320-4873
jliang@ipinc.com
www.stbernard.com
www.ipinc.com
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: installation of 7.1.2 with tcl/tk
2001-06-04 23:55 installation of 7.1.2 with tcl/tk Jie Liang <jliang@ipinc.com>
@ 2001-06-05 01:23 ` Tom Lane <tgl@sss.pgh.pa.us>
2001-06-05 01:58 ` Re: installation of 7.1.2 with tcl/tk Jie Liang <jliang@ipinc.com>
0 siblings, 1 reply; 3+ messages in thread
From: Tom Lane @ 2001-06-05 01:23 UTC (permalink / raw)
To: Jie Liang <jliang@ipinc.com>; +Cc: pgsql-admin
Jie Liang <jliang@ipinc.com> writes:
> ./configure --with-perl --with-tcl --with-tk --with-CXX
> --with-setproctitle --with-tclconfig=/usr/local/lib/tcl8.3/
> --with-tkconfig=/usr/local/lib/tk8.3/
Looks like you need --with-includes (and probably --with-libs, as well).
tclConfig.sh does not give any hints about where to find Tcl's
includes... so if you don't have them in the standard include search
path, it's up to you to tell configure where to look.
regards, tom lane
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: installation of 7.1.2 with tcl/tk
2001-06-04 23:55 installation of 7.1.2 with tcl/tk Jie Liang <jliang@ipinc.com>
2001-06-05 01:23 ` Re: installation of 7.1.2 with tcl/tk Tom Lane <tgl@sss.pgh.pa.us>
@ 2001-06-05 01:58 ` Jie Liang <jliang@ipinc.com>
0 siblings, 0 replies; 3+ messages in thread
From: Jie Liang @ 2001-06-05 01:58 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-admin
yes, I solved it.
thanks anyway.
Jie LIANG
St. Bernard Software
10350 Science Center Drive
Suite 100, San Diego, CA 92121
Office:(858)320-4873
jliang@ipinc.com
www.stbernard.com
www.ipinc.com
On Mon, 4 Jun 2001, Tom Lane wrote:
> Jie Liang <jliang@ipinc.com> writes:
> > ./configure --with-perl --with-tcl --with-tk --with-CXX
> > --with-setproctitle --with-tclconfig=/usr/local/lib/tcl8.3/
> > --with-tkconfig=/usr/local/lib/tk8.3/
>
> Looks like you need --with-includes (and probably --with-libs, as well).
> tclConfig.sh does not give any hints about where to find Tcl's
> includes... so if you don't have them in the standard include search
> path, it's up to you to tell configure where to look.
>
> regards, tom lane
>
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2001-06-05 01:58 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-06-04 23:55 installation of 7.1.2 with tcl/tk Jie Liang <jliang@ipinc.com>
2001-06-05 01:23 ` Tom Lane <tgl@sss.pgh.pa.us>
2001-06-05 01:58 ` Jie Liang <jliang@ipinc.com>
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