[Haskell-beginners] ghc: unrecognised flags: -I
Lyndon Maydwell
maydwell at gmail.com
Tue Jan 26 07:35:13 EST 2010
I found the issue, and I think it may point to a bug in the cabal
configuration.
I had:
extra-include-dirs:
-- /opt/local/include
In my ~/.cabal/config, and as far as I could tell it was prefixing the
empty list of include paths with -I. It should probably omit the empty
list entirely. I had a quick look in the cabal configuration source,
but I think I'm out of my depth where that is concerned.
Anyway, issue resolved for me :-)
On Wed, Jan 6, 2010 at 8:22 PM, Lyndon Maydwell <maydwell at gmail.com> wrote:
> Indeed, it's a capital "I" for Include.
>
> On Wed, Jan 6, 2010 at 8:15 PM, Chaddaï Fouché <chaddai.fouche at gmail.com> wrote:
>> On Wed, Jan 6, 2010 at 3:19 AM, Lyndon Maydwell <maydwell at gmail.com> wrote:
>>> Hi list.
>>>
>>> I'm trying to cabal install a few different packages and keep getting
>>> this error:
>>>
>>> ghc: unrecognised flags: -I
>>
>> Keep in mind that in many font a capitalized i looks uncomfortably
>> like a small L.
>>
>> --
>> Jedaï
>>
>
More information about the Beginners
mailing list