This is a discussion on Help request for Ruby 1.8 configuration, large file environment within the comp.unix.solaris forums, part of the Solaris Operating System category; --> Hi all, Solaris 9 gcc 3.3 Ruby 1.8 preview 6 (latest as of 31-Jul-2003) autoconf (GNU Autoconf) 2.54 Tried ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi all, Solaris 9 gcc 3.3 Ruby 1.8 preview 6 (latest as of 31-Jul-2003) autoconf (GNU Autoconf) 2.54 Tried both Sun and GNU make/ld/as I'm having some sort of configuration issue with Ruby 1.8 (latest preview) as it relates to the large file compilation environment. Any attempt to include sys/procfs.h in an extension results in this error: /usr/include/sys/procfs.h:44:2: #error "Cannot use procfs in the large file compilation environment" The relevant lines from procfs.h #if !defined(_LP64) && _FILE_OFFSET_BITS == 64 #error "Cannot use procfs in the large file compilation environment" #endif Of note: >getconf LFS_CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 The only way I can get an extension to build with procfs.h is with the -m64 option, but then that causes ELFCLASS errors because I didn't build Ruby as 64 bit (and I haven't been able to - help wanted in that regard as well). The only way I saw around this was to disable largefile support. That doesn't seem ideal (and I wasn't sure what other issues that might cause). This issue did not arise with Ruby 1.6.8. I'm not sure if this is a simple tweak to the configure script or something more in depth. The release of Ruby 1.8 is slated for sometime around August 5th and I was hoping to get this resolved before then. Any and all help is greatly appreciated. Sincerely, Daniel Berger |