Tk Source Code

View Ticket
Login
Ticket UUID: 220912
Title: Fix for --disable-shared
Type: Bug Version: obsolete: 8.3b1
Submitter: welch Created on: 2000-11-01 01:31:03
Subsystem: 84. Unix Build Assigned To: mdejong
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2002-01-02 18:12:40
Resolution: Wont Fix Closed By: dkf
    Closed on: 2002-01-02 11:12:40
Description:
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:  [email protected]
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
User Comments: dkf added on 2002-01-02 18:12:40:
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!

mdejong added on 2002-01-01 06:39:47:
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.

hobbs added on 2001-12-20 06:26:44:
Logged In: YES 
user_id=72656

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

mdejong added on 2001-12-20 04:50:25:
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.