Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Wrong path in tclConfig.sh

Closed219260ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 25 years ago
Descriptionplain2000-10-26 05:04:18
OriginalBugID: 6204 Bug
Version: 8.3.2
SubmitDate: '2000-09-05'
LastModified: '2000-09-05'
Severity: LOW
Status: Assigned
Submitter: techsupp
ChangedBy: hobbs
RelatedBugIDs: 6206
OS: AIX
OSVersion: 4.3.3.0
FixedDate: '2000-10-25'
ClosedDate: '2000-10-25'


Name:
Gabor Gombas

CustomShell:
Added 64-bit support for AIX (will be submitted as a wishlist item)

ObservedBehavior:
After installation, the TCL_SHLIB_LD variable in tclConfig.sh the path for ldAix points to the build directory, and not to the installation directory. It breaks other packages which want to use it if the sources are removed.

DesiredBehavior:
The TCL_SHLIB_LD variable in tclConfig.sh souhld use the installed path of ldAix
dkf Ticket [219260ffff]: 1 change [History diff]2001-02-08 22:19:44
msoferplain2001-08-30 20:56:13
Logged In: YES 
user_id=148712

Assigning to area maintainer
mdejongplain2001-09-08 06:20:47
Logged In: YES 
user_id=90858

I looked this over and it seems tcl.m4 fully qualifies
the script in question like so:

            SHLIB_CFLAGS=""
            SHLIB_LD="$fullSrcDir/ldAix /bin/ld -bhalt:4
-bM:SRE -bE:lib.exp -H512 -T512 -bnoentry"
            SHLIB_LD_LIBS='${LIBS}'

SHLIB_LD needs to prefix ldAix so that the build
will work when srcdir != builddir. That is great
for the build but we don't have any sort of
"post install" step to deal with issues like
this. I don't see an obvious solution so if
you have any suggestions I would like to hear
them.
hobbsplain2002-03-23 04:48:51
Logged In: YES 
user_id=72656

This has been changed to use ${TCL_SRC_DIR}/unix/ldAix 
which is needed when building extensions without installing 
Tcl first.  I'm not sure both can be satisfied 
simultaneously.
mdejongplain2002-04-08 21:52:24
Logged In: YES 
user_id=90858

It might be possible to "fix" this problem by creating
a tclBuildConfig.sh in addition to the tclConfig.sh
script. That would add extra complication but it seems
to be the only way to have both build time and install
paths that are fully qualified.
Log in (anonymous is fine) to add a comment.