Fwd: Installation of tcltk fails

Yaniv Almog <[email protected]> Fri, 15 Mar 2024 19:51:27 +0200
Newsgroups gmane.os.apple.fink.beginners
Message-ID <CALidD0EDwM1JP32OaBEPJkmUVOVv94_Dhh8ZXc4j5xUycVy8bA@mail.gmail.com>
 Dear all

I repeay my previous message (which hasn't been answered yet) with more
details.

Thanks for looking into that
Yaniv

gcc -dynamiclib -Os -pipe   -L/opt/sw/lib/x86_64-darwin -L/opt/sw/lib
-Wl,-headerpad_max_install_names -headerpad_max_install_names
-Wl,-search_paths_first  -Wl,-single_module -o libtk8.6.dylib tk3d.o
tkArgv.o tkAtom.o tkBind.o tkBitmap.o tkBusy.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 tkImgPNG.o tkImgPPM.o
tkImgPhoto.o tkImgPhInstance.o tkText.o tkTextBTree.o tkTextDisp.o
tkTextImage.o tkTextIndex.o tkTextMark.o tkTextTag.o tkTextWind.o
tkStubInit.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  -lpthread -L/opt/sw/lib
-lXft -lfontconfig -lfreetype -lfontconfig -L/usr/X11/lib -lX11
-Wl,-weak-lXss -lXext  -lz  -lpthread
/opt/sw.build/tcltk-8.6.10-2/tcl8.6.10/unix/libtclstub8.6.a
-compatibility_version
8.6 -current_version 8.6.10 -install_name "/opt/sw/lib/libtk8.6.dylib"
-unexported_symbols_list $(f=libtk8.6.dylib.E && nm -gp tkMacOSX*.o
2>/dev/null | awk "/^[0-9a-f]+ . \.objc/ {print \$3}" > $f && nm -gjp
"/opt/sw.build/tcltk-8.6.10-2/tcl8.6.10/unix"/libtclstub8.6.a | grep ^_[^_]
>> $f && echo $f) -sectcreate __TEXT __info_plist Tk-Info.plist

ld: warning: -single_module is obsolete

ld: warning: ignoring duplicate libraries: '-lfontconfig', '-lpthread'

ld: Undefined symbols:

  _TclIsSpaceProc, referenced from:

      _strtoul in libtclstub8.6.a[6](strtoul.o)

clang: *error: **linker command failed with exit code 1 (use -v to see
invocation)*

make: *** [libtk8.6.dylib] Error 1

make: Leaving directory `/opt/sw.build/tcltk-8.6.10-2/tk8.6.10/unix'

### execution of /tmp/fink.QWiay failed, exit code 2

### execution of /tmp/fink.N2qr1 failed, exit code 2



---------- Forwarded message ---------
From: Yaniv Almog <[email protected]>
Date: Tue, Mar 12, 2024 at 4:20 PM
Subject: Installation of tcltk fails
To: fink-beginners <[email protected]>
Cc: <[email protected]>


Dear all

Here is the error message

ld: warning: -single_module is obsolete

ld: warning: ignoring duplicate libraries: '-lfontconfig', '-lpthread'

ld: Undefined symbols:

  _TclIsSpaceProc, referenced from:

      _strtoul in libtclstub8.6.a[6](strtoul.o)

clang: *error: **linker command failed with exit code 1 (use -v to see
invocation)*

make: *** [libtk8.6.dylib] Error 1

make: Leaving directory `/opt/sw.build/tcltk-8.6.10-2/tk8.6.10/unix'

### execution of /tmp/fink.FIfWb failed, exit code 2

### execution of /tmp/fink.ukwK3 failed, exit code 2

Removing runtime build-lock...

Removing build-lock package...

/opt/sw/bin/dpkg-lockwait -r fink-buildlock-tcltk-8.6.10-2

(Reading database ... 220420 files and directories currently installed.)

Removing fink-buildlock-tcltk-8.6.10-2 (2024.03.12-15.40.31) ...

Failed: phase compiling: tcltk-8.6.10-2 failed


Many thanks

Yaniv

_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners