pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jmoschet@netscape.net
To: pgsql-hackers@postgresql.org
To: pgsql-admin@postgresql.org
Subject: problem with mkMakefile.tcldefs.sh if USE_TCL=false
Date: Tue, 02 Jan 2001 17:55:30 -0500
Message-ID: <1312624B.380EA5D9.009EFA21@netscape.net> (raw)

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/



view thread (3+ messages)  latest in thread

Message-ID: <1312624B.380EA5D9.009EFA21@netscape.net>
Permalink:  ../1312624B.380EA5D9.009EFA21@netscape.net/
Also on:    postgresql.org/message-id/1312624B.380EA5D9.009EFA21@netscape.net

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jmoschet@netscape.net, pgsql-hackers@postgresql.org
  Subject: Re: problem with mkMakefile.tcldefs.sh if USE_TCL=false
  In-Reply-To: <1312624B.380EA5D9.009EFA21@netscape.net>
  References: <1312624B.380EA5D9.009EFA21@netscape.net>

* 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