Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id D19559F9C35 for ; Mon, 25 Dec 2006 21:09:25 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 74426-10 for ; Mon, 25 Dec 2006 21:09:20 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 06F049F939F for ; Mon, 25 Dec 2006 21:09:21 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from elasmtp-kukur.atl.sa.earthlink.net (elasmtp-kukur.atl.sa.earthlink.net [209.86.89.65]) by svr4.postgresql.org (Postfix) with ESMTP id 3D5A55AF89C for ; Tue, 26 Dec 2006 01:09:20 +0000 (GMT) Received: from [4.238.180.193] (helo=mindspring.com) by elasmtp-kukur.atl.sa.earthlink.net with asmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1Gz0of-0003Ba-Dh; Mon, 25 Dec 2006 20:09:19 -0500 Received: (from lbayuk@localhost) by mindspring.com (8.13.7/8.13.7) id kBQ18k6Z006461; Mon, 25 Dec 2006 20:08:46 -0500 Date: Mon, 25 Dec 2006 20:08:46 -0500 From: L Bayuk To: Deadwood Cc: pgsql-interfaces@postgresql.org Subject: Re: pgtcl installation problem Message-ID: <20061226010846.GA6454@mail.mindspring.com> References: <1166890507.995228.251400@a3g2000cwd.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1166890507.995228.251400@a3g2000cwd.googlegroups.com> User-Agent: Mutt/1.4.2.2i X-ELNK-Trace: 7a0205cf9d42df0a5e89bb4777695beb69025943178dce0b8769ddbee32fe2ae5ccbdcbf394aaa87350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 4.238.180.193 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.101 tagged_above=0 required=5 tests=AWL, BAYES_50, DNS_FROM_RFC_ABUSE, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200612/32 X-Sequence-Number: 6366 On Sat, Dec 23, 2006 at 08:15:08AM -0800, Deadwood wrote: > Note that I also had to untar the source code again for the > second install to work (no make mrproper?). Use "make distclean", which I think is the GNU standard for that. (Don't know where the Linux folks got "mrproper" from.) > For my system, the following values pulled from the INSTALL file > worked: > ./configure --libdir=/usr/lib/tcl8.4 > --with-postgres-include=$(pg_config --includedir) > --with-postgres-lib=$(pg_config --libdir) Yes, that is what works for me. But I agree that the fact that "configure" alone seems to work, and then make fails when it can't find the headers, is a bad thing. I think the "other" Pgtcl project has it default to using pg_config to get the values, which is much better. Assuming pg_config is in your PATH. I have a new release of pgtclng almost ready, with event-driven asynchronous queries, and I will see if I can improve the default configure behavior. > It would be nice if the install script checks that the library loads > successfully before installing. Yes it would be very nice. As it stands now, it will happily make the library even with missing dependencies. But I don't know how to fix that. Know of anything autoconf-based that detects this situation?