On 2014-03-18, kcrisman <[email protected]> wrote: > > > On Monday, March 17, 2014 4:19:26 PM UTC-4, Dima Pasechnik wrote: >> >> On 2014-03-17, kcrisman <[email protected] <javascript:>> wrote: >> > On OS X 10.4 PPC, I get the following error. Incidentally, I'm used to >> GAP >> > compiling toward the very end of the process on this machine, so I was >> > surprised it showed up relatively early. I'd be grateful for any hints; >> > looks like includes in the wrong order or something, but I may be >> > interpreting it wrong. >> >> it might be trickier: basically the system does have sys_errlist, >> but HAVE_SYS_ERRLIST gets set to undefined by ./configure. >> Try adding -DHAVE_SYS_ERRLIST to CFLAGS in spkg-install, and >> see if this fixes the problem. >> >> >> > Man, where do you come up with this stuff? Amazing - yes, that indeed > allows GAP to make it past that file. that's actually pretty easy: the error message says that sys_errlist was defined previously (in a system header), and the other declaration of it is in the file mentioned in the error message. So you look this declaration up and you see that it is inside a conditional depending on the pre-processor variable HAVE_SYS_ERRLIST being undefined. So HAVE_SYS_ERRLIST gets its value wrongly. You can look in src/cnf/ in GAP spkg and see that its value is computed by configure. So a quick fix, if you don't want to mess around with this test, is to have -DHAVE_SYS_ERRLIST in CFLAGS
> > So... I just hacked it in the configure part of the spkg-install for GAP. > But maybe there's a better place?A yes, it's to fix the test computing HAVE_SYS_ERRLIST. -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-release. For more options, visit https://groups.google.com/d/optout.
