[ANNOUNCE] GHC 9.6.1-alpha3 is now available

George Colpitts george.colpitts at gmail.com
Wed Feb 15 17:51:22 UTC 2023


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/glasgow-haskell-users/attachments/20230215/6906d511/attachment.html>


More information about the Glasgow-haskell-users mailing list