Tk Source Code

View Ticket
Login
Ticket UUID: 1696913
Title: "--enable-xft" - compile error / missing in README
Type: Bug Version: obsolete: 8.5a5
Submitter: nobody Created on: 2007-04-09 13:23:36
Subsystem: 84. Unix Build Assigned To: stwo
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2022-09-14 15:21:47
Resolution: Out of Date Closed By: jan.nijtmans
    Closed on: 2022-09-14 15:21:47
Description:
Three things:

1) "--enable-xft" isn't documented in the file unix/README; I only noticed this option while reading the newsgroup comp.lang.tcl ...

2) This option causes an error while compiling the source on "FreeBSD 6.0-RELEASE": "./configure --enable-xft" fully works without an error, but "make" fails:

-----------------------------------------------------------------------

ld -Bshareable -x -o libtk8.5.so tk3d.o tkArgv.o tkAtom.o tkBind.o tkBitmap.o tkClipboard.o  tkCmds.o tkColor.o tkConfig.o tkConsole.o tkCursor.o tkError.o  tkEvent.o tkFocus.o tkFont.o tkGet.o tkGC.o tkGeometry.o tkGrab.o  tkGrid.o tkMain.o tkObj.o tkOldConfig.o tkOption.o tkPack.o tkPlace.o  tkSelect.o tkStyle.o tkUndo.o tkUtil.o tkVisual.o tkWindow.o tkButton.o tkEntry.o tkFrame.o tkListbox.o  tkMenu.o tkMenubutton.o tkMenuDraw.o tkMessage.o  tkPanedWindow.o tkScale.o tkScrollbar.o tkCanvas.o tkCanvArc.o tkCanvBmap.o tkCanvImg.o  tkCanvLine.o tkCanvPoly.o tkCanvPs.o tkCanvText.o  tkCanvUtil.o tkCanvWind.o tkRectOval.o tkTrig.o tkImage.o tkImgBmap.o tkImgGIF.o tkImgPPM.o tkImgPhoto.o tkText.o tkTextBTree.o tkTextDisp.o tkTextImage.o tkTextIndex.o  tkTextMark.o tkTextTag.o tkTextWind.o  tkStubInit.o tkStubLib.o tkUnix.o tkUnix3d.o tkUnixButton.o tkUnixColor.o tkUnixConfig.o  tkUnixCursor.o tkUnixDraw.o tkUnixEmbed.o tkUnixEvent.o  tkUnixFocus.o  tkUnixRFont.o tkUnixInit.o tkUnixKey.o tkUnixMenu.o  tkUnixMenubu.o tkUnixScale.o tkUnixScrlbr.o tkUnixSelect.o  tkUnixSend.o tkUnixWm.o tkUnixXId.o -L/usr/X11R6/lib -lX11 -lXss -lXext -L/usr/X11R6/lib -lXft -lX11 -L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -lfreetype -lz -L/usr/X11R6/lib -lfontconfig -L/usr/X11R6/lib -lXrender -lX11 -lXext   -lm -L/home/jo/tcl8.5a5/unix -ltclstub8.5   -rpath /usr/local/lib:/usr/X11R6/lib
ld: unrecognized option '-Wl,--rpath'
ld: use the --help option for usage information
*** Error code 1

Stop in /usr/home/jo/tk8.5a5/unix.

-----------------------------------------------------------------------

Without this option everything works.

3) Found some referers to version 8.4:

| jo@jeroboam ~>  grep -r "package require" tk8.5a5/ | grep "8.4"
| tk8.5a5/library/demos/ixset:package require Tcl 8.4
| tk8.5a5/library/demos/rmt:package require Tcl 8.4
| tk8.5a5/library/demos/tcolor:package require Tk 8.4
| tk8.5a5/library/demos/timer:package require Tcl 8.4
| tk8.5a5/tests/all.tcl:package require Tcl 8.4
| tk8.5a5/tests/constraints.tcl:package require Tcl 8.4
| tk8.5a5/tests/constraints.tcl:package require Tk 8.4

reported by: Joachim Moskalewski <[email protected]>
User Comments: stwo added on 2013-01-31 19:25:13:
1) Fixed in check-in [20e8137967].
2) Anyone with a FreeBSD machine wanna see if the rpath is still getting munged? I can't see how this is happening.
3) Should be fine. I don't think that has to change.