Date: Thu, 31 May 2001 17:40:02 -0400 (EDT) From: Doug Denault <doug@safeport.com> To: freebsd-questions@FreeBSD.ORG Subject: Re: Need help installing tk 8.2.3 Message-ID: <Pine.BSF.3.96.1010531172629.64866A-100000@fledge.watson.org> In-Reply-To: <Pine.BSF.4.21.0105300855050.25286-100000@pemaquid.safeport.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <Xlib.h> > # include <X.h> > # else > # include <X11/Xlib.h> > # 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.1010531172629.64866A-100000>