Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 700a2499857d3c0fb9c30cf5c4d7243e1b5647ff
Ticket: 600931ffffffffffffffffffffffffffffffffff
socklen_t not set from config.cache
User & Date: ellson on 2002-08-27 19:07:57
Changes

  1. assignee changed to: "mdejong"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    On solaris, and some other unices, the following
    sequence will
    fail to build the shared executables because socklen_t
    is undefined:
    
        ./configure
        make
        ./configure
        make clean
        # or just "rm tclIOSock.o"
        make
    
    The problem is that the second ./configure is not
    correctly getting the cached result from the first
    ./configure
    
    The fix is:
    
    
    --- configure.in.orig   2002-08-27 14:12:27.000000000 -0400
    +++ configure.in        2002-08-27 14:45:15.000000000 -0400
    @@ -277,11 +277,11 @@
     #include <stdlib.h>
     #include <stddef.h>
     #endif], ac_cv_type_socklen_t=yes,
    ac_cv_type_socklen_t=no)
    +])
     AC_MSG_RESULT($ac_cv_type_socklen_t)
     if test $ac_cv_type_socklen_t = no; then
       AC_DEFINE(socklen_t, unsigned)
     fi
    -])
    
     #--------------------------------------------------------------------
     #      If a system doesn't have an opendir function
    (man, that's old!)
    
    
    
  4. foundin changed to: "obsolete: 8.4b3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "ellson"
  9. subsystem changed to: "53. Configuration and Build Tools"
  10. title changed to: "socklen_t not set from config.cache"
  11. type changed to: "Bug"