[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ChickenEgg: XF4 needs Tk, Tk needs X libs (Building from Source)



Ullrich 'Jason' Haag wrote (in a message from Saturday 26)
 > (Sorry for cross posting, not quite sure which group this fits in)
 > 
 > I am trying to build XF4 from scratch, with no previous X versions on the
 > system (2.9).
 > I got the XF4 sources.
 > I tried to build. Fails demanding Tcl.
 > Installed Tcl from ports tree.
 > Tried to build again. Fails demanding Tk.
 > Tried to install Tk:
 > Fails, X headers missing [output see below]
 > 
 > "man 8 release" tells me that XF86Setup on my i386 system is the culprit
 > needing Tcl/Tk, but it only says to install from the ports tree...
 > Since the X headers are (presumably) in the XF4 sources, how can I tell the
 > Tk make process to look for them there? (I probably could install the
 > pre-compiled packages of Tcl/Tk, but somehow that would feel like
 > cheating...)

Do a first 'make build' after replacing: 

   #define TCL YES

by:

   #define TCL NO

in XF4/xc-old/programs/Xserver/hw/xfree86/etc/bindist/OpenBSD-ix86/host.def
After that you'll have all but XF86Setup installed. So you can build
and install Tk. 

If you need XF86Setup to configure a XFree86 3.3.6 server (because
your card is not supported by XFreee86 4.0.3 or some other reason...),
you can revert the host.def you edited and do a second make
build.

					Matthieu