From owner-freebsd-questions Thu May 31 14:40:35 2001 Delivered-To: freebsd-questions@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id BCA0937B422 for ; Thu, 31 May 2001 14:40:31 -0700 (PDT) (envelope-from doug@safeport.com) Received: from localhost (doug@localhost) by fledge.watson.org (8.11.3/8.11.3) with SMTP id f4VLe3B70880 for ; Thu, 31 May 2001 17:40:03 -0400 (EDT) (envelope-from doug@safeport.com) X-Authentication-Warning: fledge.watson.org: doug owned process doing -bs Date: Thu, 31 May 2001 17:40:02 -0400 (EDT) From: Doug Denault X-Sender: doug@fledge.watson.org To: freebsd-questions@FreeBSD.ORG Subject: Re: Need help installing tk 8.2.3 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This turned out to be a more fundamental problem, so I thought I would document my mistake for the archives. The short version is I left off the X11 header files. When I installed the XFree86 4.0.2 binary distribution, either I answered the question asking to install the X11 header files wrong (No), or it did not ask. The Tk-8.[23].x ports include a version of Xlib.h, but make does not seem to use it. I discovered that mistake and extracted Xprog.tgz ==> /usr/X11R6/include. After doing this, it still did not work until I rebooted. I do not know if a rehash (I use tcsh) would have worked but as I was doing all this while running twm, that too was possibly a problem. On Wed, 30 May 2001 doug@safeport.com wrote: > This is a 4.3 system with XFree86 4.0.2 installed from binary > distribution. Almost nothing has been installed (currently running twm). was > installing a package that required tcl-8.2.3 and tk-8.2.3. TCL installed okay > but in TK I get: > > : > ../generic/tk.h:81: X11/Xlib.h: No such file or directory > In file included from ../generic/tkPort.h:32, > from ../generic/tkInt.h:27, > from ../generic/tk3d.h:18, > > as the first of many errors. In tk.h: > > #ifndef _XLIB_H > # ifdef MAC_TCL > # include > # include > # else > # include > # endif > > There is no X11/Xlib.h. My /etc/make.conf is: > > iCFLAGS= -O -pipe > XFREE86_VERSION=4 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message