Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a91070e5334ca2bf4b63b909da2b6b613ac282b1
Ticket: 1071701fffffffffffffffffffffffffffffffff
--enable-threads fails on sparc solaris 8
User & Date: lvirden on 2004-11-23 13:35:50
Changes

  1. assignee changed to: "mdejong"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    I extracted the tcl 8.4.8 source this morning.
    I do the following:
    
    export CC=cc
    cd tcl8.4.8/unix
    ./configure --prefix=/tmp/tcl --enable-shared
    --enable-symbols --enable-stubs --enable-threads
    
    and the output I get I will attach to this report.
    
    The bottom line error is this:
    checking for readdir_r... yes
    configure: error: unknown number of args for readdir_r
    
    and in config.log I see:
    
    configure:5031: cc -c   conftest.c >&5
    "configure", line 5040: cannot find include file:
    <sys/dir.h>
    cc: acomp failed for conftest.c
    configure:5034: $? = 2
    configure: failed program was:
    | #line 5013 "configure"
    | /* confdefs.h.  */
    | 
    
    
    The man page for readdir_r on Solaris says this:
    
    NAME
         readdir, readdir_r - read directory
    
    SYNOPSIS
         #include <sys/types.h>
         #include <dirent.h>
    
         struct dirent *readdir(DIR *dirp);
    
         struct dirent *readdir_r(DIR *dirp, struct dirent
    *entry);
    
    POSIX
         cc [ flag ... ] file ...
    -D_POSIX_PTHREAD_SEMANTICS [ library ... ]
    
         int readdir_r(DIR *dirp, struct dirent *entry,
    struct dirent
         **result);
    
    
    
  4. foundin changed to: "obsolete: 8.4.8"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "lvirden"
  9. subsystem changed to: "53. Configuration and Build Tools"
  10. title changed to: "--enable-threads fails on sparc solaris 8"
  11. type changed to: "Bug"