pkgsrc-Users archive

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

Re: Problem compiling lang/tcl under Darwin/64-bit



I have the very much similar problem with
lang/tcl on Mac OS X 10.6.1,
  http://www.ki.nu/~makoto/pkgsrc/lang/tcl-8.4.18-install-problem

 With manual intervetion, I did manage to package this 8.4.18 on Mac OS X,
but I had another problem on x11/tk (84).

So I have tried wip/tcl85 and wip/tk85.
These two has minor PATH discrepancy on Mac OS X only.

  tcl85 placed -> /usr/pkg/lib/libtclstub8.5.a
  tk85 wants   -> /usr/pkg/lib/tcl8.5/libtclstub8.5.a

I have checked the same thing on NetBSD/amd64 6_BETA2,
and it is fine, no problem at all.

Does any one have fix ?
---
Makoto Fujiwara, 
Chiba, Japan, Narita Airport and Disneyland prefecture.

-----------------------------------------------
This is not a complete log, 
once fully bmake and run again to get error message.
-----------------------------------------------
d187@makoto 16:53:23/120711(..wip/tk85)% bmake
=> Bootstrap dependency digest>=20010302: found digest-20080510
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg 
fetch-pkg-vulnerabilities'.

===> Building for tk-8.5.11
rm -f libtk8.5.dylib

gcc -dynamiclib -Os -pipe -O2 -I/usr/pkg/include
-I/usr/include -I/usr/X11/include -I/usr/X11/include/freetype2
-pipe -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include
-I/usr/include -I/usr/X11/include -I/usr/X11/include/freetype2
-L/usr/pkg/lib -L/usr/lib -L/usr/X11/lib -prebind
-headerpad_max_install_names -Wl,-search_paths_first
-Wl,-single_module -o libtk8.5.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 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
ttkBlink.o ttkButton.o ttkCache.o ttkClamTheme.o
ttkClassicTheme.o ttkDefaultTheme.o ttkElements.o ttkEntry.o
ttkFrame.o ttkImage.o ttkInit.o ttkLabel.o ttkLayout.o
ttkManager.o ttkNotebook.o ttkPanedwindow.o ttkProgress.o
ttkScale.o ttkScrollbar.o ttkScroll.o ttkSeparator.o
ttkSquare.o ttkState.o ttkTagSet.o ttkTheme.o ttkTrace.o
ttkTrack.o ttkTreeview.o ttkWidget.o ttkStubInit.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 -framework
CoreFoundation -L/usr/X11/lib -lX11 -Wl,-weak-lXss -lXext
-L/usr/pkg/lib -lXft -lX11 -L/usr/pkg/lib -lfreetype -lz
-L/usr/pkg/lib -lfontconfig -L/usr/X11/lib -lXrender -lX11
-framework CoreFoundation -L/usr/pkg/lib -ltclstub8.5
-compatibility_version 8.5 -current_version 8.5.11
-install_name "/usr/pkg/lib"/libtk8.5.dylib
-unexported_symbols_list $(f=libtclstub8.5.a.E && nm -gjp
"/usr/pkg/lib/tcl8.5"/libtclstub8.5.a | grep ^_[^_] > $f &&
echo $f) -seg1addr 0xb000000 -sectcreate __TEXT __info_plist
Tk-Info.plist

nm: can't open file: /usr/pkg/lib/tcl8.5/libtclstub8.5.a (No such file or 
directory)
i686-apple-darwin10-gcc-4.2.1: 0xb000000: No such file or directory
*** Error code 1

d187@makoto 17:09:56/120711(..wip/tk85)% find /usr/pkg/lib -name libtclstub\*
/usr/pkg/lib/libtclstub8.5.a



Home | Main Index | Thread Index | Old Index