[MacPorts] #32759: reduce-algebra upgrade renamed reduce-3.8.0-r1535 - installs both csl and psl versions
MacPorts
noreply at macports.org
Wed Jan 4 19:45:58 PST 2012
#32759: reduce-algebra upgrade renamed reduce-3.8.0-r1535 - installs both csl and
psl versions
------------------------------------+---------------------------------------
Reporter: mark.brethen@… | Owner: snc@…
Type: update | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: reduce reduce-algebra
------------------------------------+---------------------------------------
Comment(by mark.brethen@…):
I traced the SDK failure to the Fox config script in .../trunk/csl/fox/:
{{{
*darwin*)
echo "#include <stdio.h>" > conftest.c
echo "int main() { printf(\"hello\"); return 0; }" >> conftest.c
# On the next line gcc will fail if the 10.6 SDK is not available, and in
# such cases it will moan about "no include path in which to search for
# stdio.h" and then that the built-in function printf has been implicitly
# declared in a way that is messed up. The result would look ugly for
something
# where the fail-safe response is just to avoid using it, and that is why
# I redirect stdout and stderr to /dev/null.
if test "x$with_lionSDK" != "xno" &&
gcc -isysroot /Developer/SDKs/MacOSX10.7.sdk -arch i386 -arch
x86_64 conftest.c -o conftest 1> /dev/null 2> /dev/null
then
{ $as_echo "$as_me:${as_lineno-$LINENO}: \"Macintosh x86_64 binaries
via 10.7\"" >&5
$as_echo "$as_me: \"Macintosh x86_64 binaries via 10.7\"" >&6;}
# enable_dependency_tracking="no"
archflags="-arch x86_64 "
else
if gcc -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch x86_64
conftest.c -o conftest 1> /dev/null 2> /dev/null
then
{ $as_echo "$as_me:${as_lineno-$LINENO}: \"Macintosh x86_64
binaries via 10.6\"" >&5
$as_echo "$as_me: \"Macintosh x86_64 binaries via 10.6\"" >&6;}
# enable_dependency_tracking="no"
archflags="-arch x86_64 "
else
#-- if gcc -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch ppc -arch
i386 -arch x86_64conftest.c -o conftest 1> /dev/null 2> /dev/null
#-- then
#-- AC_MSG_NOTICE("Macintosh fat binaries via 10.5")
#-- enable_dependency_tracking="no"
#-- archflags="-arch ppc -arch i386 -arch x86_64"
#-- else
#-- if gcc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch
i386 conftest.c -o conftest 1> /dev/null 2> /dev/null
#-- then
#-- AC_MSG_NOTICE("Macintosh fat binaries via 10.4u")
#-- enable_dependency_tracking="no"
#-- archflags="-arch ppc -arch i386"
#-- else
#-- AC_MSG_NOTICE("Macintosh fat binary creation seems
impossible")
#-- fi
#-- fi
as_fn_error $? "SDK not found - need at least the 10.6 version"
"$LINENO" 5
fi
fi
;;
}}}
Can someone explain to me why this works on lion but not on snow leopard?
--
Ticket URL: <https://trac.macports.org/ticket/32759#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list