Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f49bad6df6807a37dbcefe24b83eb0a2df79ecda59c038188b1ad0227b3de930
Ticket: 1874521fffffffffffffffffffffffffffffffff
Configure fails to find dirent64 on CentOS 5 and Fedora
User & Date: chrstphrchvz on 2025-08-26 03:28:20
Changes

  1. assignee changed to: "aku"
  2. closedate changed to: "2460913.64467641"
  3. closer changed to: "chrstphrchvz"
  4. comment changed to:
    Tcl, both shipping with Cent OS 5, and when built from the www.tcl.tk source files fails to glob 64bit NFS file shares. Looking at the output of configure this is due to it failing to find dirent64.
    
    Behaviour:
    
    Mount an NFS share from a 64bit file server, eg Mac OS X 10.4 serving out a 11TB volume.
    tclsh
    cd /mylargevolume
    set files [glob "*"]
    
    gives the error, 'no files matched glob pattern "*"'
    
    Looking at tcl.m4, autoconf is looking for 'struct dirent64' in <sys/dirent.h>, however on Cent OS (RHEL 5) this file doesn't exist. The 'dirent64' structure is defined in /usr/include/dirent.h, so modifying tcl.m4 to '#include <dirent.h>' allows configuration to complete correctly and the built binaries ARE able to glob the directory structure on the NFS share.
    
    [email protected]
    
  5. icomment:
    Closing; this issue was eventually fixed after being reported again as [32afa6e256].
    
  6. login: "chrstphrchvz"
  7. mimetype: "text/x-fossil-wiki"
  8. resolution changed to: "Duplicate"
  9. severity changed to: "Minor"
  10. status changed to: "Closed"