#908 Fix for --disable-shared

obsolete: 8.3b1
closed-wont-fix
Mo DeJong
5
2001-12-31
2000-11-01
Brent B. Welch
No

OriginalBugID: 5299 Bug
Version: 8.3b1
SubmitDate: '2000-04-28'
LastModified: '2000-04-28'
Severity: LOW
Status: UnAssn
Submitter: angie
ChangedBy: angie
OS: SunOS
OSVersion: SunOS
Machine: Sun Sparc

Tk 8.3b1 Bug

Name: Scott Weikart
email: scott@igc.apc.org
Support: None
OperatingSystem: SunOS
OperatingSystemVersion: SunOS 4.1.3, fully patched
Machine: Sun Sparc
Synopsis: Fix for --disable-shared

ReproducibleScript:
Can't build static.

Patch:
After running configure --disable-shared, I had to do
sed 's/ -ldl / /g; s/ -fPIC//g' unix/Makefile > unix/Makefile+ &&
ln unix/Makefile unix/Makefile- && mv unix/Makefile+ unix/Makefile
Posted To comp.lang.tcl: Posted Successfully

Discussion

    • labels: 104343 --> 84. Unix Build
     
  • Mo DeJong
    Mo DeJong
    2001-11-12

    • assigned_to: nobody --> mdejong
     
  • Mo DeJong
    Mo DeJong
    2001-12-19

    Logged In: YES
    user_id=90858

    I sent an email to the person who sent in this bug
    report. There is not enough info here to know what
    to do. A couple of seds is not an actionable patch.
    So if I do no hear back from the person
    then this bug report will be closed.

     
  • Jeffrey Hobbs
    Jeffrey Hobbs
    2001-12-19

    • status: open --> pending
     
  • Jeffrey Hobbs
    Jeffrey Hobbs
    2001-12-19

    Logged In: YES
    user_id=72656

    moved to state pending - that auto-closes it after one or
    two weeks if no changes are made.

     
  • Mo DeJong
    Mo DeJong
    2001-12-31

    Logged In: YES
    user_id=90858

    I sent an email to the original author and he was
    unwilling to help. Closing this bug report since
    I have no access to a Solaris 4.X system and therefore
    no way to verify that any random change would actually
    work. If someone with access to one of these systems
    wants to patch up the tcl.m4 file and send in a
    patch we could open it again.

     
  • Mo DeJong
    Mo DeJong
    2001-12-31

    • status: pending --> closed-wont-fix
     
  • Logged In: YES
    user_id=79902

    At a guess, it seems to me that this bug report is saying that SunOS4.1.3 is wrongly getting the link flag "-ldl" and compile
    flag "-fPIC" added when building with shared-library support specifically not requested. Though *why* the reporter had to
    choose such a cryptic way of saying this, I don't know!