Re: OpenGL failing with Mac Intel 6.6 distribution
Deborah Goldsmith [EMAIL PROTECTED] wrote: I checked and the Mac OS X PowerPC binary distribution does not have this problem; only Mac OS X Intel. Is it possible that the Intel distro built the OpenGL package using Cabal, but the PowerPC distro used Makefiles? I seem to recall there was some issue with Cabal failing to copy C header files to the final installed location? Regards, Malcolm ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: OpenGL failing with Mac Intel 6.6 distribution
On Oct 30, 2006, at 8:47 AM, Deborah Goldsmith wrote: Since the files are not in the distribution itself, they can hardly be installed. :-) It looks like the Mac OS X Intel distribution has a problem. I'll check the PPC distribution later to see if it has the same problem. I checked and the Mac OS X PowerPC binary distribution does not have this problem; only Mac OS X Intel. Deborah ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: OpenGL failing with Mac Intel 6.6 distribution
On Oct 28, 2006, at 1:41 PM, Deborah Goldsmith wrote: On Oct 28, 2006, at 10:14 AM, Gregory Wright wrote: My guess is that your compiler was built without OpenGL support. If you downloaded a binary compiler, you're stuck until someone adds it. Look at the output of ghc-pkg list Do you see GLUT-* andfOpenGL-* ? If not, you do not have OpenGL support. $ ghc-pkg list /usr/local/lib/ghc-6.6/package.conf: Cabal-1.1.6, GLUT-2.0, HGL-3.1, HUnit-1.1, OpenGL-2.1, QuickCheck-1.0, X11-1.1, base-2.0, cgi-2006.9.6, fgl-5.2, (ghc-6.6), haskell-src-1.0, haskell98-1.0, html-1.0, mtl-1.0, network-2.0, parsec-2.0, readline-1.0, regex-base-0.71, regex-compat-0.71, regex-posix-0.71, rts-1.0, stm-2.0, template-haskell-2.0, time-1.0, unix-1.0, xhtml-2006.9.13 Since it failed at the gcc stage rather than the ghc stage, I don't think that it's that the package wasn't installed. I think something about the way the distribution was put together is wrong. If you built your ghc from source, make sure you have enabled hopengl that the opengl libraries are found (save the build logs and look in the configuration sections). This is the binary Intel build that is listed on the GHC 6.6 downloads page. It looks like something is wrong with that build. I guess I'll try building it from source instead. If you build from source make sure you have Xcode 2.4 (the latest). I'm getting reports of build problems on OS X/Intel, which seem to all be related to older versions of Xcode. Greg Deborah ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
OpenGL failing with Mac Intel 6.6 distribution
I'm attempting to build frag on Mac OS X Intel with the 6.6 distribution, and I hit the following: /tmp/ghc25850_0/ghc25850_0.hc:5:22: error: HsOpenGL.h: No such file or directory A comparison of the C include directories for 6.6 and a recent 6.5 build gives: $ diff -r /usr/local/lib/ghc-6.5.20061008/include/ /usr/local/lib/ ghc-6.6/include/ Only in /usr/local/lib/ghc-6.5.20061008/include/: HsOpenGL.h Only in /usr/local/lib/ghc-6.5.20061008/include/: HsOpenGLExt.h Only in /usr/local/lib/ghc-6.5.20061008/include/: HsOpenGLTypes.h Only in /usr/local/lib/ghc-6.6/include/: HsReadline.h Only in /usr/local/lib/ghc-6.6/include/: HsReadlineConfig.h diff -r /usr/local/lib/ghc-6.5.20061008/include/ghcautoconf.h /usr/ local/lib/ghc-6.6/include/ghcautoconf.h 130c130 #define HAVE_LIBIBERTY 1 --- /* #undef HAVE_LIBIBERTY */ Is the fact that HSOpenGL*.h is missing in 6.6 expected? Thanks, Deborah ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users