Skip to content
Tcl Source Code Artifact [edde64be1d]
Login

Artifact [edde64be1d]

Artifact edde64be1d2473af0574ee26d688185f91f052430eae9a9697167835b9046faf:

Ticket change [edde64be1d] - New ticket [5916e48806d93dd9|5916e48806] <i>tcl.pc: hardcoded depedencies, missing build flags</i>. by chrstphrchvz on 2023-04-29 22:24:48.
D 2023-04-29T22:24:48.993
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment I\sam\snot\svery\sfamiliar\swith\spkg-config,\sbut\sthere\sseem\sto\sbe\sa\sfew\sissues\swith\sthe\sinstalled\stcl.pc\sfile.\r\n\r\n<ol>\r\n<li>My\sunderstanding\sis\sthat\sthe\sonly\stime\slibtommath\s(on\s8.7\sand\slater)\sor\szlib\sshould\sbe\sspecified\sRequires.private\sfield\sof\stcl.pc\sis\sif\sthey\sare\sinstalled\son\sthe\ssystem\swith\spkg-config\sdata,\sand\sTcl\sis\sbuilt\sto\suse\sthem.</li>\r\n\r\n<li>If\spkg-config-supporting\scopies\sof\sthe\slibraries\sare\snot\spresent,\sthen\spkg-config\swill\scomplain\swhen\stcl.pc\sis\sused:\r\n\r\n<pre>\r\nPackage\szlib\swas\snot\sfound\sin\sthe\spkg-config\ssearch\spath.\r\nPerhaps\syou\sshould\sadd\sthe\sdirectory\scontaining\s`zlib.pc'\r\nto\sthe\sPKG_CONFIG_PATH\senvironment\svariable\r\nPackage\s'zlib',\srequired\sby\s'tcl',\snot\sfound\r\n\r\nPackage\slibtommath\swas\snot\sfound\sin\sthe\spkg-config\ssearch\spath.\r\nPerhaps\syou\sshould\sadd\sthe\sdirectory\scontaining\s`libtommath.pc'\r\nto\sthe\sPKG_CONFIG_PATH\senvironment\svariable\r\nPackage\s'libtommath',\srequired\sby\s'tcl',\snot\sfound\r\n</pre>\r\n</li>\r\n\r\n<li>If\sTcl\shas\sbuilt\sagainst\sexternal\scopies\sof\sthese\slibraries,\sbut\sthey\sdo\snot\sprovide\spkg-config\sdata,\sthen\spresumably\stcl.pc\sis\sresponsible\sfor\sproviding\sany\snecessary\sbuild\sflags.</li>\r\n\r\n<li>If\sexternal\slibtommath\sis\sused,\sthen\s<tt>-DTCL_WITH_EXTERNAL_TOMMATH</tt>\sshould\sbe\sspecified\sin\sthe\scflags\sfield\sof\stcl.pc.\r\n\r\nPython,\sfor\sits\sofficial\sbinary\sdistributions,\swould\slikely\sprefer\sto\scontinue\shaving\sTcl\sbuild\swith\sits\sbundled\slibtommath,\ssince\snothing\selse\sin\sCPython\suses\slibtommath.\sDefining\s<tt>TCL_NO_TOMMATH_H</tt>\sallows\sTkinter\sto\sbuild\sagainst\sTcl\swith\sbundled\slibtommath.\sBut\shandling\sthe\scase\sof\sTcl\sbuilt\swith\sexternal\slibtommath\sseems\sto\srequire\sknowing\swhether\s<tt>TCL_WITH_EXTERNAL_TOMMATH</tt>\sis\sdefined;\sand\sTkinter,\sby\sdefault,\stries\sto\suse\spkg-config\sto\sget\sTcl/Tk\sbuild\sflags,\srather\sthan\sfrom\sTEA/tclConfig.sh/<tt>TCL_DEFS</tt>\sas\susually\sdone\sby\sTcl/Tk\ssoftware.\s\r\n</li>\r\n\r\n<li>If\sTcl\swas\sbuilt\susing\sbundled\sversions\sof\sthese\slibraries,\sthen\sthere\sis\snothing\swhich\sshould\sbe\sput\sin\stcl.pc\sfor\sthem--at\sleast\snot\sin\sRequires.private\sor\slinking\sflags.</li>\r\n</ol>
J is_private 0
J login chrstphrchvz
J priority 5\sMedium
J private_contact 6133eb3026f9b10aa9b7b48da92ae2834fc225b0
J resolution None
J severity Minor
J status Open
J submitter chrstphrchvz
J subsystem 54.\sConfiguration\sReporting
J title tcl.pc:\shardcoded\sdepedencies,\smissing\sbuild\sflags
J type Bug
K 5916e48806d93dd9b24f8f73c3f4d7ed74b04eb3
U chrstphrchvz
Z 83161fe3ec0c47ccb52f49d329bf09d5