[MacPorts] #39086: cmake 2.8.10.2 with macosx_deployment_target 10.7 fails to configure
MacPorts
noreply at macports.org
Sat Sep 28 08:24:53 PDT 2013
#39086: cmake 2.8.10.2 with macosx_deployment_target 10.7 fails to configure
---------------------+----------------------
Reporter: help@… | Owner: css@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Resolution: | Keywords:
Port: cmake |
---------------------+----------------------
Comment (by ville.aakko@…):
Replying to [comment:9 css@…]:
> Can you check:
>
> * Do you have a `SDKROOT` environment variable?
No. Should I?
> * What is the output from `xcode-select -print-path`?
If you read my previous comment, you'll notice it prints:
{{{
$ sudo xcode-select --print-path
/Applications/Xcode.app/Contents/Developer
}}}
Just a hunch, but I can't seem to be able to run xcode-select as non-root:
{{{
xcode-select --print-path
xcode-select: Error: Incorrect permissions for data file at '/usr/share
/xcode-select/xcode_dir_link'. Run xcode-select -switch
<xcode_folder_path> to reset the path to the Xcode folder.
}}}
Should I be able to? How are build systems (and, macports) supposed to
find this directory without root priviledges? I have set MacPorts to run
as a non-root (I have commented out macportsuser in macports.conf). Maybe
this is causing problems... only a guess though. Can you (for who this is
working correctly) run xcode-select --print-path as non-root? As what user
have you set macports to run (as root or non-root)?
--
Ticket URL: <https://trac.macports.org/ticket/39086#comment:10>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list