Tk Source Code

View Ticket
Login
Ticket UUID: 1590575
Title: configure doesn't create a correct Makefile in FreeBSD 6.2
Type: Bug Version: obsolete: 8.5a1
Submitter: nobody Created on: 2006-11-04 18:32:41
Subsystem: 84. Unix Build Assigned To: mdejong
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2006-11-19 10:20:14
Resolution: Out of Date Closed By: sf-robot
    Closed on: 2006-11-19 03:20:14
Description:
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.
User Comments: sf-robot added on 2006-11-19 10:20:14:
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).

dgp added on 2006-11-05 02:15:06:
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.