Thread: Compilation errors when building TCL interface on HP-UX 11

Compilation errors when building TCL interface on HP-UX 11

From
afalanga@syracusenetworks.com (Andrew Falanga)
Date:
Hello to all,

This is not the first time I've installed Postgres, but it is the
first time I've tried to install the TCL library on HP-UX.  I really
need to get the TCL interface build (with TK).

The configure script picks up on the TCL libraries ok when doing the
configuration.  However, when I call /opt/gnu/make/gmake to compile
the build, I continually bomb out when reading pgtcl.c.  Several
variables saying "Waring, xxxx undeclared first use in this function"
and so forth.

What is the magic ingrediant to get this stuff to build properly.  The
OS platform is HP-UX 11i.  TCL version 8.3.4 and so forth.  Forgive
the ignorance, but is this just something as simple as passing some
further compiler flags?

Thanks for any help that you can give me,
Andy

Re: Compilation errors when building TCL interface on HP-UX 11

From
Tom Lane
Date:
afalanga@syracusenetworks.com (Andrew Falanga) writes:
> This is not the first time I've installed Postgres, but it is the
> first time I've tried to install the TCL library on HP-UX.  I really
> need to get the TCL interface build (with TK).

FWIW, it works out-of-the-box for me on HPUX 10.20 ...

            regards, tom lane

Re: Compilation errors when building TCL interface on

From
"Nigel J. Andrews"
Date:
On 26 Feb 2003, (Andrew Falanga) wrote:

> Hello to all,
>
> This is not the first time I've installed Postgres, but it is the
> first time I've tried to install the TCL library on HP-UX.  I really
> need to get the TCL interface build (with TK).
>
> The configure script picks up on the TCL libraries ok when doing the
> configuration.  However, when I call /opt/gnu/make/gmake to compile
> the build, I continually bomb out when reading pgtcl.c.  Several
> variables saying "Waring, xxxx undeclared first use in this function"
> and so forth.

Well, although you have given a summary of warnings which may be relevent you
haven't given what the errors are that stops the build. It may someone does
know the magic solution but it's more likely to happen if the errors are given.

If you're quick no one will notice before the morning :)

> What is the magic ingrediant to get this stuff to build properly.  The
> OS platform is HP-UX 11i.  TCL version 8.3.4 and so forth.  Forgive
> the ignorance, but is this just something as simple as passing some
> further compiler flags?
>
> Thanks for any help that you can give me,
> Andy


--
Nigel J. Andrews