While compiling in FreeBSD 6.2, with tcl8.5a1 installed:
...
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 -lpthread
-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
-lpthread -lm -L/home/josemaria/tcl/lib -ltclstub8.5
-rpath
/home/josemaria/tcl/lib:/usr/X11R6/lib
ld: unrecognized option '-Wl,--rpath'
ld: use the --help option for usage information
*** Error code 1
Stop in /tmp/tcl/tk8.5a5/unix.
To solve it you need to edit Makefile and change the
line 288:
XFT_LIBS = -L/usr/X11R6/lib -lXft -lX11
-L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
-lfreetype....
To:
XFT_LIBS = -L/usr/X11R6/lib -lXft -lX11
-L/usr/local/lib -rpath /usr/local/lib -lfreetype
and it will compile.
Logged In: YES
user_id=80530
Release 8.5a1 is long out of date.
Please verify this is still a problem
with the current development release, 8.5a5.
Without that confirmation, this report
will close.
Logged In: YES
user_id=1312539
Originator: NO
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).