From: Daniel Berger Date: 2005-03-25T00:24:54+09:00 Subject: Problem with have_struct_member Hi all, Ruby 1.8.2 Solaris 9 For some reason this is returning false: have_struct_member("struct lastlog", "ll_time", "lastlog.h") Yet, there is a lastlog.h in /usr/include and the lastlog struct is defined as follows: struct lastlog { #ifdef _LP64 time32_t ll_time; #else time_t ll_time; #endif char ll_line[8]; char ll_host[16]; /* same as in utmp */ }; I made sure that it could actually see the lastlog.h file by calling 'have_header("lastlog.h")' which returned true. I also did a sanity check by trying a different struct and struct member: have_struct_member("struct passwd", "pw_gecos", "pwd.h") This returned true as well. What am I doing wrong? Regards, Dan