pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedproblem with mkMakefile.tcldefs.sh if USE_TCL=false
3+ messages / 2 participants
[nested] [flat]
* problem with mkMakefile.tcldefs.sh if USE_TCL=false
@ 2001-01-02 22:55 jmoschet@netscape.net
2001-01-04 17:35 ` Re: problem with mkMakefile.tcldefs.sh if USE_TCL=false Peter Eisentraut <peter_e@gmx.net>
0 siblings, 1 reply; 3+ messages in thread
From: jmoschet@netscape.net @ 2001-01-02 22:55 UTC (permalink / raw)
To: pgsql-hackers@postgresql.org; pgsql-admin
I configured postgres 7.0.2 without tcl (or plperl for that matter).
So I went back and tried to make them.
plperl made fine. No problems adding it to Postgres either.
But the tcl build fails and I think it is because configure creates an
erroneous mkMakefile.tcldefs.sh unless USE_TCL is defined.
The Makefile for tcl executes the mkMakefile.tcldefs.sh to create the needed
defs to compile the pltcl.so
# here's the target
Makefile.tcldefs: mkMakefile.tcldefs.sh
/bin/sh mkMakefile.tcldefs.sh
But if USE_TCL is not true then when configure creates the
mkMakefile.tcldefs.sh from the .in file, @TCL_CONFIG_SH@ is not so nothing is
substituted for it in the resulting mkMakefile.tcldefs.sh.
I was able to overcome this by hand copying the tclConfig.sh to
Makefile.tcldefs (and then removed all the ' (single quotes)) and
everything is ok now.
Just a note for something that may need to be repaired so tcl can be added
after an initial postgres build w/o having to re configure and reinstall ?
the
__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at
http://webmail.netscape.com/
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: problem with mkMakefile.tcldefs.sh if USE_TCL=false
2001-01-02 22:55 problem with mkMakefile.tcldefs.sh if USE_TCL=false jmoschet@netscape.net
@ 2001-01-04 17:35 ` Peter Eisentraut <peter_e@gmx.net>
2001-01-04 18:01 ` Re: problem with mkMakefile.tcldefs.sh if USE_TCL=false jmoschet@netscape.net
0 siblings, 1 reply; 3+ messages in thread
From: Peter Eisentraut @ 2001-01-04 17:35 UTC (permalink / raw)
To: jmoschet@netscape.net; +Cc: pgsql-hackers@postgresql.org; pgsql-admin
jmoschet@netscape.net writes:
> But the tcl build fails and I think it is because configure creates an
> erroneous mkMakefile.tcldefs.sh unless USE_TCL is defined.
> Just a note for something that may need to be repaired so tcl can be added
> after an initial postgres build w/o having to re configure and reinstall ?
Lying to configure is not supported. If you change your mind about the
options then you need to rerun it.
--
Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: problem with mkMakefile.tcldefs.sh if USE_TCL=false
2001-01-02 22:55 problem with mkMakefile.tcldefs.sh if USE_TCL=false jmoschet@netscape.net
2001-01-04 17:35 ` Re: problem with mkMakefile.tcldefs.sh if USE_TCL=false Peter Eisentraut <peter_e@gmx.net>
@ 2001-01-04 18:01 ` jmoschet@netscape.net
0 siblings, 0 replies; 3+ messages in thread
From: jmoschet@netscape.net @ 2001-01-04 18:01 UTC (permalink / raw)
To: peter_e@gmx.net; +Cc: jmoschet@netscape.net; pgsql-hackers@postgresql.org; pgsql-admin
How is that a lie? This isn't the case with --with-perl. Perl interface
still builds fine if you leave out --with-perl and decide to add it later.
It's simply that configure created the makefile either way, --with-tcl option
or without. It was just a request to be consistent, or do nothing at all.
The documentation in the directory mentions nothiong about having to had
specify --with-tcl for the pltcl to build.
Peter Eisentraut <peter_e@gmx.net> wrote:
>
> jmoschet@netscape.net writes:
>
> > But the tcl build fails and I think it is because configure creates an
> > erroneous mkMakefile.tcldefs.sh unless USE_TCL is defined.
>
> > Just a note for something that may need to be repaired so tcl can be added
> > after an initial postgres build w/o having to re configure and reinstall ?
>
> Lying to configure is not supported. If you change your mind about the
> options then you need to rerun it.
>
> --
> Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/
>
>
__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at
http://webmail.netscape.com/
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2001-01-04 18:01 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-01-02 22:55 problem with mkMakefile.tcldefs.sh if USE_TCL=false jmoschet@netscape.net
2001-01-04 17:35 ` Peter Eisentraut <peter_e@gmx.net>
2001-01-04 18:01 ` jmoschet@netscape.net
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox