TCL installation troubles

From: "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu>
To: Postgres Hackers List <hackers(at)postgresql(dot)org>
Subject: TCL installation troubles
Date: 1998-10-27 14:48:38
Message-ID: 3635DD46.D3BBD7CB@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I started out with a Makefile.custom which has in it the following:

USE_TCL= true
TCL_LIB= -ltcl
X_LIBS= -L/usr/X11/lib
TK_LIB= -ltk

Did a "configure", without specifying --with-tcl, then did a "make
install". The installation process hangs forever at the
"mkMakefile.tcldefs.sh" stage:

make[2]: Entering directory `/opt/postgres/pgsql/src/bin/pgtclsh'
Makefile:20: Makefile.tcldefs: No such file or directory
/bin/sh mkMakefile.tcldefs.sh
make[2]: *** Deleting file `Makefile.tcldefs'
make[2]: *** [Makefile.tcldefs] Interrupt
make[1]: *** [install] Interrupt
make: *** [install] Interrupt

Did a ^C to exit. Then, I reran configure with --with-tcl specified this
time, and from the bin/pgtclsh directory did a "make":

golem$ make
Makefile:20: Makefile.tcldefs: No such file or directory
Makefile:22: Makefile.tkdefs: No such file or directory
/bin/sh mkMakefile.tkdefs.sh
/bin/sh mkMakefile.tcldefs.sh
gcc -I../../include -I../../backend -O2 -m486 -Wall
-Wmissing-prototypes -I/usr/X11R6/include -I../../interfaces/libpgtcl
-c pgtclAppInit.c -o pgtclAppInit.o

It looks like it now made the file which is required by the Makefile
(!?), so retrying "make" seems to run to completion.

I know there was quite a bit of discussion on the hackers list about how
to do this installation, but it doesn't seem quite right or at lesat
finished (though I know that the "USE_TCL" in my Makefile.custom might
have thrown it off a little bit). Did this result in any written docs on
how to install? Is someone prepared to fix up the Makefile to make it
more robust (e.g. it can't include a file which hasn't been constructed
yet, though there are ways around that by conditionally including it and
then running make from within that makefile).

- Tom

Browse pgsql-hackers by date

  From Date Subject
Next Message Sferacarta Software 1998-10-27 15:01:11 Re[2]: [HACKERS] Re: [INTERFACES] Odbc parser error
Previous Message Jan Wieck 1998-10-27 09:45:30 Re: rules regression test diff (was Re: [HACKERS] Last call?)