Re: [Haskell-cafe] Error in installing dph-examples on Mac OS X 10.7.3

2012-02-10 Thread mukesh tiwari
I am not able to compile using -fllvm. Macintosh-0026bb610428:tmp mukesh$ ghc-7.4.1 -fllvm Hello.hs /var/folders/b9/87kwc2nj7xd2qjt996h3635cgq/T/cc-btI6Vk.s:201:2: error: instruction requires a CPU feature not currently enabled jmpl *%eax ## TAILCALL ^

Re: [Haskell-cafe] Error in installing dph-examples on Mac OS X 10.7.3

2012-02-10 Thread mukesh tiwari
Hi Carter Yes both of these packages gloss-1.6.1.1 , OpenGL-2.5.0.0 ( http://hpaste.org/63397 ) are installed on my system.Could you please tell me how did you resolve the issue. Regards Mukesh Tiwari On Feb 10, 12:11 pm, Carter Schonwald carter.schonw...@gmail.com wrote: It may be a problem

Re: [Haskell-cafe] Error in installing dph-examples on Mac OS X 10.7.3

2012-02-10 Thread Carter Schonwald
/Users/mukesh/.ghc/i386-darwin-7.4.1/package.conf.d you need the 64bit version of ghc on mac, not the 32 bit one, by default all mac libs are 64 bit so this yields problems when linking to c libs On Fri, Feb 10, 2012 at 10:58 AM, mukesh tiwari mukeshtiwari.ii...@gmail.com wrote: Hi Carter

Re: [Haskell-cafe] Error in installing dph-examples on Mac OS X 10.7.3

2012-02-10 Thread mukesh tiwari
Hi Carter Thank you for reply. My mac is 32 bit ( I remember having some issue with ghc-7.2.1 64 bit on 32 bit machine but probably that was on Linux ). I will give it a shot. Macintosh-0026bb610428:tmp mukesh$ uname -a Darwin Macintosh-0026bb610428.local 11.3.0 Darwin Kernel Version 11.3.0: Thu

Re: [Haskell-cafe] Error in installing dph-examples on Mac OS X 10.7.3

2012-02-10 Thread Brandon Allbery
On Fri, Feb 10, 2012 at 13:38, mukesh tiwari mukeshtiwari.ii...@gmail.comwrote: Hi Carter Thank you for reply. My mac is 32 bit ( I remember having some issue with ghc-7.2.1 64 bit on 32 bit machine but probably that was on Linux ). I will give it a shot. Macintosh-0026bb610428:tmp mukesh$

Re: [Haskell-cafe] Error in installing dph-examples on Mac OS X 10.7.3

2012-02-10 Thread Carter Schonwald
ok, this is because i think you need a stand alone LLVM backend because ghc 7.4 provides some vectorization stuff that dph uses, and so i'd suggest installing llvm on its own, or maybe its that dph calls llvm tools as its compliling? eg brew install llvm because if you look in cabal file

[Haskell-cafe] Error in installing dph-examples on Mac OS X 10.7.3

2012-02-09 Thread mukesh tiwari
Hello all I am trying to install dph-examples on Mac OS X version 10.7.3 but getting this error http://hpaste.org/57699. I am using ghc-7.4.1. Error running clang! you need clang installed to use the LLVM backend cabal: Error: some packages failed to install: dph-examples-0.6.1.3 failed during

Re: [Haskell-cafe] Error in installing dph-examples on Mac OS X 10.7.3

2012-02-09 Thread Ben Lippmeier
On 10/02/2012, at 6:12 AM, mukesh tiwari wrote: Hello all I am trying to install dph-examples on Mac OS X version 10.7.3 but getting this error. I am using ghc-7.4.1. This probably isn't DPH specific. Can you compile a hello world program with -fllvm?

Re: [Haskell-cafe] Error in installing dph-examples on Mac OS X 10.7.3

2012-02-09 Thread Carter Schonwald
It may be a problem with the gloss / opengl dependencies? do you have those packages installed? I had similar trouble earlier this week wrt dph-examples, and that was the root of the matter in my case -Carter On Thu, Feb 9, 2012 at 7:04 PM, Ben Lippmeier b...@ouroborus.net wrote: On