Error installing hp2any-graph on Snow Leopard

Hi, I get the following error when doing a 'cabal install hp2any-graph' (the profiling tool) Does anyone know why? (I'm running Snow Leopard and I've tried using other flags suggested...but with no success). GLUT is already installed via MacPorts and via cabal. Resolving dependencies... Configuring hp2any-graph-0.5.2... cabal: Missing dependency on a foreign library: * Missing C library: glut This problem can usually be solved by installing the system package that provides this library (you may need the "-dev" version). If the library is already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where it is. cabal: Error: some packages failed to install: hp2any-graph-0.5.2 failed during the configure step. The exception was: ExitFailure 1 Thanks in advance, Mark

On 8 November 2010 20:14, Mark Spezzano
Hi,
I get the following error when doing a 'cabal install hp2any-graph' (the profiling tool)
Does anyone know why? (I'm running Snow Leopard and I've tried using other flags suggested...but with no success). GLUT is already installed via MacPorts and via cabal.
In this case it needs the glut C library, and you may wish to use --extra-{include,lib}-dirs= to specify where MacPorts installs them. -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com

Hi Ivan, I don't think that these flags work with MacPorts--only with cabal. Mark On 08/11/2010, at 7:48 PM, Ivan Lazar Miljenovic wrote:
On 8 November 2010 20:14, Mark Spezzano
wrote: Hi,
I get the following error when doing a 'cabal install hp2any-graph' (the profiling tool)
Does anyone know why? (I'm running Snow Leopard and I've tried using other flags suggested...but with no success). GLUT is already installed via MacPorts and via cabal.
In this case it needs the glut C library, and you may wish to use --extra-{include,lib}-dirs= to specify where MacPorts installs them.
-- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com

On 8 November 2010 20:29, Mark Spezzano
Hi Ivan,
I don't think that these flags work with MacPorts--only with cabal.
Right: use them to tell Cabal where MacPorts installs libraries. I'm not sure how MacPorts does packaging, so you may require to install a -dev or development version of glut to get the relevant headers and library files. -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/8/10 04:52 , Ivan Lazar Miljenovic wrote:
I'm not sure how MacPorts does packaging, so you may require to install a -dev or development version of glut to get the relevant headers and library files.
MacPorts always builds from source, so always installs libraries with their development headers and libraries. A -devel package in MacPorts is usually the latest alpha/beta release of the corresponding non-devel package. - -- brandon s. allbery [linux,solaris,freebsd,perl] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkziAKkACgkQIn7hlCsL25VB4ACgr02BjAcI9m0Ju7jYzxE8W63V Er8AmgJ4FyO2SbGBBffyYRDeyOXdrUDw =gKN1 -----END PGP SIGNATURE-----
participants (3)
-
Brandon S Allbery KF8NH
-
Ivan Lazar Miljenovic
-
Mark Spezzano