Trying to compile current sources using:

./configure  --prefix=/home/ler/pg-test --enable-syslog \
        --with-CXX --with-perl --enable-multibyte --enable-cassert \
        --with-openssl --with-tcl \
        --with-tclconfig=/usr/local/lib/tcl8.3 \
        --with-tkconfig=/usr/local/lib/tk8.3
        
I get the following death:

gmake[3]: Leaving directory `/home/ler/pg-dev/pgsql/src/interfaces/libpq++'
gmake[3]: Entering directory `/home/ler/pg-dev/pgsql/src/interfaces/libpgtcl'
gmake -C ../../../src/interfaces/libpq all
gmake[4]: Entering directory `/home/ler/pg-dev/pgsql/src/interfaces/libpq'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory `/home/ler/pg-dev/pgsql/src/interfaces/libpq'
gcc -pipe -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -DPIC  
-I../../../src/include -I../../../src/interfaces/libpq  -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:35: syntax error before `Tcl_Interp'
pgtclCmds.h:71: syntax error before `cData'
pgtclCmds.h:73: syntax error before `cData'
pgtclCmds.h:75: syntax error before `cData'
pgtclCmds.h:77: syntax error before `cData'
pgtclCmds.h:79: syntax error before `cData'
pgtclCmds.h:81: syntax error before `cData'
pgtclCmds.h:83: syntax error before `cData'
pgtclCmds.h:85: syntax error before `cData'
pgtclCmds.h:87: syntax error before `cData'
pgtclCmds.h:89: syntax error before `cData'
pgtclCmds.h:91: syntax error before `cData'
pgtclCmds.h:93: syntax error before `cData'
pgtclCmds.h:95: syntax error before `cData'
pgtclCmds.h:97: syntax error before `cData'
pgtclCmds.h:99: syntax error before `cData'
pgtclCmds.h:101: syntax error before `cData'
pgtclCmds.h:103: 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:91: syntax error before `0'
pgtcl.c:96: syntax error before `0'
pgtcl.c:101: syntax error before `0'
pgtcl.c:106: syntax error before `0'
pgtcl.c:111: syntax error before `0'
pgtcl.c:116: syntax error before `0'
pgtcl.c:121: syntax error before `0'
pgtcl.c:126: syntax error before `0'
pgtcl.c:128: warning: implicit declaration of function `Tcl_PkgProvide'
pgtcl.c:130: `TCL_OK' undeclared (first use in this function)
pgtcl.c:131: warning: control reaches end of non-void function
pgtcl.c: At top level:
pgtcl.c:135: syntax error before `*'
pgtcl.c:136: warning: no previous prototype for `Pgtcl_SafeInit'
pgtcl.c: In function `Pgtcl_SafeInit':
pgtcl.c:137: `interp' undeclared (first use in this function)
gmake[3]: *** [pgtcl.o] Error 1
gmake[3]: Leaving directory `/home/ler/pg-dev/pgsql/src/interfaces/libpgtcl'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/home/ler/pg-dev/pgsql/src/interfaces'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/home/ler/pg-dev/pgsql/src'
gmake: *** [all] Error 2

-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

Reply via email to