Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ef745183f13aae2c0fb2a0bfdf36447f63a7e73a
Ticket: 2935978fffffffffffffffffffffffffffffffff
Segfault on AIX 5 using tcl 8.5.8
User & Date: wealthychef on 2010-01-23 03:50:56
Changes

  1. icomment:
    OK, sorry, sorry, I screwed up.  It looks like one of the clever options I was passing was the problem the whole time.  I compile as follows and all is well now: 
    
        export CC=xlc
        export CXX=xlC
        export SHLIB_SUFFIX=".a"
        TCL_CONFIG_OPTIONS="--disable-shared"
          ./configure ${TCL_CONFIG_OPTIONS} --prefix=/usr/global/tools/vmd/1.8.7/$SYS_TYPE/
        sedfiles 's/-O/-g/' Makefile
        gmake || errexit "tcl build failed"
        gmake test || errexit "tcl make test failed"
        gmake install || errexit "tcl install failed"
    
    Thanks for the help.  VMD is now working for me, which it was not before. 
    The reason for the --disable-shared and SHLIB_SUFFIX thing is that xlC does not recognize the .so suffix on AIX.  
    By the way, I agree, why would anyone compile without reentrant ability anyhow?  Why even make an xlc without the _r?   
    
    
  2. login: "wealthychef"
  3. mimetype: "text/plain"
  4. username: "wealthychef"