From: Jim I. <ji...@ap...> - 2002-02-15 00:34:44
|
Daniel, Two things here. First, ot doesn't look like you are including the Tcl library in your link line for tk. But that doesn't much matter, the port of Tk to Mac OS X postdates 8.3.4, and in fact hasn't been checked onto the HEAD of the 8.4 branch. You want to check out the macosx-8-4-branch branch of the tcl & tk sources if you want Tk for Mac OS X. The other option is to get Xfree, and use that to compile with Tk. Jim >> you should use 8.3.4 or the 8.4 cvs HEAD which have fixes that should >> take care of both the build problem and the dyld problem (8.3.3 was >> using an older dyld api to load tcl extension that were linked as >> dyld bundles not shared libraries). >> >> see also http://www.maths.mq.edu.au/~steffen/tcltk/darwin.html > > I tried with 8.3.4 > Tcl compiles right away, with Tk I get now the following error. > I think it is looking for the Tcl libraries but cannot find them. > I have tried to tweak the Makefile but with no luck, any ideas? > > Thanks > > Daniel > > [localhost:~/test/tk8.3.4/unix] daniel% make > rm -f libtk8.3.dylib > cc -dynamiclib -prebind -o libtk8.3.dylib 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 tkUtil.o tkVisual.o tkWindow.o tkUnix.o > tkUnix3d.o tkUnixButton.o tkUnixColor.o tkUnixConfig.o tkUnixCursor.o > tkUnixDraw.o tkUnixEmbed.o tkUnixEvent.o tkUnixFocus.o tkUnixFont.o > tkUnixInit.o tkUnixKey.o tkUnixMenu.o tkUnixMenubu.o tkUnixScale.o > tkUnixScrlbr.o tkUnixSelect.o tkUnixSend.o tkUnixWm.o tkUnixXId.o > tkStubInit.o tkStubLib.o tkButton.o tkEntry.o tkFrame.o tkListbox.o tkMenu.o > tkMenubutton.o tkMenuDraw.o tkMessage.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 -L/Users/daniel/install/lib > ld: warning prebinding disabled because of undefined symbols > ld: Undefined symbols: > _Tcl_DeleteHashEntry > _Tcl_Free > _Tcl_GetIndexFromObj > _Tcl_GetString > _Tcl_InitHashTable > _Tcl_ListObjAppendElement > [...] > _Tcl_UniCharIsAlpha > _Tcl_UtfToLower > _XRectInRegion > _Tcl_UtfPrev > /usr/bin/libtool: internal link edit command failed > make: *** [libtk8.3.dylib] Error 1 > [localhost:~/test/tk8.3.4/unix] daniel% > > > _______________________________________________ > Tcl-mac mailing list > Tc...@li... > https://lists.sourceforge.net/lists/listinfo/tcl-mac > -- ++=++=++=++=++=++=++=++=++=++=++=++=++=++=++=++=++=++=++= Jim Ingham ji...@ap... Developer Tools - gdb |