Stephen Tetley wrote:
> Possibly you need to supply extra-include-dirs (and extra-lib-dirs) to cabal.

I tried --extra-include-dirs=/usr/include (the directory where the real
Block.h resides) and there was no change.  Adding the -v flag showed
cabal trying to build with this line: 

/usr/bin/ghc -Iportmidi/pm_common -Iportmidi/pm_mac -Iportmidi/porttime 
-I/usr/include -package base-3.0.3.1 -optc-msse2 -optc-O2 -odir dist/build -c 
portmidi/pm_mac/pmmacosxcm.c

Since it still picked up the GHC Block.h instead of
/usr/include/Block.h, it seems as though ghc searches its own headers
before those specified with -I.  I suspect if I had a way to change
that, it would work.

-- 
Brian

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to