Unix Technical Forum

Help request for Ruby 1.8 configuration, large file environment

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > comp.unix.solaris

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 01:59 PM
Daniel Berger
 
Posts: n/a
Default Help request for Ruby 1.8 configuration, large file environment

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:15 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com