Re: [HACKERS] tcl/FreeBSD 4.2-STABLE, multiple TCL versions installed
Larry Rosenman writes: The output doesn't show the --with-includes directive directories ANYWHERE in the make output :-( Fixed -- Peter Eisentraut [EMAIL PROTECTED] http://yi.org/peter-e/
Re: [HACKERS] tcl/FreeBSD 4.2-STABLE, multiple TCL versions installed
Larry Rosenman writes: Fixed nope. Still dies in the same place in the same way. The configure input I gave was: ./configure --prefix=/home/ler/pg-test --enable-syslog \ --with-CXX --with-perl --enable-multibyte --enable-cassert \ --with-openssl \ --with-includes="/usr/local/include/tcl8.3,/usr/local/include/tk8.3" \ --with-tcl \ --with-tclconfig=/usr/local/lib/tcl8.3 \ --with-tkconfig=/usr/local/lib/tk8.3 That is *not* the configure input you gave last time, nor is it valid. (Hint: line 4) -- Peter Eisentraut [EMAIL PROTECTED] http://yi.org/peter-e/
Re: [HACKERS] tcl/FreeBSD 4.2-STABLE, multiple TCL versions installed
* Peter Eisentraut [EMAIL PROTECTED] [001126 14:30]: Larry Rosenman writes: Fixed nope. Still dies in the same place in the same way. The configure input I gave was: ./configure --prefix=/home/ler/pg-test --enable-syslog \ --with-CXX --with-perl --enable-multibyte --enable-cassert \ --with-openssl \ --with-includes="/usr/local/include/tcl8.3,/usr/local/include/tk8.3" \ --with-tcl \ --with-tclconfig=/usr/local/lib/tcl8.3 \ --with-tkconfig=/usr/local/lib/tk8.3 That is *not* the configure input you gave last time, nor is it valid. (Hint: line 4) ooops. I had fixed the output, but had tried, pre-fix, this way. Works fine now. Sorry. -- Peter Eisentraut [EMAIL PROTECTED] http://yi.org/peter-e/ -- 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
Re: [HACKERS] tcl/FreeBSD 4.2-STABLE, multiple TCL versions installed
* Peter Eisentraut [EMAIL PROTECTED] [001126 12:16]: Larry Rosenman writes: The output doesn't show the --with-includes directive directories ANYWHERE in the make output :-( Fixed nope. Still dies in the same place in the same way. The configure input I gave was: ./configure --prefix=/home/ler/pg-test --enable-syslog \ --with-CXX --with-perl --enable-multibyte --enable-cassert \ --with-openssl \ --with-includes="/usr/local/include/tcl8.3,/usr/local/include/tk8.3" \ --with-tcl \ --with-tclconfig=/usr/local/lib/tcl8.3 \ --with-tkconfig=/usr/local/lib/tk8.3 and those include directories NEVER appear in the make output: gmake -C doc all gmake[1]: Entering directory `/home/ler/pg-dev/pgsql/doc' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/home/ler/pg-dev/pgsql/doc' gmake -C src all gmake[1]: Entering directory `/home/ler/pg-dev/pgsql/src' gmake -C backend all gmake[2]: Entering directory `/home/ler/pg-dev/pgsql/src/backend' prereqdir=`cd parser/ pwd` \ cd ../../src/include/parser/ rm -f parse.h \ ln -s $prereqdir/parse.h . gmake -C utils fmgroids.h gmake[3]: Entering directory `/home/ler/pg-dev/pgsql/src/backend/utils' CPP='gcc -E' AWK='awk' /bin/sh Gen_fmgrtab.sh ../../../src/include/catalog/pg_proc.h gmake[3]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend/utils' cd ../../src/include/utils/ rm -f fmgroids.h \ ln -s ../../../src/backend/utils/fmgroids.h . gmake -C access all gmake[3]: Entering directory `/home/ler/pg-dev/pgsql/src/backend/access' gmake -C common SUBSYS.o gmake[4]: Entering directory `/home/ler/pg-dev/pgsql/src/backend/access/common' gcc -pipe -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o heaptuple.o heaptuple.c gcc -pipe -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o indextuple.o indextuple.c gcc -pipe -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o indexvalid.o indexvalid.c gcc -pipe -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o printtup.o printtup.c gcc -pipe -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o scankey.o scankey.c gcc -pipe -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o tupdesc.o tupdesc.c /usr/libexec/elf/ld -r -o SUBSYS.o heaptuple.o indextuple.o indexvalid.o printtup.o scankey.o tupdesc.o gmake[4]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend/access/common' gmake -C gist SUBSYS.o gmake[4]: Entering directory `/home/ler/pg-dev/pgsql/src/backend/access/gist' gcc -pipe -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o gist.o gist.c gcc -pipe -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o gistget.o gistget.c gcc -pipe -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o gistscan.o gistscan.c gcc -pipe -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o giststrat.o giststrat.c /usr/libexec/elf/ld -r -o SUBSYS.o gist.o gistget.o gistscan.o giststrat.o gmake[4]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend/access/gist' gmake -C hash SUBSYS.o gmake[4]: Entering directory `/home/ler/pg-dev/pgsql/src/backend/access/hash' gcc -pipe -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o hash.o hash.c gcc -pipe -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o hashfunc.o hashfunc.c gcc -pipe -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o hashinsert.o hashinsert.c gcc -pipe -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o hashovfl.o hashovfl.c gcc -pipe -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o hashpage.o hashpage.c gcc -pipe -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o hashscan.o hashscan.c gcc -pipe -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o hashsearch.o hashsearch.c gcc -pipe -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o hashstrat.o hashstrat.c gcc -pipe -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o hashutil.o hashutil.c /usr/libexec/elf/ld -r -o SUBSYS.o hash.o hashfunc.o hashinsert.o hashovfl.o hashpage.o hashscan.o hashsearch.o hashstrat.o hashutil.o gmake[4]: Leaving directory `/home/ler/pg-dev/pgsql/src/backend/access/hash' gmake -C heap SUBSYS.o gmake[4]: Entering directory `/home/ler/pg-dev/pgsql/src/backend/access/heap' gcc -pipe -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o heapam.o heapam.c gcc -pipe -O2 -Wall
[HACKERS] tcl/FreeBSD 4.2-STABLE, multiple TCL versions installed
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
Re: [HACKERS] tcl/FreeBSD 4.2-STABLE, multiple TCL versions installed
Larry Rosenman writes: libpgtcl.h:19: tcl.h: No such file or directory How do you suggest going about finding the tcl.h file? it's in /usr/local/include/tcl8.3/ ... This will be a problem with TCL as installed by FreeBSD PORTS... (maybe configure ought to look for it, or have a --with-tclinclude=? I was hoping for a way to let Tcl tell us. The info is certainly there somewhere (in tclConfig.sh most likely). -- Peter Eisentraut [EMAIL PROTECTED] http://yi.org/peter-e/
Re: [HACKERS] tcl/FreeBSD 4.2-STABLE, multiple TCL versions installed
* Peter Eisentraut [EMAIL PROTECTED] [001125 18:26]: Larry Rosenman writes: libpgtcl.h:19: tcl.h: No such file or directory How do you suggest going about finding the tcl.h file? it's in /usr/local/include/tcl8.3/ ... This will be a problem with TCL as installed by FreeBSD PORTS... (maybe configure ought to look for it, or have a --with-tclinclude=? I was hoping for a way to let Tcl tell us. The info is certainly there somewhere (in tclConfig.sh most likely). It's not. I already looked in it. I'm not sure what the "standard" is on FreeBSD, I do know that they support multiple versions concurrently on FreeBSD. I'm not sure what the right fix for us is. Based on the current 7.0.2 port (from Marc...): CONFIGURE_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.3 ${LOCALBASE }/lib/tk8.3" Works. This is, umm, messy at best. -- Peter Eisentraut [EMAIL PROTECTED] http://yi.org/peter-e/ -- 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
Re: [HACKERS] tcl/FreeBSD 4.2-STABLE, multiple TCL versions installed
* Larry Rosenman [EMAIL PROTECTED] [001125 18:40]: * Larry Rosenman [EMAIL PROTECTED] [001125 18:34]: CONFIGURE_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.3 ${LOCALBASE }/lib/tk8.3" Works. This is, umm, messy at best. Err, I lied, Marc adds the /usr/local/include/tcl8.3 and tk8.3 dirs to the --with-includes configure option. Still messy. and it breaks now on 7.1devel sources... -- Peter Eisentraut [EMAIL PROTECTED] http://yi.org/peter-e/ -- 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 -- 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 -- 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
Re: [HACKERS] tcl/FreeBSD 4.2-STABLE, multiple TCL versions installed
* Larry Rosenman [EMAIL PROTECTED] [001125 18:54]: Works. This is, umm, messy at best. Err, I lied, Marc adds the /usr/local/include/tcl8.3 and tk8.3 dirs to the --with-includes configure option. Still messy. and it breaks now on 7.1devel sources... Here is what I issued configure with: ./configure --prefix=/home/ler/pg-test --enable-syslog \ --with-CXX --with-perl --enable-multibyte --enable-cassert \ --with-openssl \ --with-includes="/usr/local/include/tcl8.3 /usr/local/include/tk8.3" \ --with-tcl \ --with-tclconfig=/usr/local/lib/tcl8.3 \ --with-tkconfig=/usr/local/lib/tk8.3 and it still breaks the same way. The output doesn't show the --with-includes directive directories ANYWHERE in the make output :-( LER -- 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