On Wed, 02 Nov 2011 19:30:20 -0400, Alexander Hansen wrote: > On 11/2/11 4:41 PM, Alexander Hansen wrote: > > On 11/2/11 2:02 PM, Alexander Hansen wrote: > >> On 11/2/11 1:11 PM, Michal Lijowski wrote: > >>> Package manager version: 0.31.99.cvs Distribution version: >>> > selfupdate-rsync Wed Nov 2 10:02:08 2011, 10.6, x86_64 Trees: > >>> local/main stable/main Xcode: 3.2.6 > > >>> Below are a part of >>> > /sw64/src/fink.build/tcltk-8.5.10-3/tk8.5.10/unix/config.log, >>> > lines 1391 - 1394 > > >>> XFT_CFLAGS='-I/sw64/include -I/sw64/include/freetype2 >>> > -I/usr/X11/include' XFT_LIBS='-L/sw64/lib -L/usr/X11/lib -lXft > >>> -lXrender -lfontconfig -lfreetype -lX11' >>> > XINCLUDES='-I/usr/X11R6/include' > > >>> check for Xft header and library > > >>> checking whether to use xft... yes checking for > >>> X11/Xft/Xft.h... yes checking for XftFontOpen in -lXft... yes > > >>> and a part of the build output where tkUnixRFont.c is > >>> compiled. > > >>> gcc -c -Os -pipe -Wall -fno-common >>> > -I/sw64/src/fink.build/tcltk-8.5.10-3/tk8.5.10/unix/../unix >>> > -I/sw64/src/fink.build/tcltk-8.5.10-3/tk8.5.10/unix/../generic > >>> -I/sw64/src/fink.build/tcltk-8.5.10-3/tk8.5.10/unix/../bitmaps > >>> -I/sw64/src/fink.build/tcltk-8.5.10-3/tcl8.5.10/generic >>> > -I/sw64/src/fink.build/tcltk-8.5.10-3/tcl8.5.10/unix >>> > -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" >>> > -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tk\ 8.5\" >>> > -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 > >>> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 >>> > -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 >>> > -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 >>> > -DMODULE_SCOPE=extern\ >>> > __attribute__\(\(__visibility__\(\"hidden\"\)\)\) >>> -DMAC_OSX_TCL=1 > -DTCL_SHLIB_EXT=\".dylib\" > >>> -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 > >>> -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 > >>> -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_INTPTR_T=1 > >>> -DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1 > >>> -DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_WEAK_IMPORT=1 > >>> -D_DARWIN_C_SOURCE=1 -DHAVE_XSS=1 -DHAVE_LIBXFT=1 -DHAVE_XFT=1 > >>> -DTCL_NO_DEPRECATED -MD -I/sw64/include -DUSE_TCL_STUBS > >>> -I/sw64/include -I/sw64/include/freetype2 -I/usr/X11/include >>> > /sw64/src/fink.build/tcltk-8.5.10-3/tk8.5.10/unix/../unix/tkUnixRFont.c > >>> > There are no compilation errors. The only difference between > >>> above texts and this in >>> > http://www.mail-archive.com/fink-users@lists.sourceforge.net/msg34993.html > >> message is missing > >>> -I/usr/X11R6/include in XFT_CFLAGS and respectively in the >>> > compilation/build log. > > >> In my installation > >>> of X11 /usr/X11R6 is linked to X11. > > >>> ls -l /usr/X11R6 lrwxr-xr-x 1 root wheel 3 Feb 26 2011 >>> > /usr/X11R6 -> X11 > > >>> I have no clue, why I am getting from linking all object files > >>> this error. > > >>> gcc -dynamiclib -Os -pipe -L/sw64/lib >>> > -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 tkG eometry.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 tkCanvA rc.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 tk UnixScale.o tkUnixScrlbr.o tkUnixSelect.o >>> > tkUnixSend.o tkUnixWm.o tkUnixXId.o -L/usr/X11R6/lib -lX11 >>> > -Wl,-weak-lXss -lXext -L/sw64/lib -L/usr/X11/lib -lXft > >>> -lXrender -lfontconfig -lfreetype -lX11 >>> > /sw64/src/fink.build/tcltk-8.5.10-3/tcl8.5.10/unix/libtclstub8.5.a > >>> > >>> > >>> > > > >>> - -compatibility_version 8.5 -current_version 8.5.10 -install_name > >>> "/sw64/lib"/libtk8.5.dylib -unexported_symbols_list >>> > $(f=libtclstub8.5.a.E && nm -gjp >>> > "/sw64/src/fink.build/tcltk-8.5.10-3/tcl8.5.10/unix"/libtclstub8.5.a > >>> > >>> > >>> > > > >>> | grep ^_[^_] > $f && echo $f) -sectcreate __TEXT __info_plist > >>> Tk-Info.plist gcc -Os -pipe -L/sw64/lib >>> > -headerpad_max_install_names -Wl,-search_paths_first >>> tkAppInit.o > >>> /sw64/src/fink.build/tcltk-8.5.10-3/tk8.5.10/unix/libtk8.5.dylib > >>> \ > > >>> /sw64/src/fink.build/tcltk-8.5.10-3/tcl8.5.10/unix/libtcl8.5.dylib > >>> > >>> > >>> > > > >>> - -L/usr/X11R6/lib -lX11 -Wl,-weak-lXss -lXext -L/sw64/lib > >>> -L/usr/X11/lib -lXft -lXrender -lfontconfig -lfreetype -lX11 >>> > -sectcreate __TEXT __info_plist Wish-Info.plist -o wish popd >>> > /sw64/src/fink.build/tcltk-8.5.10-3 fink-package-precedence >>> > --depfile-ext='\.d' --prohibit-bdep=tcltk-dev . Scanning /\.d$/ > >>> dependency files... ./tcl8.5.10/generic/tclDTrace.d >>> > ./tcl8.5.10/unix/bn_fast_s_mp_mul_digs.d >>> > ./tcl8.5.10/unix/bn_fast_s_mp_sqr.d > >>> ./tcl8.5.10/unix/bn_mp_add.d ./tcl8.5.10/unix/bn_mp_add_d.d > >>> ./tcl8.5.10/unix/bn_mp_and.d ./tcl8.5.10/unix/bn_mp_clamp.d > >>> ./tcl8.5.10/unix/bn_mp_clear.d >>> > ./tcl8.5.10/unix/bn_mp_clear_multi.d >>> ./tcl8.5.10/unix/bn_mp_cmp.d > ./tcl8.5.10/unix/bn_mp_cmp_d.d >>> ./tcl8.5.10/unix/bn_mp_cmp_mag.d > ./tcl8.5.10/unix/bn_mp_copy.d > >>> ./tcl8.5.10/unix/bn_mp_count_bits.d > > >>> > ........................................................................ > > > >>> >>> >>> > ./tk8.5.10/unix/ttkScrollbar.d ./tk8.5.10/unix/ttkSeparator.d > >>> ./tk8.5.10/unix/ttkSquare.d ./tk8.5.10/unix/ttkState.d >>> > ./tk8.5.10/unix/ttkStubInit.dPlease fix build process to get >>> > consistent use of fink's headers. > > >>> ./tk8.5.10/unix/ttkStubLib.d ./tk8.5.10/unix/ttkTagSet.d >>> > ./tk8.5.10/unix/ttkTheme.d ./tk8.5.10/unix/ttkTrace.d >>> > ./tk8.5.10/unix/ttkTrack.d ./tk8.5.10/unix/ttkTreeview.d >>> > ./tk8.5.10/unix/ttkWidget.d Looking for incorrect headers in > >>> 274 dependency files... ./tk8.5.10/unix/tkUnixRFont.d uses >>> > /usr/X11/include/X11/Xft/Xft.h ./tk8.5.10/unix/tkUnixRFont.d >>> uses > /usr/X11/include/X11/Xft/XftCompat.h ### execution of >>> > /var/tmp/tmp.1.DWzSiF failed, exit code 255 Removing runtime >>> > build-lock... Removing build-lock package... >>> > /sw64/bin/dpkg-lockwait -r fink-buildlock-tcltk-8.5.10-3 > >>> (Reading database ... 36997 files and directories currently > >>> installed.) Removing fink-buildlock-tcltk-8.5.10-3 ... Failed: > >>> phase compiling: tcltk-8.5.10-3 failed > > >>> I was not able to find a solution to this issue, so I welcome > >>> any advice. > > >>> Michal > > > > >> AND, in the above you have: > > >> XFT_LIBS='-L/sw64/lib -L/usr/X11/lib -lXft -lXrender -lfontconfig > >> -lfreetype -lX11' > > >> While in the message you quoted I had: > > >> XFT_LIBS='-L/sw64/lib -lXft -lfontconfig -lfreetype' > > >> which is a substantial difference, and would account for the > >> build using stuff in /usr/X11 rather than in /sw64 > > > > > Here are a couple of things to check: > > > 1) Make sure that xft2-dev and xft2-shlibs are fully up-to-date > > (there may not be a strict enough versioning of the dependency in > > tcltk) > > > 2) What do you get from running "fink dumpinfo -e CPPFLAGS tcltk" > > in a terminal window? > > It appears that this issue is possibly due to the unstable tree > xft2-(dev|shlibs) not having been sync'ed to stable, even though tcltk > was (i.e. tcltk-1:8.5.10 really needs xft2 >= 2.2.0 .
A few hours ago, I committed a bunch of changes that improve xft flag-handling. I managed to create and cure the original problem by downgrading and upgrading xft2-dev, respectively, and with the changes I made it now builds even with downgraded. dan -- Daniel Macks dma...@netspace.org ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users