From: | "sam" <sam(at)young-net(dot)com(dot)tw> |
---|---|
To: | <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Can not compile --with-tcl ??? |
Date: | 2003-07-19 16:08:58 |
Message-ID: | 000801c34e10$10cfc140$6701a8c0@win |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Hello :
I have comiple tcl 8.3.2 and tk 8.3.2 complete
but I want to compile postgresql 7.1.3 with tcl
./configure --with-tcl --with-tclconfig=/usr/local/tcl8.3.2/unix --with-tkconfig=/usr/local/tk8.3.2/unix
make
and I got the error
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: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.3/src/interfaces/libpgtcl'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/local/postgresql-7.1.3/src/interfaces'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/local/postgresql-7.1.3/src'
gmake: *** [all] Error 2
*** Error code 2
thanks
-------------------------------------------------------
Young-net Technology Sam
phone:04-23763808#20
e-mail:sam(at)young-net(dot)com(dot)tw
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-07-20 04:08:57 | Re: Can not compile --with-tcl ??? |
Previous Message | Chris Gamache | 2003-07-18 13:16:00 | PgAdmin II 1.6.0 Error Handler (GUI Annoyance) |