On 6/7/12 9:28 AM, Michael Teitelbaum wrote: > I searched /usr/X11/include/X11/Xlib.h for XGenericEventCookie, and did > not find it. > >> Date: Thu, 7 Jun 2012 09:13:31 -0700 >> From: [email protected] >> To: [email protected] >> CC: [email protected] >> Subject: Re: problem setting up octave >> >> On 6/7/12 8:21 AM, Alexander Hansen wrote: >> > On 6/7/12 7:35 AM, Michael Teitelbaum wrote: >> >> Hi Alex, >> >> >> >> I tried "fink install octave361" again, as you suggested and got the >> >> following error: >> >> >> >> freeglut_xinput.c: In function 'fgHandleExtensionEvents': >> >> freeglut_xinput.c:149: error: 'XGenericEventCookie' undeclared (first >> >> use in this function) >> >> freeglut_xinput.c:149: error: (Each undeclared identifier is reported >> >> only once >> >> freeglut_xinput.c:149: error: for each function it appears in.) >> >> freeglut_xinput.c:149: error: 'cookie' undeclared (first use in this >> >> function) >> >> freeglut_xinput.c:149: error: syntax error before ')' token >> >> freeglut_xinput.c:149: error: 'union _XEvent' has no member named > 'xcookie' >> >> make[2]: *** [libfreeglut_la-freeglut_xinput.lo] Error 1 >> >> make[1]: *** [all-recursive] Error 1 >> >> make: *** [all] Error 2 >> >> ### execution of make failed, exit code 2 >> >> Use of uninitialized value in numeric gt (>) at >> >> /sw/lib/perl5/Fink/PkgVersion.pm line 5146. >> >> Use of uninitialized value in concatenation (.) or string at >> >> /sw/lib/perl5/Fink/PkgVersion.pm line 5200. >> >> Removing runtime build-lock... >> >> Removing build-lock package... >> >> /sw/bin/dpkg-lockwait -r fink-buildlock-freeglut-2.8.0-1 >> >> (Reading database ... 14310 files and directories currently installed.) >> >> Removing fink-buildlock-freeglut-2.8.0-1 ... >> >> Failed: phase compiling: freeglut-2.8.0-1 failed >> >> >> >> Any help on where I should go from here would be greatly appreciated. >> >> >> >> Thanks >> >> >> >> >> > >> > (10.5.8/PowerPC) >> > >> > >> > I'll include a Fink mailing list on this, too, since freeglut isn't my >> > package. >> > >> > I'll see if I can reproduce this on my own 10.5/PowerPC setup. Also, >> > can we see the line of output from just before the error? >> > >> >> I found what appears to be the same error that was reported on Fink's >> IRC channel: >> >> http://paste.lisp.org/display/129606 >> >> Check your /usr/X11/include/X11/Xlib.h and make sure that >> XGenericEventCookie is defined in that. >>
I've got a couple of suggestions: 1) Try "fink install octave361" again, and when it asks you about ghostscript, select "ghostscript-nox". That's the only connection that I've found between octave and freeglut. 2) It seems that freeglut is no longer compatible with the stock X11 from 10.5 (assuming that's what you have installed). You might install Xquartz-2.6.3 from http://xquartz.macosforge.org/trac/wiki/X112.6.3. -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/2012/02/21/got-job/ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fink-beginners mailing list [email protected] List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners
