Rayson, It appears to have compiled now, it says done, done at the end. Thanks very much I will have to document all I did and other thing I change to finish the compiling.
I guess next is I need to install qmaster. John -----Original Message----- From: Rayson Ho [mailto:[email protected]] Sent: Thursday, December 22, 2011 1:16 PM To: Geilow, John Subject: Re: [EXTERNAL] Re: [gridengine users] Problem compiling Grid engine on Solaris Thanks a lot John, that helps! Looks like Solaris 11 (I was using an earlier version and thus did not encounter this error) changed the header file. Oracle wants us to not use _PATH_UTMP, and instead of not defining _PATH_UTMP, it is defined as "do not use _PATH_UTMP" - in your pre-processor output: # 241 if (stat( do not use _PATH_UTMP , &sta)) { xprintf( "cannot stat %s. Please \"unset watch\".\n" , do not use _PATH_UTMP ); Thus the C compiler conplains & exits with error! The code handles _PATH_UTMP for different platforms in "tc.who.c" by using the #define on line 55: # ifndef _PATH_UTMP # define _PATH_UTMP UTMPX_FILE # endif /* _PATH_UTMP */ But with the new header file, somehow _PATH_UTMP is defined as "do not use _PATH_UTMP", the code sequence no longer works. The workaround for Solaris 11 is to just take away the check, and redefine _PATH_UTMP to something else. So basically replace the 3 lines above with: # undef _PATH_UTMP # define _PATH_UTMP UTMPX_FILE I will need to really test GE2011.11 on Solaris 11! Also, thanks for your patience John! Rayson On Thu, Dec 22, 2011 at 2:26 PM, Geilow, John <[email protected]> wrote: > Rayson, > > I change to the directory and ran the same command as the aimk script did and > add the "-E", is this what you wanted? > > John _______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
