OSX v10.13.6 Unable to determine location of a macOS SDK.

Added by Eric P 8 months ago

After installing MacPorts and XQuartz on macOS v10.13.6, I ran the command line
sudo port install auto-multiple-choice
and received
Computing dependencies for auto-multiple-choiceError: Unable to determine location of a macOS SDK.
Error: Unable to execute port: can't read "configure.sdkroot": Unable to determine location of a macOS SDK.
Thanks


Replies (10)

RE: OSX v10.13.6 Unable to determine location of a macOS SDK. - Added by Joël Brogniart 8 months ago

Did you install Xcode as indicated in the Macport installation documentation (https://www.macports.org/install.php)?

RE: OSX v10.13.6 Unable to determine location of a macOS SDK. - Added by Eric P 8 months ago

I thought it was installed, so I omitted it. My bad.
Looks like the installation went fine.
But in Terminal, when I run the command

auto-multiple-choice

I get
-bash: auto-multiple-choice: command not found.

Is there an extra step needed after the command
sudo port install auto-multiple-choice

P.S.: I don't use MacTeX.

RE: OSX v10.13.6 Unable to determine location of a macOS SDK. - Added by Joël Brogniart 8 months ago

Did you install needed fonts? Installation instructions are available in the wiki at Installing AMC on macOS.

RE: OSX v10.13.6 Unable to determine location of a macOS SDK. - Added by Eric P 8 months ago

Yes, I installed Linux Libertine font.
Not DejaVu font family or IPAexMincho and IPAexGothic fonts because I don't need Japanese.

RE: OSX v10.13.6 Unable to determine location of a macOS SDK. - Added by Joël Brogniart 8 months ago

The installation generate documentation in different languages and won't work if these fonts are not installed.

RE: OSX v10.13.6 Unable to determine location of a macOS SDK. - Added by Eric P 8 months ago

Thanks Joël
I have installed these fonts, but the same issue persists.

-bash: auto-multiple-choice: command not found

RE: OSX v10.13.6 Unable to determine location of a macOS SDK. - Added by Joël Brogniart 8 months ago

As the last installation of AMC failed, you have to try a new installation.

First some cleaning.

sudo port clean -f --ALL auto-multiple-choice

Then try again AMC installation

sudo port install auto-multiple-choice.

If the installation succeed, the command auto-multiple-choice should work.

RE: OSX v10.13.6 Unable to determine location of a macOS SDK. - Added by Eric P 8 months ago

Thanks Joël
But I get

sudo port clean -f --ALL auto-multiple-choice
Password:
Error: clean does not accept --ALL

RE: OSX v10.13.6 Unable to determine location of a macOS SDK. - Added by Joël Brogniart 8 months ago

Perhaps the option should be in lowercase.

sudo port clean -f --all auto-multiple-choice

RE: OSX v10.13.6 Unable to determine location of a macOS SDK. - Added by Eric P 8 months ago

Perfect.
It works now.
Thank you again Joël.

(1-10/10)