[ANNOUNCE] GHC 9.6.1-alpha3 is now available

George Colpitts george.colpitts at gmail.com
Thu Feb 16 16:42:16 UTC 2023


reported as https://gitlab.haskell.org/ghc/ghc/-/issues/22993

Thanks & Regards
George

On Wed, Feb 15, 2023 at 2:04 PM George Colpitts <george.colpitts at gmail.com>
wrote:

> It seems wrong to me that the configure file references Xcode.app and
> MacOSX12.1:
>
> bash-3.2$ fgrep Xcode.app configure
>
> FFIIncludeDir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/ffi
>
> FFILibDir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib
>
>
> On Wed, Feb 15, 2023 at 1:51 PM George Colpitts <george.colpitts at gmail.com>
> wrote:
>
>>
>> Hi Ben
>>
>> Thanks for replying.
>>
>> As I mentioned in my original email I'm on Ventura,13.2.1, I just
>> upgraded to that before installing alpha3.
>>
>> I have command line tools. I did the following to reinstall them and got
>> the same results stated in my email:
>>
>>  sudo rm -rf /Library/Developer/CommandLineTools
>> Password:
>> bash-3.2$ xcode-select --install
>> xcode-select: note: install requested for command line developer tools
>>
>>
>> Looking more carefully at the error message:
>>
>> checking Xcode version... xcode-select: error: tool 'xcodebuild' requires
>> > Xcode, but active developer directory '/Library/Developer/CommandLin
>> eTools'
>> > is a command line tools instance
>> > not found (too old?)
>>
>> It seems to be saying that I need Xcode not command line tools. That's
>> also consistent with the linker warning message:
>>
>> ld: warning: directory not found for option '-L/Applications/*Xcode.app*
>> /Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib'
>>
>>
>> There is no urgency on my part to get this resolved. We may want to just
>> wait to see if anybody else on 13.2.1 got this also.
>>
>> Thanks
>> George
>>
>>
>> On Wed, Feb 15, 2023 at 1:20 PM Ben Gamari <ben at well-typed.com> wrote:
>>
>>> George Colpitts <george.colpitts at gmail.com> writes:
>>>
>>> > Hi
>>> >
>>> > I get a strange warning on MacOS when I do ./configure:
>>> >
>>> > checking Xcode version... xcode-select: error: tool 'xcodebuild'
>>> requires
>>> > Xcode, but active developer directory
>>> '/Library/Developer/CommandLineTools'
>>> > is a command line tools instance
>>> > not found (too old?)
>>> >
>>> >
>>> > I also get a related strange warning when I do a compile:
>>> >
>>> > ghc hello.hs
>>> > [1 of 2] Compiling Main             ( hello.hs, hello.o ) [Missing
>>> object
>>> > file]
>>> > [2 of 2] Linking hello [Objects changed]
>>> > ld: warning: directory not found for option
>>> >
>>> '-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib'
>>> >
>>> Hmm, that is indeed odd. It sounds like you Xcode installation may be
>>> broken. Did you upgrade your operating system recently? Do you have
>>> Xcode, the CLT package, or both installed?
>>>
>>> Cheers,
>>>
>>> - Ben
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20230216/ac66e6f3/attachment.html>


More information about the ghc-devs mailing list