Thread: Problems installing pltcl

Problems installing pltcl

From
Peter Keller
Date:
Hello all,
I tried to install PostgreSQL 7.0.2. Everything looked fine but the file
'pltcl.so' was not installed. But this is needed for creating functions
in TCL! What did make I wrong?
The configuration file said TCL enabled!

Here the facts:
PostgreSQL 7.0.2 on i686-pc-linux-gnu, compiled by gcc egcs-2.91.66
Configure:
./configure --prefix=/opt/local/DWH --with-tcl
--exec_prefix=/opt/local/DWH --with-tclconfig=/opt/local/DWH/lib
--with-x --with-tkconfig=/opt/local/DWH/lib

help requested,
Peter
--
        Bezirksfinanzdirektion Muenchen
              Vermessungsabteilung
.........................................................
 Peter Keller        :  Tel: (+49) 089-2190-2594
 Vermessungsrat z.A.:  Fax: (+49) 089-2190-2459
 Alexandrastr. 3    :  mailto:Peter.Keller@bvv.bayern.de
 80538 Muenchen        :  web: http://www.bayern.de/vermessung

Re: Problems installing pltcl

From
Peter Eisentraut
Date:
Peter Keller writes:

> I tried to install PostgreSQL 7.0.2. Everything looked fine but the file
> 'pltcl.so' was not installed. But this is needed for creating functions
> in TCL! What did make I wrong?

We need more information than that, in particular the make output.


--
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden


Re: Problems installing pltcl

From
Peter Keller
Date:
Peter Eisentraut wrote:
> > I tried to install PostgreSQL 7.0.2. Everything looked fine but the file
> > 'pltcl.so' was not installed. But this is needed for creating functions
> > in TCL! What did I make wrong?
>
> We need more information than that, in particular the make output.

OK, here are more detailed informations:
im running
PostgreSQL 7.0.2 on i686-pc-linux-gnu, compiled by gcc egcs-2.91.66

configure:
./configure --prefix=/opt/local/DWH --with-tcl
--with-tkconfig=/opt/local/DWH/lib --exec_prefix=/opt/local/DWH
--with-tclconfig=/opt/local/DWH/lib


the output of the configure is:
...
checking setting USE_TCL... enabled
...
creating interfaces/libpgtcl/Makefile
...
creating pl/plpgsql/src/Makefile
creating pl/plpgsql/src/mklang.sql
creating pl/tcl/mkMakefile.tcldefs.sh


and finaly the output of the makefile:
...
make -C pl all
make[1]: Entering directory `/DWH/PRG/postgresql-7.0.2/src/pl'
make -C plpgsql all
make[2]: Entering directory `/DWH/PRG/postgresql-7.0.2/src/pl/plpgsql'
make -C src all
make[3]: Entering directory
`/DWH/PRG/postgresql-7.0.2/src/pl/plpgsql/src'
...
make[3]: Leaving directory
`/DWH/PRG/postgresql-7.0.2/src/pl/plpgsql/src'
make[2]: Leaving directory `/DWH/PRG/postgresql-7.0.2/src/pl/plpgsql'
make[1]: Leaving directory `/DWH/PRG/postgresql-7.0.2/src/pl'
All of PostgreSQL is successfully made. Ready to install.

Do you need some more informations?
Thanks,
Peter

--
        Bezirksfinanzdirektion Muenchen
              Vermessungsabteilung
.........................................................
 Peter Keller        :  Tel: (+49) 089-2190-2594
 Vermessungsrat z.A.:  Fax: (+49) 089-2190-2459
 Alexandrastr. 3    :  mailto:Peter.Keller@bvv.bayern.de
 80538 Muenchen        :  web: http://www.bayern.de/vermessung