Re: pltcl build problem on FreeBSD (was: Re: pltlc and pltlcu

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Brent Verner <brent(at)rcfile(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Vsevolod Lobko <seva(at)sevasoft(dot)kiev(dot)ua>, Murray Prior Hobbs <murray(at)efone(dot)com>, Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: pltcl build problem on FreeBSD (was: Re: pltlc and pltlcu
Date: 2002-01-23 17:19:49
Message-ID: 200201231719.g0NHJnf20674@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-sql

Tom Lane wrote:
> Brent Verner <brent(at)rcfile(dot)org> writes:
> > | Will it not work to do
> > |
> > | $(shell echo '$(TCL_SHLIB_LD)' | sed ...
>
> > No. I just tested this, and the $@ still got expanded too early.
>
> [ scratches head ... ] Where is the expansion happening, then? Seems
> weird.
>
> > We'll need to use the suggested ifeq($(PORTNAME),linux) test.
>
> I don't much like that since it makes an inappropriate assumption,
> viz that if you're on Linux you must have a TCL_SHLIB_LD value that
> hasn't got any $variables in it. I'd prefer to figure out *why* we
> are getting a premature evaluation.

As a data point, now that FreeBSD is showing problems too, I see this on
BSD/OS with TCL 8.3 in tclConfig.sh:

TCL_SHLIB_LD='cc -shared'

Does this mean I don't have the problem here?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Brent Verner 2002-01-23 17:29:50 Re: pltcl build problem on FreeBSD (was: Re: pltlc and pltlcu problems)
Previous Message Stephan Szabo 2002-01-23 17:09:35 Re: RFD: schemas and different kinds of Postgres objects

Browse pgsql-sql by date

  From Date Subject
Next Message Brent Verner 2002-01-23 17:29:50 Re: pltcl build problem on FreeBSD (was: Re: pltlc and pltlcu problems)
Previous Message Tom Lane 2002-01-23 17:06:25 Re: pltcl build problem on FreeBSD (was: Re: pltlc and pltlcu problems)