Ticket UUID: | 1030465 | |||
Title: | open64 does not exist on IRIX5.3 | |||
Type: | Bug | Version: | obsolete: 8.4.6 | |
Submitter: | gschwarz | Created on: | 2004-09-18 21:29:53 | |
Subsystem: | 53. Configuration and Build Tools | Assigned To: | mdejong | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2004-11-23 06:02:17 | |
Resolution: | Fixed | Closed By: | mdejong | |
Closed on: | 2004-11-22 23:02:17 | |||
Description: |
IRIX 5.3 has off64_t (HAVE_TYPE_OFF64_T is set) and lseek64, but apparently no open64. tclUnixPort.h however unfortunately assumes so. | |||
User Comments: |
mdejong added on 2004-11-23 06:02:17:
Logged In: YES user_id=90858 Fixed in CVS on Nov 20th, 2004. gschwarz added on 2004-11-18 03:47:41: 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. gschwarz added on 2004-11-18 03:43:14: Logged In: YES user_id=951222 mdejong added on 2004-09-24 07:03:16: File Added - 102612: open64.patch 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. gschwarz added on 2004-09-24 04:16:04: 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. mdejong added on 2004-09-24 03:55:35: 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. |
Attachments:
- open64.patch [download] added by mdejong on 2004-09-24 07:03:16. [details]