Re: --with-tcl won't gmake

From: Petre Scheie <petre(dot)scheie(at)nextelpartners(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: --with-tcl won't gmake
Date: 2003-01-23 17:56:09
Message-ID: 3E302CB9.3070207@nextelpartners.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

It looks like (a) is the problem, as the only thing in /usr/include/X11/
is a dirctory called bitmaps. This may be a naive question, but how do
I figure out what I need in there?

I'll try it with the --without-tk. The purpose of including these
switches is to provide support for pgaccess; but the error I was getting
only refers to needing tcl, I believe.

Tom Lane wrote:
> Petre Scheie <petre(dot)scheie(at)nextelpartners(dot)com> writes:
>
>>I'm trying to install pg with the --with-tcl and --with-perl options on
>>an HP-UX 11.0 system. ./configure runs okay, but when I run gmake I get
>>the following:
>
>
>>In file included from /usr/local/include/tk.h:83,
>> from pgtkAppInit.c:15:
>>/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.1/include/X11/Xlib.h:67:19:
>>X11/X.h: No such file or directory
>>/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.1/include/X11/Xlib.h:70:28:
>>X11/Xfuncproto.h: No such file or directory
>>/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.1/include/X11/Xlib.h:71:25:
>>X11/Xosdefs.h: No such file or directory
>>[ followed by lots of errors caused by lack of these headers ]
>
>
> I'd say that the breakage is in your system headers or gcc installation,
> not in either tcl or Postgres. It would seem that either (a) you don't
> have the X11 headers at all, or (b) there's something wrong with gcc's
> derived copy of X11/Xlib.h. Is there anything in /usr/include/X11/ ?
> If not, you have some software to install. If so, maybe rerunning gcc's
> fixincludes script would help. I have seen similar-looking problems
> when people copied a gcc installation from one version of HPUX to a
> newer one instead of doing a fresh gcc install --- gcc's derived headers
> were then out of sync with /usr/include.
>
> If that sounds out of your league, you could probably dodge the problem
> by configuring PG --with-tcl --without-tk, and just forget pgtksh.
>
> regards, tom lane
>

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2003-01-23 18:06:29 Re: --with-tcl won't gmake
Previous Message Tom Lane 2003-01-23 16:32:31 Re: --with-tcl won't gmake