Quoth Ivan Raikov <[EMAIL PROTECTED]>, on 2008-02-05 10:03:16 +0900: > Hello, Drake, > > You can give the -v option to chicken-setup to get verbose output, > which might give you an idea about what could be going wrong: > > sudo chicken-setup -v opengl
Thank you for that! I'm not sure how I missed it the first time. But alas, this gives me more output about the download and unpack (which work fine, AFAICT), but the Chicken invocation itself does not give me any more output than before. > I suspect that in your case, you do > not have the opengl development packages installed. Could you try > installing the following packages: I specifically checked this beforehand. I can compile C programs that use OpenGL just fine: ii libgl1-mesa-dev 7.0.2-4 ii libglu1-mesa-dev 7.0.2-4 ii mesa-common-dev 7.0.2-4 I should also mention that I'm using Debian sid, since I don't remember mentioning it before. There's a chance there's a bug somewhere down the toolchain that's only showing up here, but I still have some trouble getting enough information to diagnose it. > Then try chicken-setup opengl again and let me know if that works for > you. Still no go. Upon slightly closer inspection, it appears that Chicken is actually silently segfaulting, at least if the kernel logs are any indication. Hum. Now that I am being less ignorant about the debugging options, I tried [chicken-setup -v -csc-option -verbose opengl], which resulted in this: """ executing opengl.setup ... make: checking gl.so make: checking gl.scm make: making gl.so because gl.so does not exist /usr/local/bin/csc -feature compiling-extension -v -verbose gl.scm -s -O2 -d0 -L "-L/usr/X11R6/lib -L/usr/X11/lib -lGL -LX11" /usr/local/bin/chicken gl.scm -output-file gl.c -dynamic -feature chicken-compile-shared -quiet -feature compiling-extension -verbose -optimize-level 2 -debug-level 0 Loading compiler extensions... debugging info: none pass: source ; loading /usr/local/lib/chicken/3/easyffi.so ... pass: canonicalized pass: cps pass: analysis pass: optimized-iteration pass: analysis pass: optimized-iteration pass: analysis pass: optimized-iteration pass: analysis pass: optimized-iteration pass: analysis pass: optimized-iteration pass: analysis pass: optimized-iteration pass: analysis pass: optimized pass: final-analysis pass: closure-converted *** Shell command terminated with exit status 1: /usr/local/bin/chicken gl.scm -output-file gl.c -dynamic -feature chicken-compile-shared -quiet -feature compiling-extension -verbose -optimize-level 2 -debug-level 0 """ Unfortunately, I know little enough about Chicken's internals that this doesn't help much, but perhaps it will yield better results for someone else... > -Ivan ---> Drake Wilson _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
