#7115: [with solution, needs patch and review] building cliquer (with
cliquer-1.2.p0.spkg) fails on 32bit OS X 10.4
-----------------------+----------------------------------------------------
Reporter: was | Owner: tbd
Type: defect | Status: needs_review
Priority: blocker | Milestone: sage-4.1.2
Component: build | Keywords:
Work_issues: | Author:
Reviewer: | Merged:
-----------------------+----------------------------------------------------
Changes (by kcrisman):
* status: new => needs_review
Comment:
This change to spkg-install works. I don't know how to make a patch on
something outside the main Sage tree, I'm sorry.
{{{
# Flags for building a dynamically linked shared object.
SAGESOFLAGS=" "
if [ `uname` = "Linux" ]; then
SAGESOFLAGS="-shared -Wl,-soname,libcliquer.so"
export SAGESOFLAGS
elif [ `uname` = "Darwin" ]; then
MACOSX_DEPLOYMENT_TARGET="10.3"
export MACOSX_DEPLOYMENT_TARGET
SAGESOFLAGS="-dynamiclib -single_module -flat_namespace -undefined
dynamic_lookup"
export SAGESOFLAGS
elif [ `uname` = "SunOS" ]; then
SAGESOFLAGS="-G -Bdynamic"
export SAGESOFLAGS
else
# We exit here, since we are possibly on an unsupported platform.
echo "Cannot determine your platform or it is not supported...
exiting"
exit 1
fi
}}}
The reason this never came up before is because only Python, of all the
spkgs, does anything like this (do a grep to see). And I guess it didn't
come up on cliquer before because of the use of Scons, whatever that is?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7115#comment:10>
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
-~----------~----~----~----~------~----~------~--~---