pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: L Bayuk <lbayuk@pobox.com>
To: Deadwood <adamfe@gmail.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: pgtcl installation problem
Date: Mon, 25 Dec 2006 20:08:46 -0500
Message-ID: <20061226010846.GA6454@mail.mindspring.com> (raw)
In-Reply-To: <1166890507.995228.251400@a3g2000cwd.googlegroups.com>
References: <Pine.LNX.4.60.0612232025590.14153@calypso.view.net.au>
	<1166890507.995228.251400@a3g2000cwd.googlegroups.com>

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?



view thread (7+ messages)

Message-ID: <20061226010846.GA6454@mail.mindspring.com>
Permalink:  ../20061226010846.GA6454@mail.mindspring.com/
Also on:    postgresql.org/message-id/20061226010846.GA6454@mail.mindspring.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: lbayuk@pobox.com, adamfe@gmail.com
  Subject: Re: pgtcl installation problem
  In-Reply-To: <20061226010846.GA6454@mail.mindspring.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox