pkgsrc-Bugs archive

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

pkg/39140: Tk does not build on Mac OS X 10.5 (and solution)



>Number:         39140
>Category:       pkg
>Synopsis:       Tk does not build on Mac OS X 10.5 (and solution)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 13 01:20:00 +0000 2008
>Originator:     Steven Sartorius
>Release:        4.0
>Organization:
>Environment:
Darwin imac.localnet 9.4.0 Darwin Kernel Version 9.4.0: Mon Jun  9 19:36:17 PDT 
2008; root:xnu-1228.5.20~1/RELEASE_PPC Power Macintosh powerpc
>Description:
Tk does not build on Mac OS X (10.5.4 ppc).  It fails with the following 
message:
libtool  --mode=link gcc -rpath /usr/pkg/lib -o libtk84.la tk3d.lo tkArgv.lo 
tkAtom.lo tkBind.lo tkBitmap.lo tkClipboard.lo tkCmds.lo tkColor.lo tkConfig.lo 
tkConsole.lo tkCursor.lo tkError.lo tkEvent.lo tkFocus.lo tkFont.lo tkGet.lo 
tkGC.lo tkGeometry.lo tkGrab.lo tkGrid.lo tkMain.lo tkObj.lo tkOldConfig.lo 
tkOption.lo tkPack.lo tkPlace.lo tkSelect.lo tkStyle.lo tkUndo.lo tkUtil.lo 
tkVisual.lo tkWindow.lo tkButton.lo tkEntry.lo tkFrame.lo tkListbox.lo 
tkMenu.lo tkMenubutton.lo tkMenuDraw.lo tkMessage.lo tkPanedWindow.lo 
tkScale.lo tkScrollbar.lo tkCanvas.lo tkCanvArc.lo tkCanvBmap.lo tkCanvImg.lo 
tkCanvLine.lo tkCanvPoly.lo tkCanvPs.lo tkCanvText.lo tkCanvUtil.lo 
tkCanvWind.lo tkRectOval.lo tkTrig.lo tkImage.lo tkImgBmap.lo tkImgGIF.lo 
tkImgPPM.lo tkImgPhoto.lo tkText.lo tkTextBTree.lo tkTextDisp.lo tkTextImage.lo 
tkTextIndex.lo tkTextMark.lo tkTextTag.lo tkTextWind.lo tkStubInit.lo 
tkStubLib.lo tkUnix.lo tkUnix3d.lo tkUnixButton.lo tkUnixColor.lo 
tkUnixConfig.lo tkUnixCurso
 r.lo tkUnixDraw.lo tkUnixEmbed.lo tkUnixEvent.lo tkUnixFocus.lo tkUnixFont.lo 
tkUnixInit.lo tkUnixKey.lo tkUnixMenu.lo tkUnixMenubu.lo tkUnixScale.lo 
tkUnixScrlbr.lo tkUnixSelect.lo tkUnixSend.lo tkUnixWm.lo tkUnixXId.lo 
-lpthread -framework CoreFoundation -lX11 -L/usr/pkg/lib -ltclstub84  
-compatibility_version 8.4 -current_version 8.4.18 -install_name 
/usr/pkg/lib/libtk84.dylib -unexported_symbols_list $(f=libtclstub84.a.E && nm 
-gjp /usr/pkg/lib/libtclstub84.a | grep ^_[^_] > $f && echo $f) -seg1addr 
0xb000000 -sectcreate __TEXT __info_plist Tk-Info.plist  -version-info 1:0
gcc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o 
.libs/libtk84.1.0.0.dylib  .libs/tk3d.o .libs/tkArgv.o .libs/tkAtom.o 
.libs/tkBind.o .libs/tkBitmap.o .libs/tkClipboard.o .libs/tkCmds.o 
.libs/tkColor.o .libs/tkConfig.o .libs/tkConsole.o .libs/tkCursor.o 
.libs/tkError.o .libs/tkEvent.o .libs/tkFocus.o .libs/tkFont.o .libs/tkGet.o 
.libs/tkGC.o .libs/tkGeometry.o .libs/tkGrab.o .libs/tkGrid.o .libs/tkMain.o 
.libs/tkObj.o .libs/tkOldConfig.o .libs/tkOption.o .libs/tkPack.o 
.libs/tkPlace.o .libs/tkSelect.o .libs/tkStyle.o .libs/tkUndo.o .libs/tkUtil.o 
.libs/tkVisual.o .libs/tkWindow.o .libs/tkButton.o .libs/tkEntry.o 
.libs/tkFrame.o .libs/tkListbox.o .libs/tkMenu.o .libs/tkMenubutton.o 
.libs/tkMenuDraw.o .libs/tkMessage.o .libs/tkPanedWindow.o .libs/tkScale.o 
.libs/tkScrollbar.o .libs/tkCanvas.o .libs/tkCanvArc.o .libs/tkCanvBmap.o 
.libs/tkCanvImg.o .libs/tkCanvLine.o .libs/tkCanvPoly.o .libs/tkCanvPs.o 
.libs/tkCanvText.o .libs/tkCanvUtil.o .libs/tkCanvWind.o 
 .libs/tkRectOval.o .libs/tkTrig.o .libs/tkImage.o .libs/tkImgBmap.o 
.libs/tkImgGIF.o .libs/tkImgPPM.o .libs/tkImgPhoto.o .libs/tkText.o 
.libs/tkTextBTree.o .libs/tkTextDisp.o .libs/tkTextImage.o .libs/tkTextIndex.o 
.libs/tkTextMark.o .libs/tkTextTag.o .libs/tkTextWind.o .libs/tkStubInit.o 
.libs/tkStubLib.o .libs/tkUnix.o .libs/tkUnix3d.o .libs/tkUnixButton.o 
.libs/tkUnixColor.o .libs/tkUnixConfig.o .libs/tkUnixCursor.o 
.libs/tkUnixDraw.o .libs/tkUnixEmbed.o .libs/tkUnixEvent.o .libs/tkUnixFocus.o 
.libs/tkUnixFont.o .libs/tkUnixInit.o .libs/tkUnixKey.o .libs/tkUnixMenu.o 
.libs/tkUnixMenubu.o .libs/tkUnixScale.o .libs/tkUnixScrlbr.o 
.libs/tkUnixSelect.o .libs/tkUnixSend.o .libs/tkUnixWm.o .libs/tkUnixXId.o  
-lpthread -lX11 -L/net/shuttle/usr/pkgsrc/x11/tk/work.powerpc/.buildlink/lib 
-ltclstub84  -framework CoreFoundation -install_name  
/usr/pkg/lib/libtk84.1.dylib -compatibility_version 2 -current_version 2.0
ld: library not found for -lX11
collect2: ld returned 1 exit status
*** Error code 1

Stop.
bmake: stopped in /net/shuttle/usr/pkgsrc/x11/tk/work.powerpc/tk8.4.18/unix
*** Error code 1
>How-To-Repeat:

>Fix:
Add the following to the Makefile:

CONFIGURE_ARGS+=        --x-includes=/usr/X11R6/include
CONFIGURE_ARGS+=        --x-libraries=/usr/X11R6/lib



Home | Main Index | Thread Index | Old Index