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

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



(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...)

Any hints welcome!
Jason


-------

/usr/ports/x11/tk# make
===> x11/tk/8.0
===>  Building for tk-8.0.5
cc -c -O2     -fpic  -I/usr/ports/x11/tk/8.0/work/tk8.0.5/unix -I/usr/ports/
x11/tk/8.0/work/tk8.0.5/unix/../generic  -I/usr/ports/x11/tk/8.0/work/tk8.0.
5/unix/../bitmaps -I/usr/local/include/tcl8.0/generic  -DHAVE_UNISTD_H=1 -DH
AVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
/usr/ports/x11/tk/8.0/work/tk8.0.5/unix/../generic/tk3d.c
In file included from
/usr/ports/x11/tk/8.0/work/tk8.0.5/unix/../generic/tkInt.h:21,
                 from
/usr/ports/x11/tk/8.0/work/tk8.0.5/unix/../generic/tk3d.h:18,
                 from
/usr/ports/x11/tk/8.0/work/tk8.0.5/unix/../generic/tk3d.c:16:
/usr/ports/x11/tk/8.0/work/tk8.0.5/unix/../generic/tk.h:78: X11/Xlib.h: No
such file or directory
In file included from
/usr/ports/x11/tk/8.0/work/tk8.0.5/unix/../generic/tkPort.h:32,
                 from
/usr/ports/x11/tk/8.0/work/tk8.0.5/unix/../generic/tkInt.h:27,
                 from
/usr/ports/x11/tk/8.0/work/tk8.0.5/unix/../generic/tk3d.h:18,
                 from
/usr/ports/x11/tk/8.0/work/tk8.0.5/unix/../generic/tk3d.c:16:
/usr/ports/x11/tk/8.0/work/tk8.0.5/unix/../generic/../unix/tkUnixPort.h:78:
X11/Xlib.h: No such file or directory
/usr/ports/x11/tk/8.0/work/tk8.0.5/unix/../generic/../unix/tkUnixPort.h:79:
X11/cursorfont.h: No such file or directory
/usr/ports/x11/tk/8.0/work/tk8.0.5/unix/../generic/../unix/tkUnixPort.h:80:
X11/keysym.h: No such file or directory
/usr/ports/x11/tk/8.0/work/tk8.0.5/unix/../generic/../unix/tkUnixPort.h:81:
X11/Xatom.h: No such file or directory
/usr/ports/x11/tk/8.0/work/tk8.0.5/unix/../generic/../unix/tkUnixPort.h:82:
X11/Xproto.h: No such file or directory
/usr/ports/x11/tk/8.0/work/tk8.0.5/unix/../generic/../unix/tkUnixPort.h:83:
X11/Xresource.h: No such file or directory
/usr/ports/x11/tk/8.0/work/tk8.0.5/unix/../generic/../unix/tkUnixPort.h:84:
X11/Xutil.h: No such file or directory
*** Error code 1

Stop in /usr/ports/x11/tk/8.0/work/build-i386 (line 533 of Makefile).
*** Error code 1

Stop in /usr/ports/x11/tk/8.0 (line 1597 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/x11/tk.