Overview
| Artifact ID: | 7ac0293105674a00a415b262e445bd9e63e51275 |
|---|---|
| Ticket: | 489370ffffffffffffffffffffffffffffffffff
Make --libdir & --exec_prefix consistent |
| User & Date: | r11314 on 2001-12-05 13:47:01 |
Changes
- assignee changed to: "mdejong"
- cmimetype changed to: "text/plain"
- comment changed to:
I'm using the following configure line for example: ./configure \ --prefix=/home/peter_s/sw/tcl/tcl8.3.4 \ --libdir=/home/peter_s/sw/tcl/tcl8.3.4/testlibdir \ --enable-gcc The configure script allows the option --libdir where it actually installs the tcl libraries and it does it, but fails to record this path correctly in the tclConfig.sh. # String to pass to linker to pick up the Tcl library from its # installed directory. TCL_LIB_SPEC='-L/home/peter_s/sw/tcl/tcl8.3.4/lib -ltcl8.3${TCL_DBGX}' The appropriate line in the configure{.in} is: TCL_LIB_SPEC="-L${exec_prefix}/lib ${TCL_LIB_FLAG}" $libdir will be defaulted to ${exec_prefix}/lib if no --libdir switch is given. But, if it is given the script ignores it for all that settings and uses the predefined value instead. Expected Behavior: I think it should be like: TCL_LIB_SPEC="-L${libdir} ${TCL_LIB_FLAG}" There are actually several such references in the script. I originally recognized this behavior with TCL8.3.3, but checked that this is the same with up to TCL8.4a3 Just as a background: I'm building PostgreSQL and it uses the info in tclConfig.sh to build its TCL depended parts, like probably other programs as well which integrate into the TCL build. The build fails if the library is not found at the recorded default path. - foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "r11314"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to: "Make --libdir & --exec_prefix consistent"
- type changed to: "Bug"