#11280: check XCode version on MacOSX, and bail out if it is 4
-----------------------+----------------------------------------------------
Reporter: dimpase | Owner: GeorgSWeber
Type: defect | Status: new
Priority: blocker | Milestone: sage-4.7
Component: build | Keywords: XCode 4
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
-----------------------+----------------------------------------------------
Comment(by dimpase):
Replying to [comment:2 logix]:
> With XCode 2.4:
>
> {{{
> $ xcodebuild -version
> Component versions: DevToolsCore-757.0; DevToolsSupport-733.0
> }}}
> so in the patch $XCODE_VERS (and $XCODE_VERS_MAJOR) end up being empty.
A more reliable way to check for the version might be what Macports is
doing - essentially that's
>
> {{{
> $ defaults read /Developer/Applications/Xcode.app/Contents/version
CFBundleShortVersionString
> }}}
> which prints "2.4" for me.
One can, I suppose, just do
{{{
if [ $XCODE_VERS_MAJOR = "" ]; then
XCODE_VERS_MAJOR="2"
fi
}}}
OK, you can't build Sage with XCode 2, anyway, right?
So this also should be checked and the installation should exit, isn't it?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11280#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.