Re: Problem compiling postgres sql --with-tcl - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Problem compiling postgres sql --with-tcl
Date
Msg-id Pine.LNX.4.30.0112142301200.649-100000@peter.localdomain
Whole thread Raw
In response to Re: Problem compiling postgres sql --with-tcl  ("Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at>)
Responses Re: Problem compiling postgres sql --with-tcl  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Zeugswetter Andreas SB SD writes:

> Second I do not understand why the Makefile in pl/tcl is so complicated,
> and not similar e.g. to the plpython one, so the first task should be to
> simplify the Makefile to use Makefile.shlib, and not cook it's own soup.

All the oddities in that makefile are there because presumably some system
needed them in the past.  Personally, I think the whole makefile is one
big bug, but I wasn't too eager to touch it because it seemed to work.
Now that we have an actual case where it doesn't I guess we need to look
at it.

> Basically:
>     NAME=pltcl
>     OBJS=pltcl.o
>     SHLIB_LINK=$(TCL_LIB_SPEC) $(TCL_LIBS)
>     all: all-lib

That seems about right.  Please try it out at your convenience.

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Jean-Michel POURE
Date:
Subject: Re: [CYGWIN] Requirement for pgAdmin browser.
Next
From: Bruce Momjian
Date:
Subject: Re: [CYGWIN] Requirement for pgAdmin browser.