More Solaris trouble

djberg96 on 2003-08-04T17:44:24

Well, Ruby 1.8 was officially released today. Too bad I can't use it. One of the primary issues for me is largefile support on Solaris. When I try to #include I get this:

/usr/include/sys/procfs.h:44: #error "Cannot use procfs in the large file compilation environment"

Here's the relevant snippet from procfs.h: #if !defined(_LP64) && _FILE_OFFSET_BITS == 64 #error "Cannot use procfs in the large file compilation environment" #endif

The only way I've found around this is to pass the "--disable-largefile" option to configure. That hardly seems an ideal solution, though. I can't help but think that a patch to the configure script will solve this.

Any Solaris/Perl gurus out there who are familiar with this issue and know how to fix it?