> > 3- src/pl/tcl/Makefile has a bug. line 69 is > > CFLAGS= $(TCL_CFLAGS_OPTIMIZE) > > that clobbers all CFLAGS included previously. as a result the include > > directories, important to find tcl.h etc. will not be added to the > > options and the compilation stops here complaining that it can't locate > > tcl.h etc. > > I just changed it to > > CFLAGS+= $(TCL_CFLAGS_OPTIMIZE) > > Good point, but that's no solution --- the reason that the makefile > isn't keeping the main CFLAGS is that Tcl (and hence pltcl) may be > built with a different compiler than Postgres is being built with. > The Tcl compiler may not like the other compiler's switches. I guess > we could arrange to insert just the -I switches from your > --with-includes configuration command, however. Tom, do you want his verion in Makefile, or the original? -- Bruce Momjian | http://www.op.net/~candle [EMAIL PROTECTED] | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026