.
D 2001-12-05T13:47:01
J assignee mdejong
J cmimetype text/plain
J comment I'm\susing\sthe\sfollowing\sconfigure\sline\sfor\sexample:\n\n./configure\s\s\\\n--prefix=/home/peter_s/sw/tcl/tcl8.3.4\s\\\n--libdir=/home/peter_s/sw/tcl/tcl8.3.4/testlibdir\s\\\n--enable-gcc\n\nThe\sconfigure\sscript\sallows\sthe\soption\s--libdir\swhere\sit\sactually\sinstalls\sthe\stcl\slibraries\sand\sit\sdoes\s\nit,\sbut\sfails\sto\srecord\sthis\spath\scorrectly\sin\sthe\stclConfig.sh.\n\n#\sString\sto\spass\sto\slinker\sto\spick\sup\sthe\sTcl\slibrary\sfrom\sits\n#\sinstalled\sdirectory.\nTCL_LIB_SPEC='-L/home/peter_s/sw/tcl/tcl8.3.4/lib\s-ltcl8.3${TCL_DBGX}'\n\nThe\sappropriate\sline\sin\sthe\sconfigure{.in}\sis:\n\s\s\s\sTCL_LIB_SPEC="-L${exec_prefix}/lib\s${TCL_LIB_FLAG}"\n\n$libdir\swill\sbe\sdefaulted\sto\s${exec_prefix}/lib\sif\sno\s--libdir\sswitch\sis\sgiven.\nBut,\sif\sit\sis\sgiven\sthe\sscript\signores\sit\sfor\sall\sthat\ssettings\sand\suses\sthe\spredefined\svalue\sinstead.\n\nExpected\sBehavior:\nI\sthink\sit\sshould\sbe\slike:\n\s\s\s\sTCL_LIB_SPEC="-L${libdir}\s${TCL_LIB_FLAG}"\n\nThere\sare\sactually\sseveral\ssuch\sreferences\sin\sthe\sscript.\n\n\nI\soriginally\srecognized\sthis\sbehavior\swith\sTCL8.3.3,\sbut\schecked\sthat\sthis\sis\sthe\ssame\swith\sup\sto\s\nTCL8.4a3\n\nJust\sas\sa\sbackground:\nI'm\sbuilding\sPostgreSQL\sand\sit\suses\sthe\sinfo\sin\stclConfig.sh\sto\sbuild\sits\sTCL\sdepended\sparts,\slike\s\nprobably\sother\sprograms\sas\swell\swhich\sintegrate\sinto\sthe\sTCL\sbuild.\s\nThe\sbuild\sfails\sif\sthe\slibrary\sis\snot\sfound\sat\sthe\srecorded\sdefault\spath.
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter r11314
J subsystem 53.\sConfiguration\sand\sBuild\sTools
J title Make\s--libdir\s&\s--exec_prefix\sconsistent
J type Bug
K 489370ffffffffffffffffffffffffffffffffff
U r11314
Z 8217e221efb71b1cf5a944c8cba11bd7