Skip site navigation (1) Skip section navigation (2)

problem with mkMakefile.tcldefs.sh if USE_TCL=false

From: jmoschet(at)netscape(dot)net
To: pgsql-hackers(at)postgresql(dot)org, pgsql-admin(at)postgresql(dot)org
Subject: problem with mkMakefile.tcldefs.sh if USE_TCL=false
Date: 2001-01-02 22:55:30
Message-ID: 1312624B.380EA5D9.009EFA21@netscape.net (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-generalpgsql-hackers
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/

Responses

pgsql-hackers by date

Next:From: Alfred PerlsteinDate: 2001-01-02 23:58:19
Subject: Re: Patches with vacuum fixes available for 7.0.x
Previous:From: Ian Lance TaylorDate: 2001-01-02 20:53:32
Subject: Re: [HACKERS] Re: pgsql/src (Makefile.global.in)

pgsql-admin by date

Next:From: SRINIVASARAGHAVAN,RAJESH (HP-Cupertino,ex1)Date: 2001-01-03 01:00:29
Subject: programmatic interface into admin
Previous:From: Michael DavisDate: 2001-01-02 21:31:02
Subject: RE: pg_dump/psql < db.out issue

pgsql-general by date

Next:From: Thomas T. ThaiDate: 2001-01-02 23:08:17
Subject: baseconvert
Previous:From: Eric MuellerDate: 2001-01-02 22:47:05
Subject: RE: Re: MySQL and PostgreSQL speed compare

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group