Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0f343693b99d24d5482501a3e32d4996527b9f33
Ticket: ed982d0ec0dd95311df3e00bca079174006fc82f
Failed tclsh link on AIX.
User & Date: anonymous on 2015-02-11 01:58:16
Changes

  1. icomment:
    Hope I am responding correctly this time.
    I do not have the IBM c compiler.
    I have used gcc for many years and have never had a problem with gcc.
    What I was trying to report via my last comment was that after reading the
    "ld" man page a number of times I think I figured out what was wrong.
    
    First I should explain that I am not a software developer and definitely
    not a knowledgeable person when it comes to make or configure.
    All I know is that configure creates the Makefile that make used to
    build the distribution.
    
    What I found when I ran make (gmake) was that the command it was trying to 
    execute seems to be a call to ld; but the parameters that were being passed 
    had an error in it. The -L correctly pointed to the build directory; but 
    the -l had the wrong library name in it.  I believe the name used in the
    -l was the shared object.  And the addition file specified was the shared
    library.  In any case.  When I made this substitution it corrected the 
    problem and then I could run make to it conclusion.
    I assume things worked OK because when I did make test all test
    ran to completion with out any errors.
    
    When I tried to compile tk I encountered the same problem I had when compiling
    tcl; but with the added problem that the tk makes use of the tcl share library and object.
    I also encountered a problem with and include <tcl.h> statement in the files
    I mentioned in my previous update.  Not sure just what configure was supposed
    to do about adjusting the include to point to the correct tcl.h file; but it
    did not make any changes and thus the make run tried to use the tcl.h that 
    was in /usr/include..  I forget; but I did tell configure where the tcl that
    I wanted to use was located.  Some how this information was not reflected
    in the make (Makefile) run.  Once I change each of the files that contained
    the include <tcl.h> statement to include </opt/alinux/include/tcl.h> the
    make ran to completion without further problems.
    
    The problems I encountered do not seem to be gcc or ld problems.  They
    seem to be problems resulting from a problem in the configure run or
    maybe the source code files.  As far as I can tell gcc and ld did exactly
    what they were instructed to do.  Thus the error.
    
    As to my other problem.
    Sorry to say I did not read the README file fully.  However; when I did
    I noticed that there was a comment that said that some of the test might
    fail because they were no longer valid.  Since all the test that were
    run except for one ran successfully I am going to assume that the one that
    failed is no longer valid. (I forget the name of the test...something
    with box in it I believe.  I am currently on a different AIX server.)
    
    If I have any more problems I will post another message asking for help.
    You may mark this ticked closed or if you want any addition information
    ask and I will try to provide the requested information.
    
    Thanks for responding!
    Bye,
    Dwight
    
  2. login: "anonymous"
  3. mimetype: "text/plain"