Changes between Initial Version and Version 2 of Ticket #69928


Ignore:
Timestamp:
May 6, 2024, 9:50:41 PM (5 months ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

PATH_MAX is defined in <limits.h>. Sounds like hdf5 hasn't included it here. This would be an upstream bug that should be reported to the developers.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #69928

    • Property Status changed from new to assigned
    • Property Summary changed from Compiling hdf5 with gcc13 to hdf5 @1.14.4.2_1+cxx+fortran+gcc13+hl: error: 'PATH_MAX' undeclared (first use in this function)
    • Property Version changed from to 2.9.3
    • Property Owner set to eborisch
    • Property Port hdf5 added
  • Ticket #69928 – Description

    initial v2  
    22
    33I tried to install hdf5 port with:
     4{{{
    45sudo port -v install hdf5  +gcc13
     6}}}
    57
    68And it aborts with an error:
     
    1315make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/work/hdf5-1.14.4.2/src'
    1416make[1]: *** [all] Error 2
    15 
    1617}}}
    1718
     
    2122moving to the directory:
    2223
     24{{{
    2325cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/work/hdf5-1.14.4.2
     26}}}
    2427
    2528and trying to compile:
    2629
     30{{{
    2731make
    28  
     32}}}
     33
    2934Give-me the error:
    3035
     
    5863
    5964
    60 If complaints about this PATH_MAX definition.
     65If complaints about this `PATH_MAX` definition.
    6166Do you have any suggestions? I was able to compile it with gcc12
    6267