Menu

#2882 open64 does not exist on IRIX5.3

obsolete: 8.4.6
closed-fixed
5
2004-11-22
2004-09-18
No

IRIX 5.3 has off64_t (HAVE_TYPE_OFF64_T is set) and lseek64, but apparently no open64. tclUnixPort.h however unfortunately assumes so.

Discussion

  • Mo DeJong

    Mo DeJong - 2004-09-23

    Logged In: YES
    user_id=90858

    Could you check your system documentation and see if perhaps
    another
    lib or set of include files is needed to get access to the
    open64 function?
    The Tcl code assumes that if HAVE_TYPE_OFF64_T is set then the
    others are defined too.

     
  • Georg Schwarz

    Georg Schwarz - 2004-09-23

    Logged In: YES
    user_id=951222

    I already grep'd all the files under /usr/include for open64,
    with no success, and I also unsuccessfully searched with
    Google for any reference to open64 on IRIX 5. I would
    conclude it simply does not exist with IRIX 5. Currently thus
    my workaround has to be to configure with
    tcl_cv_type_off64_t="no" defined.

     
  • Mo DeJong

    Mo DeJong - 2004-09-24

    Patch for tcl.m4 and configure script.

     
  • Mo DeJong

    Mo DeJong - 2004-09-24

    Logged In: YES
    user_id=90858

    I have attached a patch for the tcl.m4 and configure script
    that can
    be applied to the current CVS HEAD. Could you grab the code from
    the CVS and try to compile it after applying this patch (via
    'patch -p 0 < open64.patch').

    This patch checks for both funcs and the type in the
    configure script,
    so it should work. I just need you to test it out on your
    system.

     
  • Georg Schwarz

    Georg Schwarz - 2004-11-17

    Logged In: YES
    user_id=951222

     
  • Georg Schwarz

    Georg Schwarz - 2004-11-17

    Logged In: YES
    user_id=951222

    I applied the patch to 8.4.7 (had to manually insert some of
    the lines in configure), but it does not work. It fails like
    this:
    checking for open64...
    ./configure[3840]: "${+set}": bad substitution

    This is because ac_cv_func_open64 is not a non-empty
    variable.

     
  • Mo DeJong

    Mo DeJong - 2004-11-22
    • status: open --> closed
     
  • Mo DeJong

    Mo DeJong - 2004-11-22
    • status: closed --> closed-fixed
     
  • Mo DeJong

    Mo DeJong - 2004-11-22

    Logged In: YES
    user_id=90858

    Fixed in CVS on Nov 20th, 2004.

     
MongoDB Logo MongoDB