Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 033c6931c8bcbe4d8625e571c8a2e1bc350cccd7
Ticket: 1874521fffffffffffffffffffffffffffffffff
Configure fails to find dirent64 on CentOS 5 and Fedora
User & Date: nobody on 2008-01-18 10:47:09
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. 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]
    
  4. foundin changed to: "obsolete: 8.4.17"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "nobody"
  10. subsystem changed to: "53. Configuration and Build Tools"
  11. title changed to:
    Configure fails to find dirent64 on CentOS 5 and Fedora
    
  12. type changed to: "Bug"