Skip to content
Tcl Source Code Artifact [bca50c09e5]
Login

Artifact [bca50c09e5]

Artifact bca50c09e5440ca9b41b4b866b75c28bcb551285:

Ticket change [bca50c09e5] - New ticket [218722ffffffffff|218722ffff] <i>Incorrect quoting in (tcl|tk)Config.sh</i>. by nobody on 2000-10-26 01:04:34.
D 2000-10-26T01:04:34
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s1851\sBug\nVersion:\s8.0.4\nSubmitDate:\s'1999-04-16'\nLastModified:\s'1999-12-03'\nSeverity:\sMED\nStatus:\sReleased\nSubmitter:\spat\nChangedBy:\shobbs\nOS:\sSolaris\nOSVersion:\sprimarily\s2.6\s(also,\s2.4\sand\s2.5.1)\nMachine:\sOther\nFixedDate:\s'1999-12-03'\nFixedInVersion:\s8.2\nClosedDate:\s'2000-10-25'\n\n\nName:\nTet\n\nExtensions:\nBLT-2.4g,\sexpect-5.28,\sTclX-8.0.4,\swrap-0.2\n\nReproducibleScript:\nTry\sto\sinstall\sSanjay\sGhemawat's\sical-2.2.\sThe\sconfigure\sscript\sfails\sto\n\s\s\s\sfind\sinstalled\sTcl\sand\sTk\slibraries,\sdespite\sgetting\sinformation\sfrom\n\s\s\s\sthe\stclConfig.sh\sand\stkConfig.sh\sfiles.\n\n\s\s\s\sical\scan\sbe\sfound\sat\n\s\s\s\shttp://www.research.digital.com/SRC/personal/Sanjay_Ghemawat/ical/home.ht\n\s\s\s\sml\n\nObservedBehavior:\nIn\stclConfig.sh\sand\stkConfig.sh,\ssingle\squotes\sare\sused\sthroughout.\sThis\n\s\s\s\smeans\sthat\svariables\sare\snot\sexpanded.\sFor\sical,\sthis\smeans\sthe\n\s\s\s\sconfigure\sscript\sis\slooking\sfor\s(in\smy\scase)\n\s\s\s\s/local/TCL8/5.x/lib/libtcl8.0${TCL_DBGX}.a\srather\sthan\ssimply\n\s\s\s\s/local/TCL8/5.x/lib/libtcl8.0.a.\n\n\s\s\s\sChanging\sthe\ssingle\squotes\sto\sdouble\squotes\sfixes\sthe\sproblem.\n\nDesiredBehavior:\nI\sexpect\sto\ssee\sTCL_LIB_FILE\sset\sto\sthe\scorrect\sfilename\sby\stclConfig.sh\n\nPatch:\n***\s/local/TCL8src/tcl8.0.4-plus/unix/tclConfig.sh\s\s\s\s\s\sWed\sMar\s31\s17:21:18\s1999\n---\s/local/TCL8/5.x/lib/tclConfig.sh\s\s\s\sWed\sApr\s14\s18:50:50\s1999\n***************\n***\s44,50\s****\n\s\sTCL_SHARED_BUILD=0\n\n\s\s#\sThe\sname\sof\sthe\sTcl\slibrary\s(may\sbe\seither\sa\s.a\sfile\sor\sa\sshared\slibrary):\n!\sTCL_LIB_FILE='libtcl8.0${TCL_DBGX}.a'\n\n\s\s#\sAdditional\slibraries\sto\suse\swhen\slinking\sTcl.\n\s\sTCL_LIBS='-ldl\s\s-lsocket\s-lnsl\s-lm'\n---\s44,50\s----\n\s\sTCL_SHARED_BUILD=0\n\n\s\s#\sThe\sname\sof\sthe\sTcl\slibrary\s(may\sbe\seither\sa\s.a\sfile\sor\sa\sshared\slibrary):\n!\sTCL_LIB_FILE="libtcl8.0${TCL_DBGX}.a"\n\n\s\s#\sAdditional\slibraries\sto\suse\swhen\slinking\sTcl.\n\s\sTCL_LIBS='-ldl\s\s-lsocket\s-lnsl\s-lm'\n***************\n***\s89,95\s****\n\s\s#\srun-time\sdynamic\slinker\swhere\sto\slook\sfor\sshared\slibraries\ssuch\sas\n\s\s#\slibtcl.so.\s\sUsed\swhen\slinking\sapplications.\s\sOnly\sworks\sif\sthere\n\s\s#\sis\sa\svariable\s"LIB_RUNTIME_DIR"\sdefined\sin\sthe\sMakefile.\n!\sTCL_LD_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'\n\n\s\s#\sAdditional\sobject\sfiles\slinked\swith\sTcl\sto\sprovide\scompatibility\n\s\s#\swith\sstandard\sfacilities\sfrom\sANSI\sC\sor\sPOSIX.\n---\s89,95\s----\n\s\s#\srun-time\sdynamic\slinker\swhere\sto\slook\sfor\sshared\slibraries\ssuch\sas\n\s\s#\slibtcl.so.\s\sUsed\swhen\slinking\sapplications.\s\sOnly\sworks\sif\sthere\n\s\s#\sis\sa\svariable\s"LIB_RUNTIME_DIR"\sdefined\sin\sthe\sMakefile.\n!\sTCL_LD_SEARCH_FLAGS="-Wl,-R,${LIB_RUNTIME_DIR}"\n\n\s\s#\sAdditional\sobject\sfiles\slinked\swith\sTcl\sto\sprovide\scompatibility\n\s\s#\swith\sstandard\sfacilities\sfrom\sANSI\sC\sor\sPOSIX.\n***************\n***\s99,113\s****\n\s\sTCL_RANLIB='ranlib'\n\n\s\s#\s-l\sflag\sto\spass\sto\sthe\slinker\sto\spick\sup\sthe\sTcl\slibrary\n!\sTCL_LIB_FLAG='-ltcl8.0${TCL_DBGX}'\n\n\s\s#\sString\sto\spass\sto\slinker\sto\spick\sup\sthe\sTcl\slibrary\sfrom\sits\n\s\s#\sbuild\sdirectory.\n!\sTCL_BUILD_LIB_SPEC='-L/local/TCL8src/tcl8.0.4-plus/unix\s-ltcl8.0${TCL_DBGX}'\n\n\s\s#\sString\sto\spass\sto\slinker\sto\spick\sup\sthe\sTcl\slibrary\sfrom\sits\n\s\s#\sinstalled\sdirectory.\n!\sTCL_LIB_SPEC='-L/local/TCL8/5.x/lib\s-ltcl8.0${TCL_DBGX}'\n\n\s\s#\sIndicates\swhether\sa\sversion\snumbers\sshould\sbe\sused\sin\s-l\sswitches\n\s\s#\s("ok"\smeans\sit's\ssafe\sto\suse\sswitches\slike\s-ltcl7.5;\s\s"nodots"\smeans\n***************\n***\s120,132\s****\n\s\s#\sextension,\sand\sanything\selse\sneeded).\s\sMay\sdepend\son\sthe\svariables\n\s\s#\sVERSION\sand\sSHLIB_SUFFIX.\s\sOn\smost\sUNIX\ssystems\sthis\sis\n\s\s#\s${VERSION}${SHLIB_SUFFIX}.\n!\sTCL_SHARED_LIB_SUFFIX='${VERSION}${DBGX}.so'\n\n\s\s#\sString\sthat\scan\sbe\sevaluated\sto\sgenerate\sthe\spart\sof\san\sunshared\slibrary\n\s\s#\sname\sthat\scomes\safter\sthe\s"libxxx"\s(includes\sversion\snumber,\sif\sany,\n\s\s#\sextension,\sand\sanything\selse\sneeded).\s\sMay\sdepend\son\sthe\svariable\n\s\s#\sVERSION.\s\sOn\smost\sUNIX\ssystems\sthis\sis\s${VERSION}.a.\n!\sTCL_UNSHARED_LIB_SUFFIX='${VERSION}${DBGX}.a'\n\n\s\s#\sLocation\sof\sthe\stop-level\ssource\sdirectory\sfrom\swhich\sTcl\swas\sbuilt.\n\s\s#\sThis\sis\sthe\sdirectory\sthat\scontains\sa\sREADME\sfile\sas\swell\sas\n---\s120,132\s----\n\s\s#\sextension,\sand\sanything\selse\sneeded).\s\sMay\sdepend\son\sthe\svariables\n\s\s#\sVERSION\sand\sSHLIB_SUFFIX.\s\sOn\smost\sUNIX\ssystems\sthis\sis\n\s\s#\s${VERSION}${SHLIB_SUFFIX}.\n!\sTCL_SHARED_LIB_SUFFIX="${VERSION}${DBGX}.so"\n\n\s\s#\sString\sthat\scan\sbe\sevaluated\sto\sgenerate\sthe\spart\sof\san\sunshared\slibrary\n\s\s#\sname\sthat\scomes\safter\sthe\s"libxxx"\s(includes\sversion\snumber,\sif\sany,\n\s\s#\sextension,\sand\sanything\selse\sneeded).\s\sMay\sdepend\son\sthe\svariable\n\s\s#\sVERSION.\s\sOn\smost\sUNIX\ssystems\sthis\sis\s${VERSION}.a.\n!\sTCL_UNSHARED_LIB_SUFFIX="${VERSION}${DBGX}.a"\n\n\s\s#\sLocation\sof\sthe\stop-level\ssource\sdirectory\sfrom\swhich\sTcl\swas\sbuilt.\n\s\s#\sThis\sis\sthe\sdirectory\sthat\scontains\sa\sREADME\sfile\sas\swell\sas\n***\s/local/TCL8src/tk8.0.4/unix/tkConfig.sh\s\s\s\s\sThu\sMar\s25\s11:35:14\s1999\n---\s/local/TCL8/5.x/lib/tkConfig.sh\s\s\s\s\sWed\sApr\s14\s17:57:45\s1999\n***************\n***\s29,35\s****\n\s\sTK_DBGX=\n\n\s\s#\sThe\sname\sof\sthe\sTk\slibrary\s(may\sbe\seither\sa\s.a\sfile\sor\sa\sshared\slibrary):\n!\sTK_LIB_FILE='libtk8.0${TK_DBGX}.a'\n\n\s\s#\sAdditional\slibraries\sto\suse\swhen\slinking\sTk.\n\s\sTK_LIBS='-L/usr/openwin/lib\s-lX11\s-ldl\s\s-lsocket\s-lnsl\s-lm'\n\n---\s29,35\s----\n\s\sTK_DBGX=\n\n\s\s#\sThe\sname\sof\sthe\sTk\slibrary\s(may\sbe\seither\sa\s.a\sfile\sor\sa\sshared\slibrary):\n!\sTK_LIB_FILE="libtk8.0${TK_DBGX}.a"\n\n\s\s#\sAdditional\slibraries\sto\suse\swhen\slinking\sTk.\n\s\sTK_LIBS='-L/usr/openwin/lib\s-lX11\s-ldl\s\s-lsocket\s-lnsl\s-lm'\n***************\n***\s49,63\s****\n\s\sTK_XLIBSW='-L/usr/openwin/lib\s-lX11'\n\n\s\s#\s-l\sflag\sto\spass\sto\sthe\slinker\sto\spick\sup\sthe\sTcl\slibrary\n!\sTK_LIB_FLAG='-ltk8.0${TK_DBGX}'\n\n\s\s#\sString\sto\spass\sto\slinker\sto\spick\sup\sthe\sTk\slibrary\sfrom\sits\n\s\s#\sbuild\sdirectory.\n!\sTK_BUILD_LIB_SPEC='-L/local/TCL8src/tk8.0.4-standard/unix\s-ltk8.0${TK_DBGX}'\n\n\s\s#\sString\sto\spass\sto\slinker\sto\spick\sup\sthe\sTk\slibrary\sfrom\sits\n\s\s#\sinstalled\sdirectory.\n!\sTK_LIB_SPEC='-L/local/TCL8/5.x/lib\s-ltk8.0${TK_DBGX}'\n\n\s\s#\sLocation\sof\sthe\stop-level\ssource\sdirectory\sfrom\swhich\sTk\swas\sbuilt.\n\s\s#\sThis\sis\sthe\sdirectory\sthat\scontains\sa\sREADME\sfile\sas\swell\sas\n---\s49,63\s----\n\s\sTK_XLIBSW='-L/usr/openwin/lib\s-lX11'\n\n\s\s#\s-l\sflag\sto\spass\sto\sthe\slinker\sto\spick\sup\sthe\sTcl\slibrary\n!\sTK_LIB_FLAG="-ltk8.0${TK_DBGX}"\n\n\s\s#\sString\sto\spass\sto\slinker\sto\spick\sup\sthe\sTk\slibrary\sfrom\sits\n\s\s#\sbuild\sdirectory.\n!\sTK_BUILD_LIB_SPEC="-L/local/TCL8src/tk8.0.4-standard/unix\s-ltk8.0${TK_DBGX}"\n\n\s\s#\sString\sto\spass\sto\slinker\sto\spick\sup\sthe\sTk\slibrary\sfrom\sits\n\s\s#\sinstalled\sdirectory.\n!\sTK_LIB_SPEC="-L/local/TCL8/5.x/lib\s-ltk8.0${TK_DBGX}"\n\n\s\s#\sLocation\sof\sthe\stop-level\ssource\sdirectory\sfrom\swhich\sTk\swas\sbuilt.\n\s\s#\sThis\sis\sthe\sdirectory\sthat\scontains\sa\sREADME\sfile\sas\swell\sas\n\nPatchFiles:\ntclConfig.sh\n\s\s\s\stkConfig.sh\n\n\n\nThe\squoting\shas\ssince\sbeen\schanged.\s\n--\s12/03/1999\shobbs
J foundin obsolete:\s8.0.4
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 75.\sTutorial
J title Incorrect\squoting\sin\s(tcl|tk)Config.sh
J type Bug
K 218722ffffffffffffffffffffffffffffffffff
U nobody
Z 468cfdc9ac1e1ba2baa77460429cb093