Received: from imo-r12.mail.aol.com (imo-r12.mx.aol.com [152.163.225.66]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f02Mso710056; Tue, 2 Jan 2001 17:54:50 -0500 (EST) (envelope-from jmoschet@netscape.net) Received: from jmoschet@netscape.net by imo-r12.mx.aol.com (mail_out_v28.35.) id k.1c.5becbf (16232); Tue, 2 Jan 2001 17:55:28 -0500 (EST) Received: from netscape.com (aimmail10.aim.aol.com [205.188.144.202]) by air-in02.mx.aol.com (v77.31) with ESMTP; Tue, 02 Jan 2001 17:55:27 -0500 Date: Tue, 02 Jan 2001 17:55:30 -0500 From: jmoschet@netscape.net To: pgsql-hackers@postgresql.org, pgsql-admin@postgresql.org Subject: problem with mkMakefile.tcldefs.sh if USE_TCL=false Mime-Version: 1.0 Message-ID: <1312624B.380EA5D9.009EFA21@netscape.net> X-Mailer: Franklin Webmailer 1.0 Content-Type: text/plain; charset="us-ascii" X-Archive-Number: 200101/11 X-Sequence-Number: 381 I configured postgres 7.0.2 without tcl (or plperl for that matter). So I went back and tried to make them. plperl made fine. No problems adding it to Postgres either. But the tcl build fails and I think it is because configure creates an erroneous mkMakefile.tcldefs.sh unless USE_TCL is defined. The Makefile for tcl executes the mkMakefile.tcldefs.sh to create the needed defs to compile the pltcl.so # here's the target Makefile.tcldefs: mkMakefile.tcldefs.sh /bin/sh mkMakefile.tcldefs.sh But if USE_TCL is not true then when configure creates the mkMakefile.tcldefs.sh from the .in file, @TCL_CONFIG_SH@ is not so nothing is substituted for it in the resulting mkMakefile.tcldefs.sh. I was able to overcome this by hand copying the tclConfig.sh to Makefile.tcldefs (and then removed all the ' (single quotes)) and everything is ok now. Just a note for something that may need to be repaired so tcl can be added after an initial postgres build w/o having to re configure and reinstall ? the __________________________________________________________________ Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/