[csw-users] Error buiding ruby gem sys-proctable (missing procfs.h)

Ben Walton bwalton at opencsw.org
Thu Apr 7 04:13:11 CEST 2011


Excerpts from Mohamed Lrhazi's message of Wed Apr 06 21:45:01 -0400 2011:

> Thanks a lot Ben.

Ok, the failure to find procfs.h is based on:

--snipped from mkmf.log --
have_header: checking for procfs.h... -------------------- no

"/opt/csw/gcc4/bin/gcc -E -I. -I/opt/csw/lib/ruby/1.8/i386-solaris2.9
-I. -I/opt/csw/include -D_FILE_OFFSET_BITS=64 -I/opt/csw/include
-mtune=i686 -O2 -pipe -m32 -march=i386  -fPIC    conftest.c -o
conftest.i"
In file included from /usr/include/procfs.h:26,
                 from conftest.c:1:
/usr/include/sys/procfs.h:45:2: error: #error "Cannot use procfs in
the large file compilation environment"
checked program was:
/* begin */
1: #include <procfs.h>
/* end */
--snip--

You've hit a lovely little issue that's not going to be easy to work
around...

http://opensolaris.org/jive/thread.jspa?threadID=76693

HTH.

Thanks
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302



More information about the users mailing list