From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Andre Mikulec <andre_mikulec(at)hotmail(dot)com> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: make PostgreSQL with TCLSH: No rule to make target |
Date: | 2016-10-20 14:18:35 |
Message-ID: | 32467.1476973115@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Andre Mikulec <andre_mikulec(at)hotmail(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Aguayo Garcia-Rada | 2016-10-20 14:19:25 | Re: Sequences / Replication |
Previous Message | Bjørn T Johansen | 2016-10-20 14:13:54 | Re: Strange? BETWEEN behaviour. |