Re: make PostgreSQL with TCLSH: No rule to make target

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: make PostgreSQL with TCLSH: No rule to make target
Дата
Msg-id 32467.1476973115@sss.pgh.pa.us
обсуждение исходный текст
Ответ на make PostgreSQL with TCLSH: No rule to make target  (Andre Mikulec <andre_mikulec@hotmail.com>)
Ответы Re: make PostgreSQL with TCLSH: No rule to make target  (Andre Mikulec <andre_mikulec@hotmail.com>)
Список pgsql-general
Andre Mikulec <andre_mikulec@hotmail.com> writes:
> I am trying to configure PostgreSQL with the pltcl language available.

You're not having any luck with PLs at all, are you?

> $ ./configure TCLSH=/c/EnterpriseDB/LanguagePack/9.5/x64/Tcl-8.5/bin

I seriously doubt that that's a correct value for TCLSH; the variable is
supposed to reference the tclsh executable, not a directory.

> At the very end of the make, I am getting the error message.

> make[3]: *** No rule to make target `/c/EnterpriseDB/LanguagePack/9.5/x64/Tcl-8.5//.dll', needed by `.def'.  Stop.

Comparing that to relevant entries in pl/tcl/Makefile,

tclwithver = $(subst -l,,$(filter -l%, $(TCL_LIB_SPEC)))
TCLDLL = $(dir $(TCLSH))/$(tclwithver).dll

$(tclwithver).def: $(TCLDLL)
    pexports $^ > $@

it seems pretty clear that tclwithver is being set to the empty string,
which suggests that TCL_LIB_SPEC is empty or doesn't contain any word
starting with "-l".  You could look into src/Makefile.global to see
what value configure has obtained for TCL_LIB_SPEC.  AFAICT, it gets
that value verbatim from tclConfig.sh, so this suggests something
messed-up about your Tcl installation.  Or maybe the bad value for
TCLSH is somehow causing this, though I'm not sure how.

            regards, tom lane


В списке pgsql-general по дате отправления:

Предыдущее
От: Alvaro Aguayo Garcia-Rada
Дата:
Сообщение: Re: Sequences / Replication
Следующее
От: Francisco Olarte
Дата:
Сообщение: Re: Strange? BETWEEN behaviour.