[Tix-developers] Re: [tix] Re: Developer's release - tix-8.1.0f.tgz
Brought to you by:
idiscovery,
mikeclarkson
|
From: Mike C. <su...@in...> - 2000-10-19 17:48:39
|
At 06:15 AM 10/19/00 -0400, you wrote: >Bad news 2: didn't help. The link step creating the .so STILL isn't >right: >/usr/ccs/bin/ld -G -z text -o libtix8.1.8.3.so tixClass.o tixCmds.o tixCompat.o tixError.o tixGeometry.o tixInit.o tixItcl.o tixList.o tixMethod.o tixOption.o tixScroll.o tixSmpLs.o tixUtils.o tixWidget.o tixDItem.o tixDiITxt.o tixDiImg.o tixDiStyle.o tixDiText.o tixDiWin.o tixForm.o tixFormMisc.o tixImgCmp.o tixImgXpm.o tixMwm.o tixGrid.o tixGrData.o tixGrFmt.o tixGrRC.o tixGrSel.o tixGrSort.o tixGrUtl.o tixHList.o tixHLCol.o tixHLInd.o tixHLHdr.o tixInputO.o tixNBFrame.o tixTList.o tixUnixDraw.o tixUnixXpm.o tixUnixWm.o -L/vol/tclsrcsol/tcl83/tk8.3.2/unix -ltk8.3g -L/vol/tclsrcsol/tcl83/tcl8.3.2/unix -ltcl8.3 -L/usr/openwin/lib -lX11 -ldl -lsocket -lnsl -lm > >In the above link, the -L flags mentioned are the compile time locations >for the tcl and tk libraries. For people who don't keep tons of .o files >lying about, this is a lose situation - they would prefer for Tix to be >compiled against $exec_prefix/lib . No it's correct for the -L. They are only used at link time, so after this link is carried out, the .o files are no longer relevant. It's the -R which is the pain in the but, and I don't see it in your link command. If you look at the code is tk8.3.2/unix/aclocal.m4 there's a whole bunch of code to figure out TK_LD_SEARCH_FLAGS. I'm trying to use configure.in to recover this value from tkConfig.sh. BTW, there was a typo in what I posted - it should be edit tix-8.1.0/unix/tk8.3/configure and change TIX_LD_SEARCH_FLAGS=$TCL_LD_SEARCH_FLAGS to TIX_LD_SEARCH_FLAGS=$TK_LD_SEARCH_FLAGS May sure that is in TK_LD_SEARCH_FLAGS is in tk8.3.2/unix/tkConfig.sh, and that TIX_LD_SEARCH_FLAGS gets set to this value in your unix/tk8.3.2/unix/Makefile after you rm config.* and rerun configure. (Maybe you could email me these two files as attachments so I can look at it). One other possible (temporary solution): set LD_LIBRARY_PATH to add the installed library directory. Thanks for your help in nailing this one down. Mike. -------------------------- eGroups Sponsor -------------------------~-~> Get FREE long-distance phone calls on Tellme! Dial 1-800-555-TELL, say "Phone Booth" http://click.egroups.com/1/9816/9/_/17156/_/971977699/ ---------------------------------------------------------------------_-> |