#994 Tcl 8.1 configure bug under Linux and IRIX.

final: 8.1.1
closed-fixed
nobody
2
2001-04-22
2000-10-26
Anonymous
No

OriginalBugID: 2610 Bug
Version: 8.1.1
SubmitDate: '1999-08-31'
LastModified: '1999-09-20'
Severity: SER
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: Linux-Red Hat
OSVersion: RedHat 5.2
Machine: Other
FixedDate: '1999-09-15'
FixedInVersion: 8.2.1
ClosedDate: '2000-10-25'

Name:
Mo DeJong

Comments:
This fix may also need to be applied to the 8.2 tree. Without these
changes
Tcl Blend will compile on IRIX and Linux systems, but it will not run
correctly.

ReproducibleScript:
When Tcl 8.1.1 is configured on a Linux or IRIX system it incorrectly
links
shared libs that use tclConfig.sh to get config info. This worked under
Tcl 8.0.5 but it seems that the fix that was applied to Tcl 8.0.5 never
made it into the 8.1 tree.

Patch:
Modify the unix/configure.in script like this.

IRIX-5.*|IRIX-6.*|IRIX64-6.5*)
SHLIB_CFLAGS=""
SHLIB_LD="ld -n32 -shared -rdata_shared"
- SHLIB_LD_LIBS=""
+ SHLIB_LD_LIBS='${LIBS}'

Linux*)
SHLIB_CFLAGS="-fPIC"
- SHLIB_LD_LIBS="${LIBS}"
+ SHLIB_LD_LIBS='${LIBS}'

PatchFiles:
unix/configure.in

Linux has this fix in 8.2, and so does IRIX-64, but not
the normal IRIX... will this adversely effect anything else?
-- 09/15/1999 hobbs
Clarification - these fixes are in 8.2.1.
-- 09/20/1999 hobbs

Discussion

  • Brent B. Welch

    Brent B. Welch - 2000-10-26
    • priority: 5 --> 2
    • status: open --> closed-fixed
     
  • Don Porter

    Don Porter - 2001-04-22
    • labels: 104246 --> 53. Configuration and Build Tools
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks