#11243: python spkg build fails on Ubuntu 11.04
----------------------------+-----------------------------------------------
Reporter: pipedream | Owner: GeorgSWeber
Type: defect | Status: new
Priority: major | Milestone: sage-4.7.1
Component: build | Keywords:
Work_issues: | Upstream: None of the above - read trac
for reasoning.
Reviewer: David Kirkby | Author: Jan Groenewald
Merged: | Dependencies:
----------------------------+-----------------------------------------------
Comment(by drkirkby):
The '{{{lsb_release}}}' is not portable. It is certainly not a POSIX
command, and I have no idea if it will be found on all Linux
distributions.
{{{
drkirkby@hawk:~$ lsb_release -d
bash: lsb_release: command not found
}}}
You could perhaps change your test to:
{{{
if [ "x$UNAME" = xLinux ] && [ "x`lsb_release -d`" = "xDescription:
Ubuntu 11.04" ] ; then
}}}
but I've no idea if that will work on all Linux systems.
dave
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11243#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.